Bug 251219 - Bug in glibc 2.12.1-1 and binutils 2.20.1-3
Summary: Bug in glibc 2.12.1-1 and binutils 2.20.1-3
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 16:25 UTC by Gabriel
Modified: 2010-12-14 00:20 UTC (History)
0 users

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 Gabriel 2010-09-14 16:25:08 UTC
Application: amarok (2.3.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

Segmentation fault in ZSH, FTP, XTERM, AMAROK and other only if using glibc 2.12.1-1 and binutils 2.20.1-3,  

here is the dmesg command output:

zsh[19056]: segfault at 7fffd9e4bdaf ip 00007f680a0d3068 sp 00007fffd9e40470 error 6 in libnss_files-2.12.1.so[7f680a0cd000+c000]
ftp[19057]: segfault at 7fffc4fc008f ip 00007fbfdbb63068 sp 00007fffc4fba760 error 6 in libnss_files-2.12.1.so[7fbfdbb5d000+c000]
xterm[19068]: segfault at 7fffc56d1f5f ip 00007f2c62e79068 sp 00007fffc56c6620 error 6 in libnss_files-2.12.1.so[7f2c62e73000+c000]


my system x86_64 version.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe0aa4137a0 (LWP 18997))]

Thread 5 (Thread 0x7fe091e1b710 (LWP 18998)):
#0  0x00007fe0a708d0b3 in select () from /lib/libc.so.6
#1  0x00007fe0a85d5e3d in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fe0a850e485 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fe0a54f2cb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007fe0a70937ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe085a1e710 (LWP 19009)):
#0  0x00007fe0a54f740c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe0a2472b30 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fe0a2472b69 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fe0a54f2cb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007fe0a70937ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe08467f710 (LWP 19010)):
#0  0x00007fe0a54f740c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe0a850eb4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fe0a3f6f1d6 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fe0a3f71583 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fe0a3f7047f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fe0a3f70508 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007fe0a850e485 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fe0a54f2cb0 in start_thread () from /lib/libpthread.so.0
#8  0x00007fe0a70937ad in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe083e7e710 (LWP 19011)):
#0  0x00007fe0a54f740c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fe0a850eb4b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fe0a3f6f1d6 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fe0a3f71583 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fe0a3f7047f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fe0a3f70508 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007fe0a850e485 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fe0a54f2cb0 in start_thread () from /lib/libpthread.so.0
#8  0x00007fe0a70937ad in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe0aa4137a0 (LWP 18997)):
[KCrash Handler]
#6  0x00007fe0a7fbcc00 in QGraphicsProxyWidget::setWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#7  0x00007fe080373162 in LyricsApplet::~LyricsApplet() () from /usr/lib/kde4/amarok_context_applet_lyrics.so
#8  0x00007fe0803731e9 in LyricsApplet::~LyricsApplet() () from /usr/lib/kde4/amarok_context_applet_lyrics.so
#9  0x00007fe0a860665d in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007fe0a7ff251b in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fe0a79ed854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fe0a79f193a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fe0a9e38a76 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007fe0a85f4d3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007fe0a85f849a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#16 0x00007fe0a861d323 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007fe09fb32b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007fe09fb33310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#19 0x00007fe09fb335ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007fe0a861d82f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007fe0a7a8d37e in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007fe0a85f4122 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007fe0a85f435c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007fe0a85f876b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#25 0x00000000004080b7 in _start ()

Possible duplicates by query: bug 251184, bug 251169, bug 250995, bug 250803, bug 250700.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-09-14 17:38:18 UTC
No idea what makes you think this is a bug in glibc and binutils, it is a plasma bug, fixed in the upcoming KDE 4.5.2. See comment #27 in bug 245513 for a workaround.

*** This bug has been marked as a duplicate of bug 245513 ***
Comment 2 Gabriel 2010-09-14 18:44:34 UTC
Hello Myriam Schweingruber

what makes me think is a bug in glibc and binutils, is when i go back to glibc-2.11.1-3 and binutils-2.20.1-2 version work fine.

tnks
Comment 3 Myriam Schweingruber 2010-09-15 08:48:36 UTC
Did you try the workaround suggested? Your backtrace clearly indicats a problem with the Lyrics Applet, and that is clearly a Plasma bug

If it were a bug in glibc and binutils, you should report this there anyway, but read the backtrace again and please test this workaround
Comment 4 Myriam Schweingruber 2010-12-14 00:20:45 UTC
Closing for lack of feedback. Works fine here with Amarok 2.4-git and KDE 4.6 beta 2