[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] Re: Updates to build system
From: |
Kai Sterker |
Subject: |
[Adonthell-devel] Re: Updates to build system |
Date: |
Fri, 22 May 2009 13:25:33 +0200 |
On Sun, May 17, 2009 at 10:21 PM, Kai Sterker <address@hidden> wrote:
> I tested everything on OSX for both the autotools and cmake build, but
> tthere could still be issues on other architectures that I missed. So
> please let me know if building fails with linker errors. Oh ... and
> make sure to update with -dP to get the new py-runtime directory and
> get rid of the now empty py-wrappers/runtime.
Some tests on Ubuntu 9.04 today revealed the bug that grumbel had
reported on IRC.
The problem: the SEGFAULT is inside libltdl, so I am not sure how to
work around this:
Here's part of the stack trace:
(gdb) bt
#0 0x00007f026fc283ec in tryall_dlopen (phandle=<value optimized out>,
filename=0x2625640 "_sdl.a", advise=0x27159b0, vtable=0x0)
at ../../adonthell/libltdl/ltdl.c:434
#1 0x00007f026fc28ecd in try_dlopen (phandle=0x7fff792b8938,
filename=<value optimized out>, ext=<value optimized out>,
advise=<value optimized out>) at ../../adonthell/libltdl/ltdl.c:532
#2 0x00007f026fc296b6 in lt_dlopenadvise (
filename=0x26ff828 "/usr/local/lib/adonthell/main/_sdl", advise=0x27159b0)
at ../../adonthell/libltdl/ltdl.c:1641
#3 0x00007f026fc297b9 in lt_dlopenext (
filename=0x26ff828 "/usr/local/lib/adonthell/main/_sdl")
at ../../adonthell/libltdl/ltdl.c:1605
#4 0x00007f026fc25028 in base::get_module (address@hidden)
at ../../../adonthell/src/base/paths.cc:67
#5 0x00007f026de5af2c in adonthell::app::init (this=0x26a5430)
at ../../../adonthell/src/main/adonthell.cc:225
#6 0x00007f026e05ee0b in AdonthellApp::init (this=0x26a5430, main_func=0x2,
parse_args=<value optimized out>)
at ../../../../adonthell/src/py-wrappers/adonthell/py_main.cc:95
#7 0x00007f026e265f30 in _wrap_AdonthellApp_init (self=<value optimized out>,
args=0x26d2290)
at ../../../../adonthell/src/py-wrappers/adonthell/py_main_wrap.cc:3033
#8 0x000000000041d3bd in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
Guess I might have to disable optimization and enable debugging for
libltdl to dig deeper into the issue.
I'll keep you updated. What's weird is that all C++ test programs run
fine, but all Python scripts trigger the SEGFAULT.
Kai