PennMUSH Community

Ticket #7391 (closed incoming: fixed)

Opened 1 year ago

Last modified 8 months ago

Crash with svn 964

Reported by: anonymous Assigned to: devteam
Priority: minor Milestone:
Keywords: Cc:
Visibility: Public

Description (Last modified by ehearn)

svn up'd to rev 964, reboot, crash on player connection, restarted,
crash during restart (probably on @startups). Looks like
slab allocation issues.

First crash produced this trace:

Script started on Fri Jun 22 07:23:30 2007
dunemush: ~/soc3/game> gdb netmush core
GNU gdb 6.4.90-debian
Core was generated by `netmush /home/dunemush/soc3/game/mush.cnf'.
Program terminated with signal 11, Segmentation fault.
#0  0x08079aa6 in do_second () at cque.c:471
471         if (IsPlayer(point->cause)) {
(gdb) where
#0  0x08079aa6 in do_second () at cque.c:471
#1  0x0812a151 in dispatch () at timer.c:220
#2  0x080582a9 in shovechars (port=4201, sslport=4202) at bsd.c:968
#3  0x08057a54 in main (argc=2, argv=0xbfcebfa4) at bsd.c:612
(gdb) print point
$1 = (BQUE *) 0x9397880
(gdb) p *point
$2 = {next = 0x0, player = 155172944, queued = 0, cause = 155172944, sem = 0,
  semattr = 0x0, left = 0, env = {0x0, 0x0, 0x93fc060 "àé?\tø4\211³(DOW1",
    0x0, 0x93fc060 "àé?\tø4\211³(DOW1", 0x0, 0x0, 0x0, 0x0, 0x0}, rval = {
    0x93fc070 "àé?\tø4\211³d/fu!", 0x0, 0x93fc070 "àé?\tø4\211³d/fu!", 0x0,
    0x0, 0x0, 0x0, 0x0, 0x93fc080 "àé?\tø4\211³TD)]\021", 0x0,
    0x93fc080 "àé?\tø4\211³TD)]\021", 0x0, 0x0, 0x0, 0x0, 0x0,
    0x93fc090 "àé?\tø4\211³\220", 0x0, 0x93fc090 "àé?\tø4\211³\220", 0x0, 0x0,
    0x0, 0x0, 0x0, 0x93fc0a0 "8\217)\t\b5\211³()].", 0x0,
    0x93fc0a0 "8\217)\t\b5\211³()].", 0x0, 0x0, 0x0, 0x0, 0x0,
    0x93fe9e8 "\2305\211³\2305\211³\021", 0x0,
    0x93fe9e8 "\2305\211³\2305\211³\021", 0x0}, comm = 0x0}
Script done on Fri Jun 22 07:24:21 2007

And netmush.log noted:

[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!
[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!
[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!
[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!
[06/22 07:22:17] Bad attribute name  on object #2038
[06/22 07:22:17] Bad attribute name  on object #2084
[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!
[06/22 07:22:17] Attempt to free object not allocated by slab allocator 'bvm.asm
node'!

After a ./restart, this was netmush.log:

[06/22 07:24:44] RESTART FINISHED.
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:45] Attempt to free object not allocated by slab allocator 'command queues'!
[06/22 07:24:46] Attempt to free object not allocated by slab allocator 'command queues'!
*** glibc detected *** double free or corruption (fasttop): 0x08ebe358 ***
info_slave: error writing packet: Connection refused
info_slave: Parent mush process exited unexpectedly! Shutting down.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Javelin@M*U*S*H, once Paul@DuneMUSH | Alan Schwartz <dunemush@pennmush.org>
   (mush.pennmush.org 4201)         |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Change History

02/19/08 21:11:08 changed by ehearn

  • description changed.

02/19/08 21:24:30 changed by raevnos

  • status changed from new to closed.
  • resolution set to fixed.