Bug 5833 - Segmentation faults during gameplay
Status: NEW
Alias: None
Product: Dungeon Defenders
Classification: Unclassified
Component: everything
Version: unspecified
Hardware: PC Linux
: P1 critical
Assignee: Ryan C. Gordon
QA Contact:
URL:
: 5859
Depends on:
Blocks:
 
Reported: 2012-12-21 13:51 EST by Roelof Spijker
Modified: 2013-12-02 06:39:13 EST
8 users (show)

See Also:



Description Roelof Spijker 2012-12-21 13:51:05 EST
I get segmentation faults during gameplay. They seem to be fairly random, that is, they always happen during a mission and I have never gotten past the build phase for the second wave of the first mission. They don't always happen at the exact same place or time or anything like that though. It seems to be an issue in the driver, although I am not familiar enough with the subject matter to be certain. I updated the nvidia driver to the latest version available in the Debian Sid repos, the problem is the same as with the older version.

Starting program: ~/DungeonDefenders/UDKGame/Binaries/DungeonDefenders-x86
<SNIP>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf418ab70 (LWP 19662)]
0xf70a0a60 in ?? () from /usr/lib/i386-linux-gnu/libnvidia-glcore.so.304.64
(gdb) bt
#0  0xf70a0a60 in ?? () from /usr/lib/i386-linux-gnu/libnvidia-glcore.so.304.64
Cannot access memory at address 0xbc2429d8

If any additional info is required, please let me know.
Comment 1 Jógvan Olsen 2012-12-22 11:47:08 EST
This is also happening to me. I run Linux Mint 14 64bit
I get this error when trying to launch it

jeggy@jeggy-mint /opt/dungeondefenders/UDKGame/Binaries $ ./DungeonDefenders-x86
Segmentation fault (core dumped)

I tried running this command "MESA_GLSL=dump ./DungeonDefenders-x86" and i got this long here, but still didn't work
http://paste.ubuntu.com/1457339/
Comment 2 Roelof Spijker 2012-12-22 13:14:47 EST
(In reply to comment #1)
> This is also happening to me. I run Linux Mint 14 64bit
> I get this error when trying to launch it
> 
> jeggy@jeggy-mint /opt/dungeondefenders/UDKGame/Binaries $
> ./DungeonDefenders-x86
> Segmentation fault (core dumped)
> 
> I tried running this command "MESA_GLSL=dump ./DungeonDefenders-x86" and i got
> this long here, but still didn't work
> http://paste.ubuntu.com/1457339/

That's a different problem though. It looks as if your hardware doesn't support GL_EXT_bindable_uniform, that should be filed under bug 5823 (https://bugzilla.icculus.org/show_bug.cgi?id=5823) which it appears you have already done. It appears very different from this bug though. If your hardware doesn't support that extension, then you are out of luck for the time being.
Comment 3 David Curry 2012-12-23 09:21:41 EST
I'm running into the same problem. I'm running Ubuntu 12.04 with the nvidia-experimental-310 driver installed. 

In the first mission I had the game segfault when I hit shift and control at the same time (Also had post-processing turned on). Tried turning post-processing off and being more careful with my button pressing. I was able to get through the second mission with no errors, but now the third mission segfaults at random points. Managed to make it up to wave 5 once. 

It's happened when hitting shift, rotating the camera, and even at one point while I was just walking. And just in case it matters, I've been playing as Series EV, all missions on Medium with Hardcore turned on. Local only so far.
Comment 4 John Brown 2012-12-24 11:27:08 EST
I've got the same problem.  Debia squeeze, amd-x64, nvidia drivers 310.19.  Sometimes the crash happens after a minute, sometimes it takes about 20 minutes.
Comment 5 Roelof Spijker 2013-01-15 16:03:44 EST
Is there any progress being made at all here? It's been nearly a month and I don't see anything happening for this or any of the other serious issues reported. It would be nice to at least have some idea of what is going on, is anybody even working on fixing these issues? Is there something I could be doing myself perhaps?
Comment 6 sphenik 2013-01-15 19:35:10 EST
(In reply to comment #5)
> Is there any progress being made at all here? It's been nearly a month and I
> don't see anything happening for this or any of the other serious issues
> reported. It would be nice to at least have some idea of what is going on, is
> anybody even working on fixing these issues? Is there something I could be
> doing myself perhaps?

what characters are you using? for me, using the Series EV in any way causes random crashes (described in Bug 5847) and the backtrace I get is very similar.
Comment 7 Roelof Spijker 2013-01-16 03:01:22 EST
(In reply to comment #6)
> what characters are you using? for me, using the Series EV in any way causes
> random crashes (described in Bug 5847) and the backtrace I get is very similar.

Happens for me with Apprentice as well, I'll try with the squire a little later today.
Comment 8 Roelof Spijker 2013-01-24 14:17:16 EST
(In reply to comment #7)
> (In reply to comment #6)
> > what characters are you using? for me, using the Series EV in any way causes
> > random crashes (described in Bug 5847) and the backtrace I get is very similar.
> 
> Happens for me with Apprentice as well, I'll try with the squire a little later
> today.

Sorry for the delay, was a bit busy and then the site was down. Tried with squire as well, got through the first level, but still a segfault in the second. It doesn't look like this problem is class-specific.
Comment 9 Tribaal 2013-04-03 03:31:24 EDT
*** Bug 5859 has been marked as a duplicate of this bug. ***
Comment 10 Jason 2013-08-21 10:07:56 EDT
Is there some additional data we can provide to assist here, some debugger we can run on it or anything? Just tell me what to do.

All it ever says in the console is...
Game update: AppID 65800 "Dungeon Defenders", ProcID 4295, IP ***.***.***.***:50652
Segmentation fault
Game removed: AppID 65800 "Dungeon Defenders", ProcID 4295

This doesn't seem to be tied to any particular hero class as others have suggested (as far as I can tell).
It is however, much more frequent in higher level games. A nightmare match is almost guaranteed to end in a segfault at some random time.
If I host a crystalline dimension game on any difficulty, it will segfault at some random time before the last map. Sometimes right away, sometimes it will let us get three maps into it. If I join such a game, I will still crash. The only way I was able to complete it was to join a game just before the other players began the final boss fight.
Comment 11 leoawalker 2013-12-01 22:57:28 EST
same problem......
Comment 12 spam 2013-12-02 06:39:13 EST
Same here:

Game update: AppID 65800 "Dungeon Defenders", ProcID 32357, IP ***.***.***.***:61119
Segmentation fault
Game removed: AppID 65800 "Dungeon Defenders", ProcID 32357