[crossfire] Crash on Skud bank coin exchange

James Lopeman meflin at meflin.net
Thu Jan 15 14:04:26 CST 2009


For useful information you need a core dump 

ulimit -c unlimited
usr/bin/crossfire
Running python initialize script.
Updating Guilds
['GUILD_TEMPLATE', 'PoisonedDagger', 'GreenGoblin']
/start/HallsOfSelection/dwarf_player
crossfire: Modules/gcmodule.c:276: visit_decref: Assertion `gc->gc.gc_refs != 
0' failed.
Aborted (core dumped)

now lets look at the core file -> gdb /usr/bin/crossfire ./core.26508

then use -> debuginfo-install crossfire-1.11.0-1.fc10.x86_64
( gdb will spit several of these out at your to install untill your kit is 
good)

when gdb quits whining about missing debug packages .... 

type bt

(gdb) bt
#0  0x0000003bbd832f05 in raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0000003bbd834a73 in abort () at abort.c:88
#2  0x0000003bbd82bef9 in __assert_fail (assertion=0x3db7b1da71 "gc-
>gc.gc_refs != 0", file=0x3db7b1da4c "Modules/gcmodule.c", line=276,
    function=0x3db7b1df5c "visit_decref") at assert.c:78
#3  0x0000003db7ae844c in visit_decref (op=0x2f0cbb0, data=<value optimized 
out>) at Modules/gcmodule.c:276
#4  0x0000003db7a6cacb in dict_traverse (op=0x2e41a10, visit=0x3db7ae83c0 
<visit_decref>, arg=0x0) at Objects/dictobject.c:1893
#5  0x0000003db7ae887f in subtract_refs () at Modules/gcmodule.c:295
#6  collect (generation=1) at Modules/gcmodule.c:790
#7  0x0000003db7ae935b in collect_generations () at Modules/gcmodule.c:897
#8  _PyObject_GC_Malloc (basicsize=<value optimized out>) at 
Modules/gcmodule.c:1333
#9  0x0000003db7ae93cd in _PyObject_GC_New (tp=0x3db7d476a0) at 
Modules/gcmodule.c:1343
#10 0x0000003db7a5c3e6 in PyFunction_New (code=0x2fca4e0, globals=0x678c) at 
Objects/funcobject.c:12
#11 0x0000003db7abd072 in PyEval_EvalFrameEx (f=0x30b9600, throwflag=<value 
optimized out>) at Python/ceval.c:2329
#12 0x0000003db7ac0865 in PyEval_EvalCodeEx (co=0x2fca558, globals=<value 
optimized out>, locals=<value optimized out>, args=0x0, argcount=0, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2836
#13 0x0000003db7ac0aa2 in PyEval_EvalCode (co=0x678c, globals=0x678c, 
locals=0x6) at Python/ceval.c:494
#14 0x00000000009c972a in do_script (context=0x30b9880, silent=<value 
optimized out>) at cfpython.c:798
#15 0x00000000009cacde in eventListener (type=<value optimized out>) at 
cfpython.c:1500
#16 0x0000000000448998 in execute_event (op=0x37bbc80, eventcode=8, 
activator=0x0, third=0x0, message=0x0, fix=0) at plugins.c:284
#17 0x000000000045a324 in process_object (op=0x678c) at time.c:1274
#18 0x0000000000414dc5 in process_events (map=0x0) at server.c:1141
#19 0x000000000041545b in server_main (argc=<value optimized out>, argv=<value 
optimized out>) at server.c:1388
#20 0x0000003bbd81e576 in __libc_start_main (main=0x413c10 <main>, argc=1, 
ubp_av=0x7fff9fd04378, init=0x4c6070 <__libc_csu_init>,
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
stack_end=0x7fff9fd04368) at libc-start.c:220
#21 0x0000000000413b49 in _start ()


Meflin















On Thursday 15 January 2009 12:16:46 Otto J. Makela wrote:
> James Lopeman <meflin at meflin.net> wrote:
> > On fedora 9 & 10 32 & 64  bit crossfire servers crash in scorn after a
> > few minuets,
> >
> > When trying to test your money exchange bug standing around in the bank
> > caused a crash after 1-2 minuets . ( bug report 2008-12-23 )
> >
> > http://sourceforge.net/tracker/index.php?func=detail&aid=2459929&group_id
> >=13833&atid=113833
>
> Hadn't thought to try this. Yes, just having the bank map load crashes
> the server after a couple of minutes.
>
> As I said, the log file doesn't contain useful stuff:
>
> 09/01/15 21:10:26 [Debug]   Trying to load map
> /usr/share/crossfire/maps/world/world_104_115.
> 09/01/15 21:10:26 [Debug]   load_original_map: /world/world_104_115 (0)
> 09/01/15 21:10:29 [Debug]   Trying to load map
> /usr/share/crossfire/maps/scorn/shops/bank.
> 09/01/15 21:10:29 [Debug]   load_original_map: /scorn/shops/bank (0)
> 09/01/15 21:10:33 [Debug]   Saving map /world/world_104_115
> 09/01/15 21:11:15 [Debug]   make_path_tofile
> /var/games/crossfire/players/ExTechOp/_scorn_apartment_Apartments1...09/01/
>15 21:11:15 [Debug]
> 09/01/15 21:11:15 [Debug]   Saving map
> /var/games/crossfire/players/ExTechOp/_scorn_apartment_Apartments1
> 09/01/15 21:11:17 [Debug]   Resetting map
> /var/games/crossfire/players/ExTechOp/_scorn_apartment_Apartments1.




More information about the crossfire mailing list