Sauerworld Forum

Sauerbraten Content => Other => Topic started by: alebrije on December 09, 2015, 05:54:13 PM

Title: Sauerbraten Segmentation fault
Post by: alebrije on December 09, 2015, 05:54:13 PM
Well, this happen to me when i play a Bot Match: effic ctf on map capture_night. Maybe with another maps and mod is the same, i dont know.

I thought it was some bug on my client but then i tested on the vanilla client and was the same bug.

this is the exit on the terminal (linux):
Code: [Select]
alebrije@mint-pc ~/sauerbraten $ ./sauerbraten_unix -g"consola.txt"
Using home directory: /home/alebrije/.sauerbraten/
Setting log file: consola.txt
ViolaciĆ³n de segmento

And the log file is attachment.

1. SO: Linux Mint DE 64-bits Cinnamon (201503)
2. Renderer: Gallium 0.4 on AMD ARUBA (X.Org)
   Driver: 3.0 Mesa 10.3.2
3. Sauerbraten Collect Edition
4. backtrace in the link (pastebin)
5. Description of the problem is in the begining of the threat.

But i haved got the same bug on Ubuntu and OpenSuse.

i compiled sauerbraten whit the option -g3.
And the exit using gdb: http://pastebin.com/J2PrbQ1p

Preview:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x000000000064d520 in ai::closestwaypoint (pos=..., mindist=mindist@entry=64,
    links=links@entry=true, d=d@entry=0x0) at fpsgame/waypoint.cpp:235
235                 CHECKCLOSEST(curnode->childindex(0));
(gdb) bt
#0  0x000000000064d520 in ai::closestwaypoint (pos=...,
    mindist=mindist@entry=64, links=links@entry=true, d=d@entry=0x0)
    at fpsgame/waypoint.cpp:235
#1  0x00000000005f4adb in ai::makeroute (d=0x6342720, b=..., pos=...,
    changed=<optimized out>, retries=0) at fpsgame/ai.cpp:242
#2  0x0000000000616545 in game::ctfclientmode::aihomerun (
    this=0x9753e0 <game::ctfmode>, d=0x6342720, b=...) at fpsgame/ctf.h:1006
#3  0x00000000005fd465 in check (b=..., d=0x6342720) at fpsgame/ai.cpp:635
#4  dointerest (b=..., d=0x6342720) at fpsgame/ai.cpp:689
#5  ai::think (d=0x6342720, run=true) at fpsgame/ai.cpp:1306
#6  0x00000000005fd646 in ai::update () at fpsgame/ai.cpp:202
#7  0x000000000061c661 in game::updateworld () at fpsgame/fps.cpp:246
#8  0x000000000040daf5 in main (argc=<optimized out>, argv=<optimized out>)
    at engine/main.cpp:1238
(gdb)
Title: Re: Sauerbraten Segmentation fault
Post by: Alu on December 11, 2015, 03:03:05 AM
no se suponia que esa cosa de renderisado, mesa, daba fps bajos?
Title: Re: Sauerbraten Segmentation fault
Post by: Fohlen on December 19, 2015, 02:56:38 PM
This bug has, anciently, been reported in Inexor as well.
I've reopened a ticket, but none of us was able to reproduce the bug
You can find an issue right here, https://github.com/inexor-game/code/issues/251

Since current Inexor  and Alpha 0.5 (which rolls out in January) bring a stackwalker (a tool to report the exact crash cause), you could give detailed information on the problem, in case it still occurs.

Greetz, Fohlen