PennMUSH Community

Ticket #7219 (new crash bug)

Opened 2 years ago

Last modified 1 year ago

Backtrace of chunk allocator crash on M*U*S*H

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

Description

I don't think this'll be much help, because my bet is our
memory leak also is a bad pointer that held on until the chunk
allocator tried to page it out/in or something, but here's
a backtrace from the recent M*U*S*H crash in case it does.

Script started on Wed Feb 14 08:54:42 2007
dunemush: ~/soc3/gamek\> gdb netmush wcore
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `netmush /home/dunemush/soc3/game/mush.cnf'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /lib/libsafe.so.2...done.
Loaded symbols for /lib/libsafe.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.7
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.7
Reading symbols from /usr/lib/libmysqlclient.so.14...done.
Loaded symbols for /usr/lib/libmysqlclient.so.14
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
#0  0x08060733 in find_available_cache_region () at chunk.c:1423
1423	  stat_paging_histogram[RegionDerefs(rhp->region_id)]++;
(gdb) where
#0  0x08060733 in find_available_cache_region () at chunk.c:1423
#1  0x080607ad in bring_in_region (region=93) at chunk.c:1451
#2  0x08060ebb in find_best_offset (full_len=420, region=93, old_region=130, 
    old_offset=32274) at chunk.c:1663
#3  0x08062968 in migrate_region (region=130) at chunk.c:2102
#4  0x08062e47 in chunk_migration (count=85, references=0x3526d3)
    at chunk.c:2300
#5  0x080f157f in migrate_stuff (amount=50) at timer.c:178
#6  0x080f1671 in dispatch () at timer.c:217
#7  0x080543b1 in shovechars (port=9939, sslport=32) at bsd.c:868
#8  0x08053d93 in main (argc=2, argv=0x3526d3) at bsd.c:541
(gdb) up
#1  0x080607ad in bring_in_region (region=93) at chunk.c:1451
1451	  rhp = find_available_cache_region();
(gdb) up
#2  0x08060ebb in find_best_offset (full_len=420, region=93, old_region=130, 
    old_offset=32274) at chunk.c:1663
1663	  bring_in_region(region);
(gdb) up
#3  0x08062968 in migrate_region (region=130) at chunk.c:2102
2102	      best_offset = find_best_offset(length, best_region, region, offset);
(gdb) up
#4  0x08062e47 in chunk_migration (count=85, references=0x3526d3)
    at chunk.c:2300
2300	      migrate_region(region);
(gdb) up
#5  0x080f157f in migrate_stuff (amount=50) at timer.c:178
178	  chunk_migration(actual, refs);
(gdb) up
#6  0x080f1671 in dispatch () at timer.c:217
217	  migrate_stuff(CHUNK_MIGRATE_AMOUNT);
(gdb) dunemush: ~/soc3/gamek\> ^Dexit

Script done on Wed Feb 14 08:55:07 2007
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Javelin@M*U*S*H, once Paul@DuneMUSH | Alan Schwartz <dunemush@pennmush.org>
   (mush.pennmush.org 4201)         |     
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Change History

03/25/07 14:43:27 changed by raevnos

  • priority changed from minor to major.
  • type changed from incoming to crash bug.