Bug 98653 - KDE Notify and JuK doesn't work
Summary: KDE Notify and JuK doesn't work
Status: RESOLVED DUPLICATE of bug 85889
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: 2.1.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 23:10 UTC by benjamin200
Modified: 2005-02-19 22:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benjamin200 2005-02-05 23:10:43 UTC
Version:           2.1.2 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          x86_64-pc-linux-gnu-3.4.3 * nothing
OS:                Linux

Hello KDE Team,
I have opened a Gentoo bug ID 80100. It's really confuse.
You will find all details below:

###################################

Hello,
I use KDE-3.3.2-r1 and as Soundsystem the ALSA driver which included in the Kernel gentoo-dev-sources-2.6.9-r14. Alsa works fine, I could play sound with mplayer etc. but since some time I could not open JuK (KDE Sound Player) and have also no Start_up Sound if I logged in to KDE.

After I found out that I have issues with KDE Sound I get the error code below:
###############
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 18507)]
[KCrash handler]
#4  0x0000002a9aa93bb2 in TagLib::String::String(TagLib::String const&) ()
   from /usr/lib/libtag.so.1
#5  0x00000000004569d5 in TagLib::List<TagLib::String>::detach() ()
#6  0x0000000000456a09 in TagLib::List<TagLib::String>::begin() ()
#7  0x0000000000474681 in KPassivePopup::metaObject() const ()
#8  0x0000000000474955 in KPassivePopup::metaObject() const ()
#9  0x0000000000464ede in QDataStream& operator>><int>(QDataStream&, QValueList<int>&) ()
#10 0x000000000046594c in QDataStream& operator>><int>(QDataStream&, QValueList<int>&) ()
#11 0x000000000043fd3b in QMap<QChar, QString>::insert(QChar const&, QString const&, bool) ()
#12 0x000000000044209f in QMap<QChar, QString>::insert(QChar const&, QString const&, bool) ()
#13 0x0000000000445725 in QValueList<KURL>::detachInternal() ()
#14 0x0000002a9afca828 in __libc_start_main () from /lib/libc.so.6
#15 0x00000000004293aa in ?? () 
###############

So I completely un-emerged kde and arts, add the USE Flag "arts" to the /etc/make.conf and re-emerged KDE. I also re-emerged gblic, gcc. Now I get an error code (if I try to start JuK) like this below:
###############
Eine korrekte Rückverfolgung ist nicht möglich.
Wahrscheinlich sind die Dateien Ihres Systems in einer Weise erstellt worden, die eine solche Rückverfolgung (Backtrace) nicht erlaubt. Oder der so genannte "Stack Frame" für das Programm wurde durch den Absturz unbrauchbar gemacht.

(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8334)]
0x0000002a9a43b34b in waitpid ()
   from /lib/libpthread.so.0
#0  0x0000002a9a43b34b in waitpid () from /lib/libpthread.so.0
#1  0x0000002a97ffec15 in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.3/lib/libkdecore.so.4
#2  0x0000002a9a43a117 in __pthread_sighandler () from /lib/libpthread.so.0
#3  0x0000002a9aedd290 in killpg () from /lib/libc.so.6
###############

A little bit confuse is the fact, that the KDE Sound-Check Play Sound, but if I test the notifycations (eg. on KDE Start) no sound will be played. I have no idea how I could fix this issue. Hope anyone could help me, to get an working soundsystem in KDE.

Please find the output of "emerge --info" below (Additional Information):
Furher I have open a Thread in the German part of our wonderful Gentoo Forum. If you understand German, you could take a look at:

http://forums.gentoo.org/viewtopic.php?t=284342

