DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: gdk-directfb branched and updated for gtk+-2.4
Mailing List archive

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

[directfb-users] Re: gdk-directfb branched and updated for gtk+-2.4



Hi,

Denis Oliver Kropp wrote:
Please try running "libtool gdb gtk-query-immodules-2.0".

jmpg@sagui:~/EGNOS-Phase2/build-tools/build-gtk+/gtk$ libtool --mode=execute
gdb gtk-query-immodules-2.0
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) break main
Breakpoint 1 at 0x8049149: file
../../gtk+-directfb-2.4.4/gtk/queryimmodules.c, line 151.
(gdb) run
Starting program:
/home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gtk/.libs/lt-gtk-query-immodules-2.0

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x402de4cd in pthread_initialize () at pthread.c:547
#2 0x402e3ed7 in __do_global_ctors_aux ()
from /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpthread.so.0
#3 0x402dac65 in _init () from
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpthread.so.0
#4 0x4000c0de in _dl_catch_error () from /lib/ld-linux.so.2
#5 0x4000c27a in _dl_init () from /lib/ld-linux.so.2
#6 0x40000c5d in ?? () from /lib/ld-linux.so.2
(gdb)

As you can see the program does not reach main() before crashing.

As I told you before I'm cross-compiling GTK for a Geode processor, so I've
previously build glibc and all GTK dependencies.

Here goes also the result of ldd:

jmpg@sagui:~/EGNOS-Phase2/build-tools/build-gtk+/gtk$ libtool --mode=execute
ldd gtk-query-immodules-2.0
libgtk-directfb-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gtk/.libs/libgtk-directfb-2.0.so.0
(0x40019000)
libgdk-directfb-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gdk/.libs/libgdk-directfb-2.0.so.0
(0x4021a000)
libatk-1.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libatk-1.0.so.0 (0x40268000)
libgdk_pixbuf-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/build-tools/build-gtk+/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0
(0x40281000)
libdirectfb-0.9.so.20 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libdirectfb-0.9.so.20 (0x4029e000)
libpthread.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpthread.so.0 (0x402d7000)
libpangoft2-1.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpangoft2-1.0.so.0 (0x40328000)
libpango-1.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpango-1.0.so.0 (0x403fa000)
libgmodule-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libgmodule-2.0.so.0 (0x40426000)
libdl.so.2 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libdl.so.2
(0x4042a000)
libgobject-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libgobject-2.0.so.0 (0x4042d000)
libglib-2.0.so.0 =>
/home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libglib-2.0.so.0 (0x40456000)
libjpeg.so.62 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libjpeg.so.62
(0x404b9000)
libpng.so.3 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libpng.so.3
(0x404d7000)
libz.so.1 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libz.so.1 (0x40507000)
libm.so.6 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libm.so.6 (0x40518000)
libc.so.6 => /home/jmpg/EGNOS-Phase2/tools/i586-linux/lib/libc.so.6 (0x4053b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Regards,
José Gonçalves






Home | Main Index | Thread Index


directfb.org / Development / Old Archives