adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] Automatic event unregistering


From: Alexandre Courbot
Subject: Re: [Adonthell-devel] Automatic event unregistering
Date: Sun, 11 Aug 2002 16:46:52 +0200

> That should fix the mysterious crash you experience. And it also fixes
> a number of problems I am facing right now. It won't change anything
> with the NPCs unwilling to move however.

Uh, I hate to disappoint you, but unfortunately the bug still seems to
be here:

time_event::execute (this=0x8bab6a0, address@hidden)
    at /home/alex/prog/adonthell/adonthell-cvs/src/time_event.cc:70
70          if (Repeat != 0) Time += Interval;
(gdb) bt
#0  time_event::execute (this=0x8bab6a0, address@hidden)
    at /home/alex/prog/adonthell/adonthell-cvs/src/time_event.cc:70
#1  0x80f991e in time_event_handler::raise_event (this=0x878a230, 
    address@hidden)
    at
/home/alex/prog/adonthell/adonthell-cvs/src/time_event_handler.cc:52
#2  0x80b1d2e in event_handler::raise_event (address@hidden)
    at /home/alex/prog/adonthell/adonthell-cvs/src/event_handler.h:79
#3  0x80b19bf in gamedate::update ()
    at /home/alex/prog/adonthell/adonthell-cvs/src/gamedate.cc:50
#4  0x80aa533 in adonthell::main (this=0x86e7198, wnd=0x86e6c20, name={
      static npos = 4294967295, static nilRep = {len = 0, res = 0, ref =
3, 
        selfish = false}, 
      dat = 0xbfffe62c "àt\023\b°éj\b\004\223j\bÄñw\bàt\023\b
ln\b\230qn\bxæÿ¿\214æÿ¿¡[\037@"}) at
/home/alex/prog/adonthell/adonthell-cvs/src/adonthell.cc:72
#5  0x80e30d9 in _wrap_adonthell_main (self=0x0, args=0x86a97d4)
    at
/home/alex/prog/adonthell/adonthell-cvs/src/py_adonthell_wrap.cc:9008
#6  0x401f5ba1 in PyCFunction_Call () from /usr/lib/libpython2.2.so.0.0
#7  0x401d52e9 in PyObject_Call () from /usr/lib/libpython2.2.so.0.0
#8  0x40221362 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.2.so.0.0
#9  0x40218893 in _PyUnicodeUCS2_IsAlpha () from
/usr/lib/libpython2.2.so.0.0
#10 0x401f5ba1 in PyCFunction_Call () from /usr/lib/libpython2.2.so.0.0
#11 0x4021fa3b in Py_MakePendingCalls () from
/usr/lib/libpython2.2.so.0.0
#12 0x40220ae4 in PyEval_EvalCodeEx () from /usr/lib/libpython2.2.so.0.0
---Type <return> to continue, or q <return> to quit---
#13 0x40222e4e in PyEval_EvalCode () from /usr/lib/libpython2.2.so.0.0
#14 0x4021fae6 in Py_MakePendingCalls () from
/usr/lib/libpython2.2.so.0.0
#15 0x40220ae4 in PyEval_EvalCodeEx () from /usr/lib/libpython2.2.so.0.0
#16 0x401e9055 in PyFunction_SetClosure () from
/usr/lib/libpython2.2.so.0.0
#17 0x401d52e9 in PyObject_Call () from /usr/lib/libpython2.2.so.0.0
#18 0x401dc633 in PyInstance_New () from /usr/lib/libpython2.2.so.0.0
#19 0x401d52e9 in PyObject_Call () from /usr/lib/libpython2.2.so.0.0
#20 0x40221362 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.2.so.0.0
#21 0x401d89a1 in PyInstance_New () from /usr/lib/libpython2.2.so.0.0
#22 0x401d52e9 in PyObject_Call () from /usr/lib/libpython2.2.so.0.0
#23 0x40222eeb in PyEval_EvalCode () from /usr/lib/libpython2.2.so.0.0
#24 0x4021fb02 in Py_MakePendingCalls () from
/usr/lib/libpython2.2.so.0.0
#25 0x40220ae4 in PyEval_EvalCodeEx () from /usr/lib/libpython2.2.so.0.0
#26 0x40222dda in PyEval_EvalCode () from /usr/lib/libpython2.2.so.0.0
#27 0x4023619b in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.2.so.0.0
#28 0x402362e5 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.2.so.0.0
#29 0x4023707b in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.2.so.0.0
#30 0x40237ef0 in PyImport_ImportModuleEx () from
/usr/lib/libpython2.2.so.0.0
#31 0x40237a75 in PyImport_ImportModuleEx () from
/usr/lib/libpython2.2.so.0.0
#32 0x40237578 in PyImport_ImportFrozenModule ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libpython2.2.so.0.0
#33 0x40237737 in PyImport_ImportModuleEx () from
/usr/lib/libpython2.2.so.0.0
#34 0x4021aad7 in _PyBuiltin_Init () from /usr/lib/libpython2.2.so.0.0
#35 0x401f5ba1 in PyCFunction_Call () from /usr/lib/libpython2.2.so.0.0
#36 0x401d52e9 in PyObject_Call () from /usr/lib/libpython2.2.so.0.0
#37 0x40221362 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.2.so.0.0
#38 0x401d4941 in PyObject_CallFunction () from
/usr/lib/libpython2.2.so.0.0
#39 0x40238369 in PyImport_Import () from /usr/lib/libpython2.2.so.0.0
#40 0x40238e4f in PyImport_ImportModule () from
/usr/lib/libpython2.2.so.0.0
#41 0x80ccc2a in python::import_module (filename={static npos =
4294967295, 
      static nilRep = {len = 0, res = 0, ref = 3, selfish = false}, 
      dat = 0xbffff8d4
"\230h\023\bäøÿ¿,ùÿ¿\034W\n\b(ùÿ¿\203v\021\b,address@hidden
@address@hidden@Øg\023\bÀl\023\b\030h\023\bØg\023\bÀl\023\b"})
    at /home/alex/prog/adonthell/adonthell-cvs/src/python_class.cc:106
#42 0x80ccb2a in python::exec_file (filename={static npos = 4294967295, 
      static nilRep = {len = 0, res = 0, ref = 3, selfish = false}, 
      dat = 0xbffff928 "address@hidden"})
    at /home/alex/prog/adonthell/adonthell-cvs/src/python_class.cc:75
#43 0x80a571c in main (argc=2, argv=0xbffff994)
    at /home/alex/prog/adonthell/adonthell-cvs/src/main.cc:172
#44 0x4033d65f in __libc_start_main () from /lib/libc.so.6

Maybe some other events aren't freed in other circumstances? 

Alex.
-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]