The gtk2 file selector segfaults in two applications under different circumstances: 1. Sylpheed-Claws gtk2 cvs version (1.9.6cvs21) everytime when trying to scroll 2. beep-media-player (0.9.7) everytime when doubleclicking on a direcotry, but not if i start bmp in a gdb session !?!? Reproducible: Always Steps to Reproduce: 1. beep-media-player 2. open 3. doubleclick on a directory Actual Results: flo@HAL2000 ~ $ beep-media-player Received SIGSEGV This could be a bug in BMP. If you don't know why this happened, send a mail to us at beepmp-devel@lists.sourceforge.net Aborted Expected Results: should open that folder Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.1, glibc-2.3.4.20050125-r1, 2.6.10-ac8 i686) ================================================================= System uname: 2.6.10-ac8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:16:55)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm avi berkdb bitmap-fonts crypt cups curl dillo dvd emboss encode fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jpeg ldap libg++ libwww mad maildir mbox mikmod mmx motif mozilla moznoxft mp3 mpeg mysql ncurses nls nntp nptl nptlonly oggvorbis opengl oracle oss pam pdflib perl png python quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode xml2 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
remerging gtk, atk and pango fixed the problem with beep-media-player. But the Bug in sylpheed-claws still resides
well, i was to fast, beep media player still segfaults ... :(
we don't deal with cvs versions. Anyone can rep the bmp problem ?
I'll try adding -funroll-loops to my CFLAGS, that might be enough, known unstable flag. Florian, are you sure it's 0.9.7 that you're using? Stable x86 is 0.9.7-r4 and unstable ~x86 is 0.9.7-r5. I need a few hours before I'm back home on a useful PC, could you try without -funroll-loops in your CFLAGS?
Created attachment 55273 [details] folder view
in this folder view you can see the file selector after clicking on the open button in bmp. i can open all folders expect "prodigy" and the folders under that one. if i open every folder from the first one, than go back, and open the next one, it works with all folders. After that, clicking the open button and double click on one of the folder that were leading a crash, does work without any problems !?! i am compiling it right now (the 0.9.7-r5 version) with CFLAGS="-march=pentium4 -O3 -pipe" ..... compiling ... after all, i dont think, that this bug is a bug in beep media player, becouse in the sylpheed-claws version (exact the same as in my first post) at home, i dont have this problem. I also dont have this problem in bmp at home. compiling done... no, doesnt work.
i tried recompiling gtk+ without -funroll-loops, but the bug still exists. which packages are related to the gtk2 file selector?
i got it. remerging glib fixed it, the bug in bmp and the sylpheed bug :)) thats allways a big problem. the software it self is not buggy and i need to remerge something to fix a bug. why is this not done automaticaly?
not reproducable.
emerge glib with ... CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops" a double click on the folder leads to a segfault CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops" is working CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" a SINGLE click on the folder leads to a segfault CFLAGS="-march=pentium4 -O2 -pipe" is working :( CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" is working ! CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer" a SINGLE click on the folder leads to a segfault so it seems to be the -Os flag, allthough at my home computer (athlon xp) it works perfect with -Os ?