Cacodemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Segfaults, demos and r1114
 
Author
All times are GMT. The time now is 08:50. Post New Thread    Post A Reply
Siggi
Member


Posts: 388
Registered: 10-04


If you load up Alien Vendetta and let the first demo play, Eternity will segfault after a while. The crash occurs shortly after the second player gets killed.

Some gdb output...
code:
siggi@wedge:~/eternity/trunk/source$ ETERNITYBASE='~/.eternity/base' gdb --args ./eternity -file ~/wads/av.wad GNU gdb (GDB) 7.0-ubuntu Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/siggi/eternity/trunk/source/eternity...done. (gdb) start Temporary breakpoint 1 at 0x4b59d0: file i_main.c, line 71. Starting program: /home/siggi/eternity/trunk/source/eternity -file /home/siggi/wads/av.wad [Thread debugging using libthread_db enabled] Temporary breakpoint 1, main (argc=3, argv=0x7fffffffe278) at i_main.c:71 71 { (gdb) continue Continuing. The Eternity Engine Copyright 2010 James Haley and Stephen McGranahan http://www.doomworld.com/eternity This program is free software distributed under the terms of the GNU General Public License. See the file "COPYING" for full details. Commercial sale or distribution of this product without its license, source code, and copyright notices is an infringement of US and international copyright laws. Base path set by environment. M_LoadSysConfig: Loading base/system.cfg IWAD found: /home/siggi/wads/doom2.wad DOOM II version Built on Apr 12 2010 at 22:26:06 M_LoadDefaults: Load system defaults. W_Init: Init WADfiles. adding /home/siggi/.eternity/base/doom/eternity.wad adding /home/siggi/wads/doom2.wad adding /home/siggi/wads/av.wad E_ProcessEDF: Loading root file /home/siggi/.eternity/base/root.edf V_InitMisc: Init miscellaneous video patches. C_Init: Init console. I_Init: Setting up machine state. [New Thread 0x7fffedf75910 (LWP 328)] [Thread 0x7fffedf75910 (LWP 328) exited] [New Thread 0x7fffedf75910 (LWP 329)] [New Thread 0x7fffed774910 (LWP 330)] I_InitSound: Configured audio device with 2048 samples/slice. I_InitMusic: Using SDL_mixer. D_SetGraphicsMode: Set graphics mode Program received signal SIGSEGV, Segmentation fault. 0x00000000004325dc in G_CheckSpot (playernum=496, mthing=<value optimized out>) at g_game.c:2442 2442 mo = P_SpawnMobj(x + 20*finecosine[an], (gdb)

Old Post 04-17-10 16:47 #
Siggi is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6037
Registered: 08-00



Siggi said:

Program received signal SIGSEGV, Segmentation fault.
0x00000000004325dc in G_CheckSpot (playernum=496, mthing=<value optimized out>) at g_game.c:2442
2442 mo = P_SpawnMobj(x + 20*finecosine[an],
(gdb)
[/code]


Thanks that's all I need. This is the "ninja spawn" phenomenon, caused by an out-of-range access to the finecosine/finesine tables. This has never caused a crash in any version so far, but I guess 64-bit is different :)

We'll have to fix this finally :P I wasn't even aware of the problem until last week :>

Old Post 04-17-10 18:25 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Siggi
Member


Posts: 388
Registered: 10-04


Just in case my response on irc was missed.
As of r1116, this crash no longer occurs. :)

Old Post 04-19-10 13:30 #
Siggi is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 08:50. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Segfaults, demos and r1114

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.