adonthell-devel
[Top][All Lists]
Advanced

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

[Adonthell-devel] Bugs in automake 1.11.3 and Python 2.7.3


From: Kai Sterker
Subject: [Adonthell-devel] Bugs in automake 1.11.3 and Python 2.7.3
Date: Sat, 30 Jun 2012 17:59:57 +0200

Ran into two issues today, that might affect others too.

The first one is that make install fails with automake 1.11.3, with
the following error:

  py-compile: Missing argument to --destdir.

It appears to be a known bug with fixes already submitted. There might
be even a newer version available, but not for my distro.
As a workaround, one can do

  sudo DESTDIR=/ make install


The second is a segfault within python itself (although it might be
the case that we somehow corrupt memory, as it cannot be triggered
reliably). To trigger it (about 1 time out of 10), just run worldtest
as usual and walk in southern direction. I believe it will either
happen immediately, before making the first step, or never at all. I'd
probably like to open a bug report, but before that want to make sure
that nothing we do causes this. So, does anyone have Python 2.7.3
installed and can reproduce the issue?

Btw., here's the stacktrace (gathered with the python-dbg package installed):

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a59c28 in visit_decref () from /usr/lib/libpython2.7.so.1.0
(gdb) bt
#0  0x00007ffff7a59c28 in visit_decref () from /usr/lib/libpython2.7.so.1.0
#1  0x00007ffff7a5a365 in tupletraverse.24413 ()
   from /usr/lib/libpython2.7.so.1.0
#2  0x00007ffff7a62a6f in collect.48873 () from /usr/lib/libpython2.7.so.1.0
#3  0x00007ffff7a63678 in _PyObject_GC_Malloc ()
   from /usr/lib/libpython2.7.so.1.0
#4  0x00007ffff79536a9 in PyType_GenericAlloc ()
   from /usr/lib/libpython2.7.so.1.0
#5  0x00007ffff7a2437c in BaseException_new.11923 ()
   from /usr/lib/libpython2.7.so.1.0
#6  0x00007ffff7a1eec3 in type_call.25606 () from /usr/lib/libpython2.7.so.1.0
#7  0x00007ffff7a1de83 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#8  0x00007ffff7a1e7d7 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#9  0x00007ffff79768f7 in PyErr_NormalizeException ()
   from /usr/lib/libpython2.7.so.1.0
#10 0x00007ffff796ccf6 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#11 0x00007ffff7939605 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#12 0x00007ffff79397bd in function_call () from /usr/lib/libpython2.7.so.1.0
#13 0x00007ffff7a1de83 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#14 0x00007ffff7a021cf in instancemethod_call.8746 ()
   from /usr/lib/libpython2.7.so.1.0
#15 0x00007ffff7a1de83 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#16 0x00007ffff7a1e7d7 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#17 0x00007ffff728ffbc in python::script::call_method_ret (
    this=<optimized out>, name=..., args=('Grass',))
    at ../../../adonthell/src/python/script.cc:134
#18 0x00007ffff61fb6d2 in rpg::group::estimate_speed (this=0x99d190,
    terrain=...) at ../../../adonthell/src/rpg/group.cc:60
#19 0x00007ffff61e04c3 in rpg::character::update_speed (this=0xac0670,
    terrain=...) at ../../../adonthell/src/rpg/character.cc:164
#20 0x00007ffff5faa382 in world::character::speed (this=0x99d2e0)
    at ../../../adonthell/src/world/character.cc:74
#21 0x00007ffff5faa8b0 in world::character::update_velocity (this=0x99d2e0,
    address@hidden: 8) at ../../../adonthell/src/world/character.cc:203
#22 0x00007ffff5fab540 in world::character::set_direction (this=0x99d2e0,
    address@hidden: 8) at ../../../adonthell/src/world/character.cc:181
#23 0x00007ffff5fac183 in world::character::add_direction (
    this=<optimized out>, ndir=<optimized out>)
    at ../../../adonthell/src/world/character.cc:172
#24 0x00007fffe6eaffc8 in _wrap_character_add_direction (args=<optimized out>)
    at ../../../../adonthell/src/py-wrappers/adonthell/py_world_wrap.cc:9159
#25 0x00007ffff796e3b8 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#26 0x00007ffff7939605 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#27 0x00007ffff796e8c0 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#28 0x00007ffff7939605 in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#29 0x00007ffff79397bd in function_call () from /usr/lib/libpython2.7.so.1.0
#30 0x00007ffff7a1de83 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#31 0x00007ffff7a021cf in instancemethod_call.8746 ()
   from /usr/lib/libpython2.7.so.1.0
#32 0x00007ffff7a1de83 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#33 0x00007ffff7a1e7d7 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#34 0x00007fffe6a63ad0 in python::functor_1ret<input::control_event*,
bool>::run (this=0xb8aa80, arg1=<optimized out>)
    at ../../../../adonthell/src/python/callback.h:214
#35 0x00007ffff6c483c2 in operator() (p1=<optimized out>, this=<optimized out>)
    at ../../../adonthell/src/base/callback.h:579
#36 input::listener::raise_event (this=<optimized out>, ev=<optimized out>)
    at ../../../adonthell/src/input/listener.cc:131
#37 0x00007ffff6c48495 in input::manager::raise_event (ev=...)
    at ../../../adonthell/src/input/manager.cc:53
---Type <return> to continue, or q <return> to quit---
#38 0x00007ffff6c48512 in input::manager::raise_event (ev=...)
    at ../../../adonthell/src/input/manager.cc:97
#39 0x00007fffee9ab30b in _sdl_LTX_input_manager_update ()
    at ../../../adonthell/src/input/sdl2/manager_sdl.cc:421
#40 0x0000000000404c52 in update () at ../../adonthell/src/input/manager.h:62
#41 world_test::main (this=0x608640) at ../../adonthell/test/worldtest.cc:211
#42 0x00007ffff6406bd7 in adonthell::app::init (this=0x608640)
    at ../../../adonthell/src/main/adonthell.cc:304
#43 0x00007ffff6406381 in main (argc=4, argv=<optimized out>)
    at ../../../adonthell/src/main/main.cc:78
#44 0x00007ffff58f076d in __libc_start_main (main=0x403ec0 <address@hidden>, 
argc=4,
    ubp_av=0x7fffffffe058, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe048) at libc-start.c:226
#45 0x0000000000405231 in _start ()

Kai



reply via email to

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