Smeg sometimes segfaults when I run it and go stright into a menu item and click on the icon box to change the icon. Instead of getting a "file open" dialog to find my new icon it just quits with a segfault. I find this in dmesg afterwards: smeg[30085]: segfault at 0000000000000000 rip 00002aaaab63fc90 rsp 00007fffffd49ad8 error 4 I sometimes have to start smeg 3 or 4 times before it works. I am running v0.7.5 of smeg with ~amd64. I had to add these in package.keywords to get it installed: x11-misc/smeg ~amd64 dev-python/pyxdg ~amd64 dev-lang/python ~amd64 dev-python/python-docs ~amd64 emerge info: Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2. 6.12-gentoo-r7-ct12 x86_64) ================================================================= System uname: 2.6.12-gentoo-r7-ct12 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -mtune=athlon64 -ftracer -fprefetch-loop-arrays - pipe -funroll-loops -mfpmath=sse -fweb -frename-registers -fmove-all-movables - fpeel-loops -freduce-all-givs -mno-align-stringops -minline-all-stringops -mno- push-args -momit-leaf-frame-pointer -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/ share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb / usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -mtune=athlon64 -ftracer -fprefetch-loop-arrays - pipe -funroll-loops -mfpmath=sse -fweb -frename-registers -fmove-all-movables - fpeel-loops -freduce-all-givs -mno-align-stringops -minline-all-stringops -mno- push-args -momit-leaf-frame-pointer -fomit-frame-pointer -fvisibility-inlines- hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://gentoo.osuosl.org http:// www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="nb_NO.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 7zip S3TC X Xaw3d a52 aac aalib acpi aim alsa apache2 apm avi bash- completion bcmath berkdb bitmap-fonts browserplugin bzip2 cardbus cdda cddb cdparanoia cdr chroot clamav clamd crypt cups curl directfb doc dvd dvdr encode esd ethereal exif fam fat fbcon fbsplash ffmpeg firefox flac font-server foomaticdb fortran ftp gif gimp gimpprint gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 hal howl icq ieee1394 imagemagick imlib innodb ipv6 jabber java javascript jce jcs jpeg jpeg2k lame ldap libclamav lm_sensors lzw lzw-tiff mad maildir mikmod mng mp3 mp4live mpeg mpeg2 mpeg4 msn msnextras mysql mysqli mythtv nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls no- old-linux nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg oggvorbis opengl openssl pam pda pdflib perl png ppds python qt quicktime rar readline real reiserfs rtc samba sdl sftplogging slang snmp spell sqlite sse-filters ssl subtitles svg svgz sysfs tcpd theora tidy tiff toolbar truetype truetype-fonts type1-fonts unicode urandom usb userlocales utf8 vcd vfat vhosts vim-with-x vorbis wma123 wmf xfs xine xinetd xml xml2 xmlrpc xmms xpm xscreensaver xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS Reproducible: Sometimes Steps to Reproduce: 1. start smeg, click on a menuitem on the left 2. doubleclick on a entry on the right 3. click on the iconbox. Actual Results: It segfaults sometimes, but not always Expected Results: It should have showed me a "file open" dialog so I could choose a new icon for the program. I'm running gnome-base/gnome-light-2.10 on amd64 stable branch, except for these apps: ~sys-devel/gcc-3.4.4 ~amd64 sys-devel/gcc-config ~amd64 sys-libs/libstdc++-v3 ~amd64 sys-libs/glibc ~amd64 media-video/nvidia-kernel ~amd64 media-video/nvidia-glx ~amd64 media-video/nvidia-settings ~amd64 dev-java/sun-jre-bin_x86 ~amd64 dev-java/sun-jdk ~amd64 dev-java/java-sdk-docs ~amd64 www-client/opera ~amd64 gnome-base/gnome-light ~amd64 media-gfx/splashutils ~amd64 net-im/gaim ~amd64 sys-kernel/mm-sources ~amd64 media-gfx/bootsplash-themes ~amd64 sys-apps/lmctl ~amd64 x11-misc/smeg ~amd64 dev-python/pyxdg ~amd64 dev-lang/python ~amd64 dev-python/python-docs ~amd64 media-sound/audacity ~amd64 gnome-extra/gcursor ~amd64 net-irc/xchat ~amd64 app-emulation/emul-linux-x86-mplayerlibs ~amd64 >=media-libs/win32codecs-amd64-20050412 ~amd64 media-video/setpwc ~amd64 =gnome-base/gnome-session-2.10.0-r3 ~amd64 =dev-util/pkgconfig-0.18.1-r1 ~amd64 media-video/mplayer32-bin ~amd64 media-sound/nforce-audio ~amd64 =media-libs/alsa-oss-1.0.9 ~amd64 dev-util/ccache ~amd64
Fix your C[XX]FLAGS and LDFLAGS before reporting any further bugs. Re-emerging at least system target is strongly advised.
I'm sorry. I just thought of that right after I clicked the submit button. I did recompile smeg with a changed CFLAGS and it seems to work fine now. CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -funroll-loops -fomit-frame- pointer"