zpack crash in e1m9

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

zpack crash in e1m9

Post by GuntherDW »

i haven't included a revision number, because this bug has been in gzdoom for as long as i can remember, but i haven't filed it yet :)

in e1m9 (Termination), in the last battle room,
if you jump over the hedge in the middle and stand on the architecture when the terminator fires its machinegun at you, gzdoom crashes, but doesn't generate a zdoom-crash log

so i decided to add -ggdb again to the C_FLAGS and run it through gdb,
this is what i got when it crashed again

[spoiler]

Code: Select all

+e1m9 - Termination

J]notarget 
notarget ON
J]god
Degreelessness Mode ON
J]give all
HCompletions for sv_inf:
sv_infiniteammo        sv_infiniteinventory   
J]sv_infiniteammo 1
HCompletions for sv_inf:
sv_infiniteammo        sv_infiniteinventory   
HCompletions for sv_fas:
sv_fastmonsters   sv_fastweapons    
J]sv_fastweapons 2
HCompletions for auto:
autoaim         autosavecount   autosavenum     
HCompletions for autos:
autosavecount   autosavenum     
J]autosavecount 
"autosavecount" is "4"
Supercharge!
game saved. (/home/guntherdw/.gzdoom/auto0.zds)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f97dcb837a0 (LWP 1970)]
0x00000000005e608f in SpawnDeepSplash (t1=0x1eb6a80, trace=@0x7fffe4bcd290, puff=0x46aeb20, vx=-62856, vy=12154, vz=13917, shootz=-180879360) at /GuntherDW/src/svn/gzdoom/src/p_map.cpp:4809
4809		den = TMulScale16 (plane->a, vx, plane->b, vy, plane->c, vz);
(gdb) bt full
#0  0x00000000005e608f in SpawnDeepSplash (t1=0x1eb6a80, trace=@0x7fffe4bcd290, puff=0x46aeb20, vx=-62856, vy=12154, vz=13917, shootz=-180879360) at /GuntherDW/src/svn/gzdoom/src/p_map.cpp:4809
	num = 3
	den = 19796800
	hitdist = 0
	plane = (const secplane_t *) 0xf0a81f8b0070526d
#1  0x00000000005ec562 in P_LineAttack (t1=0x1eb6a80, angle=3846, distance=134217728, pitch=7912, damage=12, damageType=
        {Index = -457387040, static NameData = {Blocks = 0x12e3c50, NameArray = 0x1207450, NumNames = 3280, MaxNames = 3397, Buckets = {3212, 2956, 20, 2988, 1822, 1726, 1187, 2272, 3201, 2853, 2609, 2405, 2138, 2253, 2946, 1328, 3151, 3279, 2591, 1326, 3214, 2300, 2830, 2738, 2707, 3022, 1708, 3052, 2354, 1877, 3039, -1, 2758, 2920, 2826, 1373, 2857, 2046, 3165, 3268, 3034, -1, 2851, 2660, 3036, 3180, -1, 49, 1000, 1319, 699, 1524, 2389, 2436, 1765, 3130, 2836, 1914, 3071, 3060, 3135, 3057, 1593, 3064, 2931, 2478, 2747, 3012, 3103, 3169, 2261, 1094, 2632, 1481, 3095, 2844, 3026, 3058, 2476, 286, 1262, 731, 1644, 1522, 3224, 3203, 2316, 2, 1835, 3192, 2468, 3220, 2978, 2766, 3065, 1721, 2434, 3164, 2714, 2987, 2524, 2964, 2420, 1162, 2521, 3215, 2376, 3018, 2576, 3187, 2319, -1, 2561, 3230, 3191, 2965, 2372, 1376, 1916, 3011, 2301, 2803, 1964, 2784, 2722, 1943, 2582, 3080, 3275, 1237, 3122, 3256, 2651, 2580, 1330, 1056, 2881, 1810, 2342, 2948, 72, 3029, 2687, 2823, 1640, 3276, 3101, 3043, 2457, 2308, 2491, 2395, 767, 2760, 2416, 2702, 1380, 2735, 2663, 1997, 2954, 2534, 3259, 2583, 3016, 962, 1444, 3035, 2056, 3137, 2605, 2413, 2178, 866, 3087, 1860, 2630, 2716, 2989, 3246, 2953, 1603, 2929, 2620, -1, 2871, 3264, 3153, 1214, 1823, -1, 3015, 2600, 2158, 3176, 2011, -1, 715, 2393, 1915...}, Inited = true}}, pufftype=0x10ab880, ismeleeattack=false) at /GuntherDW/src/svn/gzdoom/src/p_map.cpp:3044
	hitx = 0
	hity = 0
	hitz = 0
	vx = -62856
	vy = 12154
	vz = 13917
	shootz = -180879360
	trace = {Sector = 0x2c88150, X = 699053565, Y = -34312699, Z = -176742097, Distance = 19482624, Fraction = 9513, Actor = 0x0, Line = 0x2f12150, Side = 0 '\0', Tier = 0 '\0', HitType = TRACE_HitWall, CrossedWater = 0x7fffe4bcce40, ffloor = 0x0}
	srcangle = 2016675744
	srcpitch = -146306700
	hitGhosts = false
	killPuff = false
	puff = (class AActor *) 0x46aeb20
	flags = 0
