Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183593 - media-sound/qmpdclient-1.0.8 segfaults on ~amd64
Summary: media-sound/qmpdclient-1.0.8 segfaults on ~amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-06-29 03:50 UTC by David Bitseff
Modified: 2007-08-01 03:59 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qmpdclient-1.0.8.ebuild (qmpdclient-1.0.8.ebuild,882 bytes, text/plain)
2007-06-29 03:51 UTC, David Bitseff
Details
backtrace.log (backtrace.log,7.83 KB, text/plain)
2007-07-02 17:16 UTC, Ben de Groot (RETIRED)
Details
Improved ebuild (qmpdclient-1.0.8.ebuild,975 bytes, text/plain)
2007-07-03 16:20 UTC, Davide Pesavento (RETIRED)
Details
Improved ebuild (qmpdclient-1.0.8.ebuild,1.22 KB, text/plain)
2007-07-04 16:10 UTC, Davide Pesavento (RETIRED)
Details
Improved ebuild with patch (qmpdclient-1.0.8.ebuild,1.31 KB, text/plain)
2007-07-05 10:37 UTC, Davide Pesavento (RETIRED)
Details
qmpdclient-1.0.8-argc-ref-fix.patch (qmpdclient-1.0.8-argc-ref-fix.patch,1.06 KB, patch)
2007-07-05 10:37 UTC, Davide Pesavento (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Bitseff 2007-06-29 03:50:23 UTC
A new version was released.  New ebuild attached since the build process has changed a bit.


Reproducible: Always
Comment 1 David Bitseff 2007-06-29 03:51:46 UTC
Created attachment 123357 [details]
qmpdclient-1.0.8.ebuild
Comment 2 Cybertinus 2007-06-29 14:42:11 UTC
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

Comment 3 Ben de Groot (RETIRED) gentoo-dev 2007-06-29 14:51:59 UTC
Here also segfault on startup on ~amd64, but unsupported toolchain (glibc-2.6, gcc-4.2.0).
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2007-06-29 21:22:12 UTC
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
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2007-07-02 17:16:51 UTC
Created attachment 123705 [details]
backtrace.log

Attached my backtrace. It's from my ~amd64 system with glibc-2.6 and qt-4.3.0.
Comment 6 Cybertinus 2007-07-02 18:13:16 UTC
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.
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2007-07-03 16:20:26 UTC
Created attachment 123789 [details]
Improved ebuild
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2007-07-04 16:10:17 UTC
Created attachment 123887 [details]
Improved ebuild

Now respects user's C(XX)FLAGS and LDFLAGS. Thanks a lot to Flameeyes on IRC for helping.
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2007-07-04 22:01:43 UTC
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.
Comment 10 Kyle Hunter 2007-07-05 09:25:42 UTC
1.0.8 works fine for me on amd64. Just emerged.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2007-07-05 10:30:54 UTC
I think I've found the bug and I have a patch.
Comment 12 Davide Pesavento (RETIRED) gentoo-dev 2007-07-05 10:37:02 UTC
Created attachment 123940 [details]
Improved ebuild with patch
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2007-07-05 10:37:55 UTC
Created attachment 123941 [details, diff]
qmpdclient-1.0.8-argc-ref-fix.patch
Comment 14 Ben de Groot (RETIRED) gentoo-dev 2007-07-05 16:14:33 UTC
Thanks for the patch! It now works perfectly on ~amd64 with qt-4.3.0 as well as qt-4.2.3.
Comment 15 Andrej Kacian (RETIRED) gentoo-dev 2007-07-05 18:41:36 UTC
Thanks, patch is now applied to 1.0.8.

amd64, can you please readd your ~keyword to media-sound/qmpdclient-1.0.8 ?
Comment 16 Davide Pesavento (RETIRED) gentoo-dev 2007-07-06 12:52:19 UTC
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.
Comment 17 Andrej Kacian (RETIRED) gentoo-dev 2007-07-17 13:59:09 UTC
(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?
Comment 18 Christoph Mende (RETIRED) gentoo-dev 2007-08-01 03:59:11 UTC
keyword added