[gcompris-devel] Segmentation fault CVS

Ralf Jardon ralf.jardon at uni-koeln.de
Sun Jan 25 03:20:02 UTC 2004


Am Sa, den 24.01.2004 schrieb Bruno Coudoin um 14:45:
> Just commited some changes but nothing related to your bug.
> Could you send me the output trace when running gcompris in a console.

I´ve grabbed the current CVS-Code today (Sunday 11 o'clock)
With python compiled in the following error occured:

[...] all plugins loaded
---
** Message:     plugin /usr/local/lib/gcompris/libread_colors.so loaded
/usr/local/lib/gcompris/libpython.so: undefined symbol:
gcompris_log_set_reason
Segmentation fault
---

After compiling with "--without-python":

[...] all plugins loaded
---
** Message:     plugin /usr/local/lib/gcompris/libread_colors.so loaded
Segmentation fault
---

> Eventualy, you can run gcompris in gdb and print the back trace (bt
> command).

OK, after the run command:

---
[...]plugin loading cuted
** Message:     plugin /usr/local/lib/gcompris/libread_colors.so loaded
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15767)]
board_check_file (gcomprisBoard=0x0) at board.c:55
55        if(gcomprisBoard->plugin!=NULL)
---

And now the back trace:

---
(gdb) bt
#0  board_check_file (gcomprisBoard=0x0) at board.c:55
#1  0x0804e312 in setup_window () at gcompris.c:454
#2  0x0804e9a5 in gcompris_init (argc=2, argv=0xbffffa94) at
gcompris.c:688
#3  0x0804d6fb in main (argc=0, argv=0x0) at main.c:32
(gdb)
---

Do you know what's up???

Below are some additional informations which could help you:

OS: Debian GNU Linux (SID)
Kernel: 2.4.22 on AMD Athlon XP 1500+

ldd /usr/local/bin/gcompris:

        libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0
(0x40029000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40055000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0
(0x4006b000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4008d000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x402e0000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x4034d000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x40367000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0
(0x4037a000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4039b000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x403a8000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x403dc000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x403e0000)
        libassetml.so.0 => /usr/lib/libassetml.so.0 (0x403e5000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x403e9000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40419000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4047d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4056b000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x4057c000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40584000)
        libm.so.6 => /lib/libm.so.6 (0x405ac000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x405ce000)
        libao.so.2 => /usr/lib/libao.so.2 (0x405d3000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x405d9000)
        libdl.so.2 => /lib/libdl.so.2 (0x4062a000)
        libpopt.so.0 => /lib/libpopt.so.0 (0x4062d000)
        libc.so.6 => /lib/libc.so.6 (0x40635000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40767000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4078e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x407f9000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x408c0000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x408c8000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x408d6000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x408e8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x408f1000)


Bye
 Ralf

> 
> Bruno.
> 
> Le sam 24/01/2004 à 14:24, Ralf Jardon a écrit :
> > Hi,
> > 
> > i tryed to compile the current CVS code. First i have corrected the
> > gcompris_log_set_comment error in the files "log.c" and
> > "py-mod-gcompris.c". The compilation seem to be good and without errors
> > but after i start gcompris i got a segmentation fault only. I tryed
> > compiling without python too and the same error happend.
> > 
> > What is going wrong???
> > 
> > Regards 
> > Ralf
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > The SF.Net email is sponsored by EclipseCon 2004
> > Premiere Conference on Open Tools Development and Integration
> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> > http://www.eclipsecon.org/osdn
> > _______________________________________________
> > gcompris-devel mailing list
> > gcompris-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> > 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel






More information about the Gcompris-devel mailing list