#2  0x00000000007effa8 in AFP_A_CustomBulletAttack (self=0x1eb6a80, CallingState=0x1094d50, ParameterIndex=2055, statecall=0x0) at /GuntherDW/src/svn/gzdoom/src/thingdef/thingdef_codeptr.cpp:816
	angle = 2016675744
	slope = -146306700
	damage = 12
	Spread_XY = 178956976
	Spread_Z = 95443720
	NumBullets = 2
	DamagePerBullet = 4
	pufftype = (const PClass *) 0x10ab880
	Range = 134217728
	AimFacing = false
	i = 1
	bangle = -2137231360
	bslope = -165769728
#3  0x0000000000603970 in FState::CallAction (this=0x1094d50, self=0x1eb6a80, statecall=0x0) at /GuntherDW/src/svn/gzdoom/src/./info.h:144
No locals.
#4  0x00000000005fb963 in AActor::SetState (this=0x1eb6a80, newstate=0x1094d50) at /GuntherDW/src/svn/gzdoom/src/p_mobj.cpp:524
	prevsprite = 847
	newsprite = 847
#5  0x0000000000601931 in AActor::Tick (this=0x1eb6a80) at /GuntherDW/src/svn/gzdoom/src/p_mobj.cpp:3022
	onmo = (AActor *) 0x7fffe4bcd510
	i = 0
	HexenScrollDirs = "@\000À\200` à "
	HexenSpeedMuls = "\005\n\031"
	HexenScrollies = {"\000\001", "\000\002", "\000\004", "ÿ", "þ", "ü", "\000ÿ", "\000þ", "\000ü", "\001", "\002", "\004", "\001\001", "\002\002", "\004\004", "ÿ\001", "þ\002", "ü\004", "ÿÿ", "þþ", "üü", "\001ÿ", "\002þ", "\004ü"}
	HereticScrollDirs = "\006\t\001\004"
	HereticSpeedMuls = "\005\n\031\036#"
	__PRETTY_FUNCTION__ = "virtual void AActor::Tick()"
	copyplane = {a = 0, b = 0, c = 0, d = 0, ic = 0}
#6  0x000000000055dc68 in DThinker::TickThinkers (list=0xb62138, dest=0x0) at /GuntherDW/src/svn/gzdoom/src/dthinker.cpp:465
	count = 770
	node = (DThinker *) 0x1eb6a80
#7  0x000000000055dce7 in DThinker::RunThinkers () at /GuntherDW/src/svn/gzdoom/src/dthinker.cpp:418
	i = 127
	count = 0
#8  0x0000000000627f55 in P_Ticker () at /GuntherDW/src/svn/gzdoom/src/p_tick.cpp:126
	i = 8
#9  0x000000000056cdca in G_Ticker () at /GuntherDW/src/svn/gzdoom/src/g_game.cpp:1015
	i = 8
	oldgamestate = GS_LEVEL
	buf = 31
	rngsum = 2537919885
	toggle_fullscreen = "toggle fullscreen"
#10 0x000000000054e57d in TryRunTics () at /GuntherDW/src/svn/gzdoom/src/d_net.cpp:1845
	i = 1
	lowtic = 5756
	realtics = 1
	availabletics = 1
	counts = 0
	numplaying = 1
	doWait = false
#11 0x0000000000547333 in D_DoomLoop () at /GuntherDW/src/svn/gzdoom/src/d_main.cpp:838
	lasttic = 5755
#12 0x00000000005487e1 in D_DoomMain () at /GuntherDW/src/svn/gzdoom/src/d_main.cpp:2636
	p = 0
	flags = 0
	v = 0x0
	wad = 0x0
	execFiles = (class DArgs *) 0xc9a830
	iwad_info = (const IWADInfo *) 0x84deb8
	files = (class DArgs *) 0x19722f0
	files1 = (class DArgs *) 0xcd5e90
	files2 = (class DArgs *) 0xcd5ed0
	files3 = (class DArgs *) 0xcd5f10
	val = 0x0
	bots = (class DArgs *) 0x12e7640
	startupString = {0x84e008 "STARTUP1", 0x84e011 "STARTUP2", 0x84e01a "STARTUP3", 0x84e023 "STARTUP4", 0x84e02c "STARTUP5"}
	one_hundred = "100"
#13 0x00000000005178de in main (argc=5, argv=0x7fffe4bcea38) at /GuntherDW/src/svn/gzdoom/src/sdl/i_main.cpp:269
	s = {11, 4, 8, 7}
	program = "/GuntherDW/src/svn/gzdoom/buildit/\000zdoom", '\0' <repeats 2184 times>, "Èæ¼äÿ\177\000\000 â¼äÿ\177\000\000\000\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\020ç¼äÿ\177\000\000u|éÔ3\000\000\000 â¼äÿ\177\000\000 ç¼äÿ\177\000\000ÿÿÿÿ\000\000\000\000\0062¥Ì3\000\000\0008", '\0' <repeats 255 times>, "d\000\000\000\000\000\000\000ó0¥Ì3", '\0' <repeats 27 times>, "ÿÿÿÿ", '\0' <repeats 44 times>, "Ñ\211 Ë3", '\0' <repeats 11 times>, "èh¸Ü\227\177\000"...
	slash = 0x7fffe4bcd941 "/"
	error = (CDoomError &) @0x0: <error reading variable>
(gdb) trace
trace command requires an argument
(gdb) trace full
Function "full" not defined.
(gdb) q
The program is running.  Exit anyway? (y or n) y
[/spoiler]

this is with nothing loaded but doom2.wad and zpack.pk3

edit: zdoom doesn't crash on this part
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Duplicate. I already fixed this some revisions ago.
Locked

Return to “Closed Bugs”