After successfully emerging d4x-2.5.0-r1, when d4x is launched from a terminal, it core dumps and closes. emerge --info: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 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="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.se ren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ft p://gentoo.agsn.ca/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http:// ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec. informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gen too/ http://ftp.ceid.upatras.gr/pub/linux/gentoo http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.s nt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ht tp://mirror.etf.bg.ac.yu/gentoo http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ ftp://gentoo.risq.qc.ca/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib caps cdr crypt cups cu rl doc dvd dvdr dvdread eds emboss encode esd exif fam fbcon flac foomaticdb fortran gd gdbm gif gimpprint glx gnome gnu tls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal ldap li bg++ libwww mad mikmod mime mmx mmxext motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-f onts type1-fonts unicode userlocales vorbis xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc " Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
it works for me... please post the exact error message and the output of emerge -pv d4x
(In reply to comment #1) > it works for me... > > please post the exact error message and the output of emerge -pv d4x From console: lourdas@helios ~ $ d4x Segmentation fault lourdas@helios ~ $ helios ~ # emerge -pv d4x These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/d4x-2.5.0-r1 +esd +gnome +kde +nls +oss 0 kB Total size of downloads: 0 kB
ok. i've compiled the program with your exact USE flags, and it still runs fine for me. i can't reproduce it at all you might try some of the debugging techniques that chriswhite lists in this guide: http://www.gentoo.org/doc/en/bugzilla-howto.xml.
(In reply to comment #3) > ok. i've compiled the program with your exact USE flags, and it still runs fine > for me. i can't reproduce it at all > > you might try some of the debugging techniques that chriswhite lists in this > guide: http://www.gentoo.org/doc/en/bugzilla-howto.xml. Thank you for the link. It was very helpful. OK, I compiled the program with debugging support (ebuild <build name> unpack, ./configure --enable-debug) and run it with: gdb --args ./nt and got the following output: lourdas@helios /var/tmp/portage/d4x-2.5.0-r1/work/d4x-2.5.0final/main $ gdb --args ./nt GNU gdb 6.3 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /var/tmp/portage/d4x-2.5.0-r1/work/d4x-2.5.0final/main/nt [Thread debugging using libthread_db enabled] [New Thread -1209488992 (LWP 30094)] [New Thread -1210774608 (LWP 30097)] [New Thread -1220600912 (LWP 30098)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209488992 (LWP 30094)] 0xb7534b19 in do_smooth_draw_shadow () from /usr/lib/gtk-2.0/2.4.0/engines/libsmooth.so (gdb) Could this be a GTK+ issue?
(In reply to comment #4) > Could this be a GTK+ issue? yes, it could be. try remerging gtk+ by issuing the following command as root: emerge --oneshot =x11-libs/gtk+-2* then try remerging d4x (normally) and see if the problem still occurs
(In reply to comment #5) > (In reply to comment #4) > > Could this be a GTK+ issue? > > yes, it could be. try remerging gtk+ by issuing the following command as root: > > emerge --oneshot =x11-libs/gtk+-2* > > then try remerging d4x (normally) and see if the problem still occurs No change unfortunately.
`emerge -pv gtk+` please
(In reply to comment #7) > `emerge -pv gtk+` please helios ~ # emerge -pv gtk+ These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/gtk+-2.6.7 +doc +jpeg -static +tiff 0 kB Total size of downloads: 0 kB
I have the same problem. davidov@music ~ $ d4x Segmentation fault davidov@music ~ $ d4x --version WebDownloader for X 2.5.0final davidov@music ~ $ emerge -pv d4x These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild UD] net-misc/d4x-2.5.0_rc4 [2.5.0-r1] -esd +gnome -kde +nls -oss 0 kB Total size of downloads: 0 kB davidov@music ~ $ emerge --info distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 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="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" LANG="ru_RU.koi8r" LC_ALL="ru_RU.koi8r" MAKEOPTS="-j2" PKGDIR="/mnt/win_h/portage-pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X aac aalib acpi alsa apm avi bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cdr cpdflib crypt cups curl divx doc dvd dvdr dvdread eds emacs emboss encode ethereal exif fam firefox flac flash flatfile fontserver foomaticdb fortran ftp gcj gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick imlib ipv6 jabber java jpeg libg++ libwww mad mikmod ming mmx mmxext mng motif mozilla mozsvg mp3 mpeg mule ncurses nls nptl ogg oggvorbis opengl oscar pam pcre pda pdflib perl php plotutils plugin png pnp posix ppds python quicktime readline samba sdl sockets spell sqlite sse ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vorbis wmf x xine xml xml2 xmms xosd xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
I had the same problem. But it was solved when I changed to one of the default Gnome themes. (Notably Ocean Dream). It works on some other themes, but not all.
Confirmed. When I change the theme to Ocean Dream (as you say), it works. It also works for some other themes, like Mist for example. Currently, I use a custom theme, which uses this combination: Glider controls, Clearlooks window border and Snow Apple icons (downloaded from art.gnome.org if I remember correctly).
Seems to be fixed in 2.5.2. http://bugs.gentoo.org/show_bug.cgi?id=103765
(In reply to comment #12) > Seems to be fixed in 2.5.2. http://bugs.gentoo.org/show_bug.cgi?id=103765 No, it is not fixed. I've just emerged it and the same problem still exists (if the theme is changed to a standard one, it starts, otherwise it doesn't).
Could you try version 2.5.5?(In reply to comment #11) > Confirmed. When I change the theme to Ocean Dream (as you say), it works. It > also works for some other themes, like Mist for example. Currently, I use a > custom theme, which uses this combination: Glider controls, Clearlooks window > border and Snow Apple icons (downloaded from art.gnome.org if I remember correctly). Segfaults on some other themes too. Upstream knows about issue: http://www.krasu.ru/soft/chuchelo/forum.php3?forumaction=showmessage&forummessage=2044
(In reply to comment #14) > Could you try version 2.5.5?(In reply to comment #11) Ok, version 2.5.5 works for me. I also tried a few other Gnome themes and it seems to work fine.
(In reply to comment #15) > Ok, version 2.5.5 works for me. I also tried a few other Gnome themes and it > seems to work fine. Oh, I forgot to mention that you should apply the patch in bug http://bugs.gentoo.org/show_bug.cgi?id=107297 in order to emerge 2.5.5 without problems.
(In reply to comment #15) > Ok, version 2.5.5 works for me. I also tried a few other Gnome themes and it > seems to work fine. Good. (In reply to comment #16) > Oh, I forgot to mention that you should apply the patch in bug > http://bugs.gentoo.org/show_bug.cgi?id=107297 in order to emerge 2.5.5 without > problems. It's included in 2.5.5 ebuild already.
(In reply to comment #17) > It's included in 2.5.5 ebuild already. Is it? I had to manually apply the patch for this version.
Please check ChangeLog: http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-misc/d4x/ChangeLog?rev=1.34&view=markup Also please use 'emerge --sync'.