A new version was released. New ebuild attached since the build process has changed a bit. Reproducible: Always
Created attachment 123357 [details] qmpdclient-1.0.8.ebuild
I get an segmentation fault when I try to start qmpdclient 1.0.8 on my ~amd64 machine. that isn't nice offcource :) But I do appriciate that you have created this ebuild :) My emerge --info output. If there is anymore information wanted, please tell me, I'm willing to give it :) # emerge --info Portage 2.1.3_rc6 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.22-rc6-ragnarok1 x86_64) ================================================================= System uname: 2.6.22-rc6-ragnarok1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 29 Jun 2007 13:30:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--columns" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en en_GB en_US nl" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/php-testing /usr/local/layman/php-experimental /usr/local/layman/gfn-overlay /usr/local/layman/custom-kernels /usr/local/layman/berkano /usr/local/layman/eclipse /usr/local/layman/xeffects /usr/local/layman/xeffects-experimental /root/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apache2 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dga dri dvd dvdr dvdread emboss encode fam firefox fortran gdbm gif glitz gpm gstreamer gtk2 hal iconv ipv6 isdnlog jpeg kde kipi libg++ mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection sdl server session spell spl sqlite sse3 ssl ssse3 svg tcpd threads truetype truetype-fonts type1-fonts unicode vim-syntax vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US nl" USERLAND="GNU" VIDEO_CARDS="(-apm) (-ark) (-chips) (-cirrus) (-cyrix) (-dummy) (-fbdev) (-glint) (-i128) (-i810) (-mga) (-neomagic) nv (-rendition) (-s3) (-s3virge) (-savage) (-siliconmotion) (-sis) (-sisusb) (-tdfx) (-tga) (-trident) (-tseng) (-v4l) vesa vga (-via) vmware (-voodoo) (-epson) (-fglrx) (-i740) (-impact) (-imstt) (-mach64) (-newport) (-nsc) nvidia (-r128) (-radeon) (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx)" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Here also segfault on startup on ~amd64, but unsupported toolchain (glibc-2.6, gcc-4.2.0).
Well, in order to get a meaningful bug report to upstream developer, a backtrace is needed. Here's a link which explains how to get a good backtrace: http://www.gentoo.org/proj/en/qa/backtraces.xml
Created attachment 123705 [details] backtrace.log Attached my backtrace. It's from my ~amd64 system with glibc-2.6 and qt-4.3.0.
I really want to give a backtrace, but when I run qmpdclient in gdb I only get te following: # gdb /usr/bin/qmpdclient GNU gdb 6.6 Copyright (C) 2006 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 "x86_64-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/qmpdclient [Thread debugging using libthread_db enabled] [New Thread 46947272435344 (LWP 23817)] QMutex::lock: Deadlock detected in thread 46947272435344 And then nothing. Not an gdb prompt or anything else. So I think you should use Bens stacktrance.
Created attachment 123789 [details] Improved ebuild
Created attachment 123887 [details] Improved ebuild Now respects user's C(XX)FLAGS and LDFLAGS. Thanks a lot to Flameeyes on IRC for helping.
Thanks, all. OK, I've added 1.0.8 (latest ebuild from Davide with some minor changes) to CVS. I have dropped ~amd64 keyword, and am assigning this bug to amd64 team, since it definitely seems to be arch-specific.
1.0.8 works fine for me on amd64. Just emerged.
I think I've found the bug and I have a patch.
Created attachment 123940 [details] Improved ebuild with patch
Created attachment 123941 [details, diff] qmpdclient-1.0.8-argc-ref-fix.patch
Thanks for the patch! It now works perfectly on ~amd64 with qt-4.3.0 as well as qt-4.2.3.
Thanks, patch is now applied to 1.0.8. amd64, can you please readd your ~keyword to media-sound/qmpdclient-1.0.8 ?
Please note that I have added QMAKE_LINK variable to the command line of qmake in the last attached ebuild. Please add it to the ebuild in portage, thanks.
(In reply to comment #16) > Please note that I have added QMAKE_LINK variable to the command line of qmake > in the last attached ebuild. Please add it to the ebuild in portage, thanks. > Ebuild updated, thanks. amd64@, can you please test and re~keyword?
keyword added