3 crashes in 2 weeks

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 11 months ago #6396 by JTP
3 crashes in 2 weeks was created by JTP
Hi

Ok 3 crash in 2 weeks and the backtrace shows the same all 3 times. But why only that 1 line, nothing usefull. Ideas/thoughts/help to see more info. And what does that 1 line mean.
Would so much like to get rid of it, so it doesnt crash again.

Also attaching file crash it also looks kinda Strange.
Attachments:

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

More
1 year 10 months ago #6397 by thomas
Replied by thomas on topic 3 crashes in 2 weeks
Try adding this in autorun.sh:
-  bin/circle $FLAGS $PORT >> syslog 2>&1
+  LIBC_FATAL_STDERR_=1 bin/circle $FLAGS $PORT >> syslog 2>&1

This should make libc (which is axing your mud for some reason) log to standard error, so it gets to the logs.

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

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 10 months ago #6398 by JTP
Replied by JTP on topic 3 crashes in 2 weeks
Prior older crashes has written stuff like fight.c:321

Its just that kernel vsyscall that is very sparce with info :(

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

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 10 months ago - 1 year 10 months ago #6482 by JTP
Replied by JTP on topic 3 crashes in 2 weeks
It happened Again, qdb bin/circle lib/core:

Program terminated with signal 6, Aborted.
#0 0x006ac402 in __kernel_vsyscall ()
(gdb) bt
#0 0x006ac402 in __kernel_vsyscall ()
#1 0x002e1b10 in raise () from /lib/libc.so.6
#2 0x002e3421 in abort () from /lib/libc.so.6
#3 0x0031a67b in __libc_message () from /lib/libc.so.6
#4 0x00322a15 in _int_free () from /lib/libc.so.6
#5 0x00326a89 in free () from /lib/libc.so.6
#6 0x080aad21 in close_socket (d=0x93699f8) at comm.c:2213
#7 0x080ae98f in game_loop (local_mother_desc=3) at comm.c:901
#8 0x080afe37 in init_game (argc=Cannot access memory at address 0x1c73
) at comm.c:535
#9 main (argc=Cannot access memory at address 0x1c73
) at comm.c:355

No core file now.
Temporary breakpoint 1 at 0x80af784: file comm.c, line 205.
Starting program: /home/mud/jtp/mud/bin/circle

Temporary breakpoint 1, main (argc=1, argv=0xbfffea14) at comm.c:205
205 {


Running a 3.5 year old version of tba, has there been changes to comm.c that i might need ? Or what is happened ?
Last edit: 1 year 10 months ago by JTP.

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

More
1 year 10 months ago #6483 by thomas
Replied by thomas on topic 3 crashes in 2 weeks
Perhaps. Which version are you running?

Also - did you get anything in the logs this time around?

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

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 10 months ago - 1 year 10 months ago #6484 by JTP
Replied by JTP on topic 3 crashes in 2 weeks
log:
/lib/libc.so.6(__libc_start_main+0xdc)[0x2ceedc]
bin/circle[0x8049641]
======= Memory map: ========
0029a000-002b5000 r-xp 00000000 fd:00 164068     /lib/ld-2.5.so
002b5000-002b6000 r-xp 0001a000 fd:00 164068     /lib/ld-2.5.so
002b6000-002b7000 rwxp 0001b000 fd:00 164068     /lib/ld-2.5.so
002b9000-0040f000 r-xp 00000000 fd:00 164804     /lib/libc-2.5.so
0040f000-00411000 r-xp 00156000 fd:00 164804     /lib/libc-2.5.so
00411000-00412000 rwxp 00158000 fd:00 164804     /lib/libc-2.5.so
00412000-00415000 rwxp 00412000 00:00 0
004e7000-004f0000 r-xp 00000000 fd:00 164810     /lib/libcrypt-2.5.so
004f0000-004f1000 r-xp 00008000 fd:00 164810     /lib/libcrypt-2.5.so
004f1000-004f2000 rwxp 00009000 fd:00 164810     /lib/libcrypt-2.5.so
004f2000-00519000 rwxp 004f2000 00:00 0
0051b000-00526000 r-xp 00000000 fd:00 164807     /lib/libgcc_s-4.1.2-20080825.so.1
00526000-00527000 rwxp 0000a000 fd:00 164807     /lib/libgcc_s-4.1.2-20080825.so.1
006ac000-006ad000 r-xp 006ac000 00:00 0          [vdso]
08048000-081b9000 r-xp 00000000 fd:01 3559436    /home/mud/jtp/mud/bin/circle (deleted)
081b9000-081bc000 rw-p 00171000 fd:01 3559436    /home/mud/jtp/mud/bin/circle (deleted)
081bc000-08295000 rw-p 081bc000 00:00 0
082d2000-0946d000 rw-p 082d2000 00:00 0          [heap]
b7919000-b7c32000 r--s 00000000 fd:03 65542      /var/db/nscd/hosts
b7c32000-b7ff0000 rw-p b7c32000 00:00 0
b7ffa000-b7ffb000 rw-p b7ffa000 00:00 0
bfd4f000-bfdc7000 rw-p bff86000 00:00 0          [stack]


Im pretty sure its 3.58 changed the version code to update when i compile, so i cant see it.

If you can tell me, what has been changed since, it would maybe a huge help to fix it. Cus it really sucks.
Last edit: 1 year 10 months ago by JTP.

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

More
1 year 10 months ago #6485 by thomas
Replied by thomas on topic 3 crashes in 2 weeks
I am pretty sure you are not on v3.58 - because that is positively ancient (january 2009 github.com/tbamud/tbamud/commit/6f220427...f68f3758be8679eba172 ).

check the "changelog" file. It contains the version number.

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

  • JTP
  • Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
1 year 10 months ago #6486 by JTP
Replied by JTP on topic 3 crashes in 2 weeks
3.64 it seems

baMUD is currently being developed by The Builder Academy. If you need any
help, find any bugs, or have ideas for improvement please stop by TBA at
telnet://tbamud.com:9091 or email This email address is being protected from spambots. You need JavaScript enabled to view it. --Rumble
@
[Mar 02 2013] - Rumble
Updated World and files for 3.64 release.
[Feb 12 2013] - Vatiken
feature: New group system.
feature: Room events.
bug: Many small bug fixes.

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

Time to create page: 1.484 seconds