Welcome to the Builder Academy

Question Segmentation fault

More
03 Apr 2013 23:51 #1778 by Rumble
Replied by Rumble on topic Segmentation fault
We talked about this on TBA. But maybe someone else can give a more definitive answer. JTP is using cygwin so I think the shutdown command doesn't work properly on Windows. I don't think it is a bug, just Cygwins inability to emulate Unix on Windows.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

More
04 Apr 2013 05:41 #1781 by JTP
Replied by JTP on topic Segmentation fault
The shutdown might be because i use cygwin, but the same thing GDB says i also get online in syslog when someone uses whirlwind

Please Log in or Create an account to join the conversation.

More
05 Apr 2013 18:54 #1803 by JTP
Replied by JTP on topic NEW INFO - Segmentation fault
Oh aparently i ended gdb wrong, not qhen i quit it right i get the following message about there the problem is:

0x004e21ae in next_in_list (pIterator=0x6105d0) at lists.c:196
196 pContent = pIterator->pItem ? pIterator->pItem->pContent : NULL;

what does this mean ??

Please Log in or Create an account to join the conversation.

More
05 Apr 2013 19:48 #1804 by DirtyDevil
Replied by DirtyDevil on topic Segmentation fault
I have same issues with a stock tba 3.64 have tried same using stock tba 3.63 with no issues

I started looking at the clean up code in comm.c that runs after the main game loop. (lines 359 to 385)
Added a log("xxx"); before and after each of the free_xxx to try and figure out which one was causing the segmentation error and I could not re-create the error.

Removed the added code and error is back. Started commenting out each of the lines and again crash vanishes.

Just added curly brackets on the if statement on line 379 and also the crash has gone

Please Log in or Create an account to join the conversation.

More
06 Apr 2013 03:43 #1815 by Vatiken
Replied by Vatiken on topic Segmentation fault
Operating System?
Current Revision?
MUD Client?
GDB Output?

I tried to duplicate the color issue, the crashing issue, and the group issue with no success so I'll need some more info if I'm going to contribute to a solution.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
06 Apr 2013 07:48 #1816 by JTP
Replied by JTP on topic Segmentation fault
My GDB Says:
WARNING: Attempting to merge iterator to empty list.
WARNING: Attempting to remove irerator from NULL list.
WARNING: Attempting to remove contents that don't exist in list

Im on Windows
Tbamud 3.64
Using Gmud

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds