[gcompris-devel] Segmentation fault CVS

Bruno Coudoin bruno.coudoin at free.fr
Sun Jan 25 14:51:02 UTC 2004


It seems we cannot find the root menu.

Can you please check you have the file:
/usr/local/share/gcompris/boards/menu.xml
And other .xml files in the same directory.
If not, 'make install' failed.

Also try to run 'gcompris -m' to mute it and avoid first sound issues.

Bruno.

Le dim 25/01/2004 à 23:24, Ralf Jardon a écrit :
> Am So, den 25.01.2004 schrieb Bruno Coudoin um 22:53:
> 
> > I mean regular display of what is printed in the console when gcompris
> > starts.
> 
> Sorry :-) 
> 
> Here is what you want:
> 
> ---
> ralf at terra:~$ gcompris
>  
> ** (gcompris:12243): WARNING **: Requested locale '' got 'de_DE at euro'
> ** Message: scan_plugins /home/ralf/.gcompris/Plugins/
> ** Message: scan_plugins ../boards/.libs/
> ** Message: scan_plugins ./boards/.libs/
> ** Message: scan_plugins ./src/boards/.libs/
> ** Message: scan_plugins /usr/local/lib/gcompris/
> ** Message:     plugin /usr/local/lib/gcompris/libalgebra.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libalgebra_guesscount.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libcanal_lock.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libchess.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclick_on_letter.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclickgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclockgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libcolors.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libdraw.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/liberase.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libenumerate.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libfifteen.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libgletters.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libhanoi.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libimageid.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libleftright.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsuperbrain.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmachpuzzle.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmaze.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmemory.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmenu.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmissingletter.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmoney.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libparatrooper.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libplanegame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/librailroad.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libreading.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libreversecount.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libshapegame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsmallnumbers.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsubmarine.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libtarget.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libtraffic.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libwordsgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libadvanced_colors.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libread_colors.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libpython.so loaded
> Speicherzugriffsfehler (Segmentation fault)
> ralf at terra:~$
> ---
> 
> Hope that will help you. Additionally i've made a back trace with gdb
> too:
> 
> ---
> (gdb) run
> Starting program: /usr/local/bin/gcompris
> [New Thread 16384 (LWP 12257)]
>  
> ** (gcompris:12257): WARNING **: Requested locale '' got 'de_DE at euro'
> [New Thread 32769 (LWP 12259)]
> [New Thread 16386 (LWP 12260)]
> [New Thread 32771 (LWP 12261)]
> ** Message: scan_plugins /home/ralf/.gcompris/Plugins/
> ** Message: scan_plugins ../boards/.libs/
> ** Message: scan_plugins ./boards/.libs/
> ** Message: scan_plugins ./src/boards/.libs/
> ** Message: scan_plugins /usr/local/lib/gcompris/
> ** Message:     plugin /usr/local/lib/gcompris/libalgebra.so loaded
> TITLE=Bontemp1
> ARTIST=Rico da Halvarez - exorciste de style
> ALBUM=Bontempi project
> TRACKNUMBER=1
> ORGANISATION=v.n.a.t.r.c.?
> DESCRIPTION=bontempi things
> GENRE=Bontempi/experimental
> DATE=2002
> LOCATION=Bordeaux - France
> COPYRIGHT=(O) exorciste de style 2002
> CONTACT=exorciste at musique-libre.com
> COMMENT=Open Audio Licenced
> bontemp1.ogg :
> Bitstream is 2 channel(s), 44100Hz
> Encoded by: Xiphophorus libVorbis I 20011217
> number of logical streams : 1
> duration = 157,720907 seconds
>  
> Error opening audio device
>  
> ** (gcompris:12261): WARNING **: The background thread music is stopped
> now. The files in /usr/local/share/gcompris/boards/music/background are
> not ogg vorbis OR the sound output failed
> ** Message:     plugin /usr/local/lib/gcompris/libalgebra_guesscount.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libcanal_lock.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libchess.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclick_on_letter.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclickgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libclockgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libcolors.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libdraw.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/liberase.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libenumerate.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libfifteen.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libgletters.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libhanoi.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libimageid.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libleftright.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsuperbrain.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmachpuzzle.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmaze.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmemory.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmenu.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmissingletter.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libmoney.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libparatrooper.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libplanegame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/librailroad.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libreading.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libreversecount.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libshapegame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsmallnumbers.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libsubmarine.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libtarget.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libtraffic.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libwordsgame.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libadvanced_colors.so
> loaded
> ** Message:     plugin /usr/local/lib/gcompris/libread_colors.so loaded
> ** Message:     plugin /usr/local/lib/gcompris/libpython.so loaded
>  
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 12257)]
> board_check_file (gcomprisBoard=0x0) at board.c:55
> 55        if(gcomprisBoard->plugin!=NULL)
> (gdb)
> (gdb) bt
> #0  board_check_file (gcomprisBoard=0x0) at board.c:55
> #1  0x0804e352 in setup_window () at gcompris.c:454
> #2  0x0804e9e5 in gcompris_init (argc=1, argv=0xbffffaa4) at
> gcompris.c:688
> #3  0x0804d73b in main (argc=0, argv=0x0) at main.c:32
> (gdb)
> ---
> 
> Bye
> Ralf
> 
> 
> 
> 
> 
> > Bruno.
> > 
> > Le dim 25/01/2004 à 21:26, Ralf Jardon a écrit :
> > > Am So, den 25.01.2004 schrieb Bruno Coudoin um 21:08:
> > > > Hum, I checked the code. It's like the menu plugin cannot be loaded.
> > > > Please, send the full gcompris trace.
> > > 
> > > Ahhhmmm... ok... but how can i do a full trace??? As i said before, i'am
> > > not very experienced in C... 
> > > 
> > > Ralf
> > > 
> > > > 
> > > > Bruno.
> > > > 
> > > > Le dim 25/01/2004 à 12:18, Ralf Jardon a écrit :
> > > > > 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
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > -------------------------------------------------------
> > > > > 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
> > 
> > 
> > 
> > -------------------------------------------------------
> > 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