Menu

#579 2.0 Server crash backtrace

None
closed
AnMaster
server (385)
5
2014-04-13
2008-06-10
meflin2
No

(gdb) bt
#0 0x0097f402 in __kernel_vsyscall ()
#1 0x003d9ba0 in raise () from /lib/libc.so.6
#2 0x003db4b1 in abort () from /lib/libc.so.6
#3 0x003d31db in __assert_fail () from /lib/libc.so.6
#4 0x001e76dd in _PyObject_GC_UnTrack () from /usr/lib/libpython2.4.so.1.0
#5 0x001836f3 in PyDict_Next () from /usr/lib/libpython2.4.so.1.0
#6 0x001e7c7a in _PyObject_GC_UnTrack () from /usr/lib/libpython2.4.so.1.0
#7 0x001e852b in _PyObject_GC_Malloc () from /usr/lib/libpython2.4.so.1.0
#8 0x001e85b5 in _PyObject_GC_New () from /usr/lib/libpython2.4.so.1.0
#9 0x00165ef9 in PyInstance_NewRaw () from /usr/lib/libpython2.4.so.1.0
#10 0x001660b7 in PyInstance_New () from /usr/lib/libpython2.4.so.1.0
#11 0x0015bd57 in PyObject_Call () from /usr/lib/libpython2.4.so.1.0
#12 0x001bb48c in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.4.so.1.0
#13 0x001d0f55 in PyErr_NormalizeException () from /usr/lib/libpython2.4.so.1.0
#14 0x001bcc1f in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#15 0x001c052f in PyEval_EvalFrame () from /usr/lib/libpython2.4.so.1.0
#16 0x001c1c68 in PyEval_EvalCodeEx () from /usr/lib/libpython2.4.so.1.0
#17 0x001c1cf3 in PyEval_EvalCode () from /usr/lib/libpython2.4.so.1.0
#18 0x0011b7fc in do_script (context=0xa92c630, silent=<value optimized out>) at cfpython.c:835
#19 0x0011dbed in globalEventListener (type=0xbfd2f7b4) at cfpython.c:1508
#20 0x0807cc5e in execute_global_event (eventcode=15) at plugins.c:305
#21 0x08059316 in server_main (argc=2, argv=0xbfd2f894) at server.c:1463
#22 0x08058542 in main (argc=Cannot access memory at address 0x3f62
) at main.c:49