P.S.
I have to x86 Gentoo installations, where sound work fine, but not on my AMD system :(


Thx,
Benjamin

Reproducible: Always
Steps to Reproduce:
1.only on this maschine (AMD64)
2.
3.




bash-2.05b# emerge --info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 10 2004, 23:52:25)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts cdr crypt cups esd f77 fam flac
font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk imagemagick imlib ipv6
java jp2 jpeg kde ldap libwww lzw lzw-tiff mikmod motif multilib mysql ncurses
nls oggvorbis opengl oss pam pdflib perl php png python qt readline sdl slang
ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales video xine
xml2 xmms xpm xrandr xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

bash-2.05b#


------- Additional Comment #1 From Gregorio Guidi 2005-01-30 13:05 PST -------

Looks like there are many problems shuffled together, maybe a 
a mixture of bug 79029 and bug 61146...


------- Additional Comment #2 From Benjamin 2005-01-30 13:25 PST -------

From Bug# 61146 I have tried
# revdep-rebuild -X --soname libstdc++.so.5

But with no effect, should I re-compile gcc after set up the above command?


Thx,
Benjamin


------- Additional Comment #3 From Simone Gotti 2005-01-30 13:58 PST -------

> But with no effect, should I re-compile gcc after set up the above command?

I don't think it's related to a mix of gcc 3.3 and 3.4 as on amd64 you should never have gcc 3.3 installed.


------- Additional Comment #4 From Benjamin 2005-01-30 14:06 PST -------

> I don't think it's related to a mix of gcc 3.3 and 3.4 as on amd64 you should never have gcc 3.3 installed.

Never installed gcc 3.3 on amd64. But I have it installed due the installation of Gentoo Stage-1. I have it actually in the gcc-config List. The below:
bash-2.05b# gcc-config -l
[1] x86_64-pc-linux-gnu-3.3.4
[2] x86_64-pc-linux-gnu-3.4.3 *
[3] x86_64-pc-linux-gnu-3.4.3-hardened
[4] x86_64-pc-linux-gnu-3.4.3-hardenednopie
[5] x86_64-pc-linux-gnu-3.4.3-hardenednossp
bash-2.05b#      

P.S.
Do you think that a simple "emerge -e world" should fix the issue? If it spend a long compiling time, this should not be a problem.


------- Additional Comment #5 From Gregorio Guidi 2005-02-01 10:23 PST -------

> Do you think that a simple "emerge -e world" should fix the issue? If it 
> spend a long compiling time, this should not be a problem.

We cannot say, since it's not clear what's causing the issue...

Have you tried recompiling taglib?


------- Additional Comment #6 From Benjamin 2005-02-01 13:04 PST -------

> We cannot say, since it's not clear what's causing the issue...
> Have you tried recompiling taglib?

yes, I read about this. I just try it, but also error messages:
Further, what can I do to make it clear, more debug, but how?

#[New Thread 16384 (LWP 8327)]
0x0000002a9a46f34b in waitpid ()
   from /lib/libpthread.so.0
#0  0x0000002a9a46f34b in waitpid () from /lib/libpthread.so.0
#1  0x0000002a98010c15 in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.3/lib/libkdecore.so.4
#2  0x0000002a9a46e117 in __pthread_sighandler () from /lib/libpthread.so.0
#3  0x0000002a9af11290 in killpg () from /lib/libc.so.6


------- Additional Comment #7 From Benjamin 2005-02-03 10:03 PST -------

Hello,
I just deinstall all kde packages (the second time) and reinstall it completely. But also same error with juk and notification sounds.

I wonder be, because this error message:
###############
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
etc.
etc.
etc.
###############

Hope the problem could be fixed. Suggestion are very welcome :)


Thx,
Benjamin

###################################
Comment 1 benjamin200 2005-02-05 23:46:03 UTC
Just a notice. I use KDE and Gentoo for about 12 month and never have problems with KDE or JuK (for Play and manage audio files). It works perfect under Gentoo. Hope anyone of the KDE developers could help to get more debug and find out where the problem is.

Thanks & greetings from Germany,
Ben
Comment 2 benjamin200 2005-02-06 16:08:57 UTC
If I start juk with the QT debug option I get this:

bash-2.05b$ juk --sync
*** glibc detected *** double free or corruption (out): 0x000000000095f008 ***
juk: ERROR: Communication problem with juk, it probably crashed.
bash-2.05b$
                
Comment 3 Gregorio Guidi 2005-02-18 00:10:42 UTC
Did you really pasted all the gentoo bug here? A link wasn't enough??
Comment 4 Scott Wheeler 2005-02-18 03:13:21 UTC
This is almost certainly an issue of upgrading GCC without recompiling C++ libraries.  The original backtrace and symptoms are identical to the one in bug #85889.

This was kind of mentioned (but not explained) in the Gentoo bug report -- you CAN NOT upgrade GCC without recompiling EVERYTHING that uses C++.  KDE, TagLib, MusicBrainz, libfam, ...

This really should be handled by portage, but sadly it doesn't track this sort of dependancy.

*** This bug has been marked as a duplicate of 85889 ***
Comment 5 benjamin200 2005-02-19 22:53:05 UTC
next time (if a szenario like this occurs) I will only post a link. Sorry for this disagreeableness.

Thx,
Benjamin