(gdb) frame 18
#18 0x0011b7fc in do_script (context=0xa92c630, silent=<value optimized out>) at cfpython.c:835
835 ret = PyEval_EvalCode(pycode, dict, NULL);
(gdb) list
830 pycode = compilePython(context->script);
831 if (pycode) {
832 pushContext(context);
833 dict = PyDict_New();
834 PyDict_SetItemString(dict, "__builtins__", PyEval_GetBuiltins());
835 ret = PyEval_EvalCode(pycode, dict, NULL);
836 if (PyErr_Occurred()) {
837 PyErr_Print();
838 }
839 Py_XDECREF(ret);
(gdb) print *context
$1 = {down = 0x0, who = 0x0, activator = 0x0, third = 0x0, event = 0x0,
message = "\000 hope i get left out on planing so i can throw a fit stay home and recharge\000�t�p\a�(Q\r��x�p\a�(Q\r��|�p\a�(Q\r��\200�p\a�(Q\r��\204�p\a�(Q\r��\210�p\a�(Q\r��\214�p\a�(Q\r��\220�p\a�(Q\r��\224�p\a�(Q\r��\230�p\a�(Q\r��\234�p\a�(Q\r��M\000p\a�(�Q\000p\a�"..., fix = 0, event_code = 15,
script = "/usr/games/crossfire/share/crossfire/maps/python/events/python_event.py\000weapon_shop.py\000\b\002�qPp\022\224\036Q\a\r�uPp\022\224\036Q\a\025�yPp\022\224\036Q\a\025�}Pp\022\224\036Q\a\031�\201Pp\022\224\036Q\a\025�\205Pp\022\224\036Q\a\025�\211Pp\022\224\036Q\a\023�\215Pp\022\224\036�\221Pp\022\224\036Q\a\r�\225Pp\022\224\036Q\a\025�\231Pp\022\224\036Q\a\030�\235Pp"...,
options = "clock\000time\000\022\224\036�\225�p\022\224\036�\231�p\022\224\036Q\a\020�\235�p\a�(�M�p\a�(�Q�p\a�(�U�p\a�(�Y�p\a�(Q\r��]�p\a�(�a�p\022\224\036Q\a\022�e�p\022\224\036Q\a\025�i�p\022\224\036Q\a\023�m�p\022\224\036Q\b\002�q�p\022\224\036Q\a\r�u�p\022\224\036Q\a\025�y�p\022\224\036Q\a\025�}�p\022\224\036Q\a\026�\201�p\022\224\036Q\a\025�\205�p\022\224\036Q\a\025�\211�p\022\224\036Q\a\023�\215�p\022\224\036�\221�p\022\224\036"..., returnvalue = 0, parms = {309330066, -1761665388, -1810731008, 10157854, 513020528}}
(gdb) print context->script
$2 = "/usr/games/crossfire/share/crossfire/maps/python/events/python_event.py\000weapon_shop.py\000\b\002�qPp\022\224\036Q\a\r�uPp\022\224\036Q\a\025�yPp\022\224\036Q\a\025�}Pp\022\224\036Q\a\031�\201Pp\022\224\036Q\a\025�\205Pp\022\224\036Q\a\025�\211Pp\022\224\036Q\a\023�\215Pp\022\224\036�\221Pp\022\224\036Q\a\r�\225Pp\022\224\036Q\a\025�\231Pp\022\224\036Q\a\030�\235Pp"...

08/06/09 00:11:33 [Debug] citylife: adding NPC to random map.
08/06/09 00:11:33 [Debug] citylife: adding NPC to random map.
08/06/09 00:11:39 [Debug] citylife: adding NPC to random map.
08/06/09 00:11:47 [Debug] citylife: adding NPC to random map.
08/06/09 00:11:53 [Error] give_initial_items: Removing duplicate object grimoire
08/06/09 00:11:53 [Error] give_initial_items: Removing duplicate object grimoire
08/06/09 00:11:53 [Debug] Trying to load map /usr/games/crossfire/share/crossfire/maps/start/Nexus.
08/06/09 00:11:53 [Debug] load_original_map: /start/Nexus (0)
08/06/09 00:11:53 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:00 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:05 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:05 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:08 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:09 [Debug] citylife: adding NPC to random map.
08/06/09 00:12:09 [Debug] citylife: adding NPC to random map.

Discussion

  • Rick Tanner

    Rick Tanner - 2008-06-11
    • milestone: --> 1.x_trunk
     
  • AnMaster

    AnMaster - 2008-06-12
    • labels: --> server
     
  • Nobody/Anonymous

    Logged In: NO

    core file and server binary are archived if they can be of any use

     
  • Nobody/Anonymous

    Logged In: NO

    seems to have happened again , only one online at the time trying to kill the advokate , core saved

     
  • meflin2

    meflin2 - 2008-06-15
    • status: open --> closed
     
  • meflin2

    meflin2 - 2008-06-22
    • status: closed --> open
     
  • meflin2

    meflin2 - 2008-06-22

    Logged In: YES
    user_id=1826989
    Originator: YES

    The eventcode=15 crashes also happen with :

    valkyrie_pray_event.py
    death_message.py

    crashes are no consistent death_message.py is 1 out of 3

     
  • AnMaster

    AnMaster - 2009-02-03

    Setting this bug to pending. Reopen if you can reproduce on trunk with a revision newer than r11281.

     
  • AnMaster

    AnMaster - 2009-02-03
    • status: open --> pending-works-for-me
     
  • AnMaster

    AnMaster - 2009-02-03
    • assigned_to: nobody --> anmaster
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-works-for-me --> closed-works-for-me
     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: closed-works-for-me --> closed
     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: closed --> suspended
     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: suspended --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB