Bug 106480 - my own backtraces collection(7)
Summary: my own backtraces collection(7)
Status: RESOLVED DUPLICATE of bug 99199
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.2.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 106374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-30 06:17 UTC by Ilya Platonov
Modified: 2006-06-11 12:32 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 Ilya Platonov 2005-05-30 06:17:44 UTC
Version:           1.2.4 (using KDE KDE 3.3.2)
Installed from:    Compiled From Sources

Amarok is greate app, but it is tooooo bugly, I have got a lot of crashes just in week. It is not full list of my crashes.

amarok: END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0s
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
[New Thread 1133775792 (LWP 17197)]
amarok:   BEGIN: virtual bool CurrentTrackJob::doJob()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1110579136 (LWP 17154)]
0x41ae8ea2 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0x41ae8ea2 in mallopt () from /lib/tls/libc.so.6
#1  0x41ae7dcb in free () from /lib/tls/libc.so.6
#2  0x417b3d23 in operator delete () from /usr/lib/libstdc++.so.5
#3  0x414d7434 in QStringData::deleteSelf () from /usr/lib/libqt-mt.so.3
#4  0x40d71ab9 in KStandardDirs::resourceDirs () from /usr/lib/libkdecore.so.4
#5  0x40d6f360 in KStandardDirs::findResourceDir () from /usr/lib/libkdecore.so.4
#6  0x40d6ea6d in KStandardDirs::findResource () from /usr/lib/libkdecore.so.4
#7  0x40d7731f in locate () from /usr/lib/libkdecore.so.4
#8  0x080aad94 in CollectionDB::notAvailCover ()
#9  0x080a9e6a in CollectionDB::getImageForAlbum ()
#10 0x080a9a38 in CollectionDB::findImageByArtistAlbum ()
#11 0x080a9aba in CollectionDB::albumImage ()
#12 0x080a9cd3 in CollectionDB::albumImage ()
#13 0x08125385 in amaroK::OSD::show ()
#14 0x0808faef in App::engineNewMetaData ()
#15 0x081092c4 in EngineSubject::newMetaDataNotify ()
#16 0x081062e4 in EngineController::play ()
#17 0x08131190 in Playlist::activate ()
#18 0x0813bce1 in Playlist::qt_invoke ()
#19 0x4120371c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0x41554c3d in QListView::doubleClicked () from /usr/lib/libqt-mt.so.3
#21 0x40ae2e5e in KListView::contentsMouseDoubleClickEvent () from /usr/lib/libkdeui.so.4
#22 0x41319912 in QScrollView::viewportMouseDoubleClickEvent () from /usr/lib/libqt-mt.so.3
#23 0x4131910a in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#24 0x412e7648 in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#25 0x08134b27 in Playlist::eventFilter ()
#26 0x4120104e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#27 0x41200f7c in QObject::event () from /usr/lib/libqt-mt.so.3
#28 0x41239aaf in QWidget::event () from /usr/lib/libqt-mt.so.3
#29 0x411a6e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#30 0x411a6514 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#31 0x40d37e93 in KApplication::notify () from /usr/lib/libkdecore.so.4
#32 0x4113b5b0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#33 0x4113923e in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#34 0x41150254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#35 0x411b91d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#36 0x411b9088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#37 0x411a7071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#38 0x081be35b in main ()


=================================================
================================================





amarok:   BEGIN: virtual bool CurrentTrackJob::doJob()
amarok:     [405x75]
amarok:     5
amarok:     29
amarok:   END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool) - Took 0.05s
amarok: END__: virtual bool CurrentTrackJob::doJob() - Took 0.11s
[Thread 1182731184 (LWP 18811) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1110579136 (LWP 18032)]
0x41aed1b4 in strcmp () from /lib/tls/libc.so.6
(gdb) bt
#0  0x41aed1b4 in strcmp () from /lib/tls/libc.so.6
#1  0x40e55879 in operator< () from /usr/lib/libkdecore.so.4
#2  0x40e43362 in QMapPrivate<KEntryKey, KEntry>::find () from /usr/lib/libkdecore.so.4
#3  0x40d63553 in KConfig::lookupData () from /usr/lib/libkdecore.so.4
#4  0x40d5aaa1 in KConfigBase::readEntryUtf8 () from /usr/lib/libkdecore.so.4
#5  0x40d5c1cd in KConfigBase::readNumEntry () from /usr/lib/libkdecore.so.4
#6  0x40d5c17b in KConfigBase::readNumEntry () from /usr/lib/libkdecore.so.4
#7  0x40d49c6f in KApplication::qt_static_property () from /usr/lib/libkdecore.so.4
#8  0x40d4a54f in kdbgstream::flush () from /usr/lib/libkdecore.so.4
#9  0x080917c6 in endl ()
#10 0x081a0346 in ThreadWeaver::event ()
#11 0x411a6e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#12 0x411a641e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#13 0x40d37e93 in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0x411a7c16 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#15 0x411a7a96 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#16 0x411501cd in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#17 0x411b91d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#18 0x411b9088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#19 0x411a7071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#20 0x081be35b in main ()

=============================================
=============================================


amarok: [KDE::ProgressBar::ProgressBar(QWidget*, QLabel*)] 
amarok: [StatusBar] 1updateProgressAppearance()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1110579136 (LWP 18843)]
0x41ae90bd in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0x41ae90bd in mallopt () from /lib/tls/libc.so.6
#1  0x41ae88fb in mallopt () from /lib/tls/libc.so.6
#2  0x41ae7c43 in malloc () from /lib/tls/libc.so.6
#3  0x41292b6a in QTextEngine::QTextEngine () from /usr/lib/libqt-mt.so.3
#4  0x412902c0 in QTextLayout::QTextLayout () from /usr/lib/libqt-mt.so.3
#5  0x41209f6e in qt_format_text () from /usr/lib/libqt-mt.so.3
#6  0x411be515 in QFontMetrics::boundingRect () from /usr/lib/libqt-mt.so.3
#7  0x412c1d9a in QLabel::sizeForWidth () from /usr/lib/libqt-mt.so.3
#8  0x412c22fb in QLabel::minimumSizeHint () from /usr/lib/libqt-mt.so.3
#9  0x412c2271 in QLabel::sizeHint () from /usr/lib/libqt-mt.so.3
#10 0x40bb36e3 in KSqueezedTextLabel::sizeHint () from /usr/lib/libkdeui.so.4
#11 0x412c3399 in QLabel::updateLabel () from /usr/lib/libqt-mt.so.3
#12 0x412c15e9 in QLabel::setText () from /usr/lib/libqt-mt.so.3
#13 0x40bb3892 in KSqueezedTextLabel::squeezeTextToLabel () from /usr/lib/libkdeui.so.4
#14 0x40bb3747 in KSqueezedTextLabel::setText () from /usr/lib/libkdeui.so.4
#15 0x081f6ca4 in KDE::StatusBar::resetMainText ()
#16 0x081f80c2 in KDE::StatusBar::updateProgressAppearance ()
#17 0x081f8559 in KDE::StatusBar::qt_invoke ()
#18 0x081fddc1 in amaroK::StatusBar::qt_invoke ()
#19 0x4120371c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0x41203544 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0x4154481b in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#22 0x41224f72 in QTimer::event () from /usr/lib/libqt-mt.so.3
#23 0x411a6e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0x411a641e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0x40d37e93 in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0x41196645 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#27 0x4114fcfb in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0x411b91d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0x411b9088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0x411a7071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x081be35b in main ()

===========================================
===========================================
amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
[New Thread 1133783984 (LWP 24114)]
amarok:   BEGIN: virtual bool CurrentTrackJob::doJob()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1133783984 (LWP 24114)]
0x41aea0b7 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0x41aea0b7 in mallopt () from /lib/tls/libc.so.6
#1  0x41ae98fb in mallopt () from /lib/tls/libc.so.6
#2  0x41ae8c43 in malloc () from /lib/tls/libc.so.6
#3  0x4169735d in png_create_struct_2 () from /usr/lib/libpng12.so.0
#4  0x4168bf2e in png_create_read_struct_2 () from /usr/lib/libpng12.so.0
#5  0x4168bef6 in png_create_read_struct () from /usr/lib/libpng12.so.0
#6  0x41485277 in QPtrVector<QValueVector<QVariant> >::deleteItem ()
   from /usr/lib/libqt-mt.so.3
#7  0x411d925e in QImageIO::read () from /usr/lib/libqt-mt.so.3
#8  0x411d756b in QImage::load () from /usr/lib/libqt-mt.so.3
#9  0x411d0288 in QImage::QImage () from /usr/lib/libqt-mt.so.3
#10 0x080aadaf in CollectionDB::notAvailCover ()
#11 0x080a9e6a in CollectionDB::getImageForAlbum ()
#12 0x080a9a38 in CollectionDB::findImageByArtistAlbum ()
#13 0x080a9aba in CollectionDB::albumImage ()
#14 0x080a9cd3 in CollectionDB::albumImage ()
#15 0x080d6832 in CurrentTrackJob::doJob ()
#16 0x081a0a31 in ThreadWeaver::Thread::run ()
#17 0x4119b4ea in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#18 0x4199fb63 in start_thread () from /lib/tls/libpthread.so.0
#19 0x41b4f18a in clone () from /lib/tls/libc.so.6
(gdb) 


==========================================================
==========================================================
amarok:   BEGIN: virtual bool CurrentTrackJob::doJob()
QImage::smoothScale: Image is a null image
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1133783984 (LWP 24137)]
0x080a0b98 in QValueListPrivate<QString>::QValueListPrivate ()
(gdb) bt
#0  0x080a0b98 in QValueListPrivate<QString>::QValueListPrivate ()
#1  0x080a0a5f in QValueList<QString>::detachInternal ()
#2  0x40d6f4b4 in KStandardDirs::findResourceDir ()
   from /usr/lib/libkdecore.so.4
#3  0x40d6ea6d in KStandardDirs::findResource () from /usr/lib/libkdecore.so.4
#4  0x40d7731f in locate () from /usr/lib/libkdecore.so.4
#5  0x080aad94 in CollectionDB::notAvailCover ()
#6  0x080a9a56 in CollectionDB::findImageByArtistAlbum ()
#7  0x080a9b6d in CollectionDB::albumImage ()
#8  0x080a9cd3 in CollectionDB::albumImage ()
#9  0x080d6832 in CurrentTrackJob::doJob ()
#10 0x081a0a31 in ThreadWeaver::Thread::run ()
#11 0x4119b4ea in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#12 0x4199fb63 in start_thread () from /lib/tls/libpthread.so.0
#13 0x41b4f18a in clone () from /lib/tls/libc.so.6


==================================================
=================================================

amarok:     6
amarok:     45

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1125395376 (LWP 9827)]
0x414b21fa in QDir::filePath () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0x414b21fa in QDir::filePath () from /usr/lib/libqt-mt.so.3
#1  0x080aaf95 in CollectionDB::notAvailCover ()
#2  0x080a9b03 in CollectionDB::albumImage ()
#3  0x080a9cd3 in CollectionDB::albumImage ()
#4  0x080d721c in CurrentTrackJob::doJob ()
#5  0x081a0a31 in ThreadWeaver::Thread::run ()
#6  0x4119b4ea in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#7  0x4199fb63 in start_thread () from /lib/tls/libpthread.so.0
#8  0x41b4f18a in clone () from /lib/tls/libc.so.6

=====================================================
=====================================================

amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)
[New Thread 1133783984 (LWP 11212)]
amarok:   BEGIN: virtual bool CurrentTrackJob::doJob()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1110583232 (LWP 11202)]
0x41ae9887 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0x41ae9887 in mallopt () from /lib/tls/libc.so.6
#1  0x41ae8c43 in malloc () from /lib/tls/libc.so.6
#2  0x417b62fe in operator new () from /usr/lib/libstdc++.so.5
#3  0x414d80a6 in QString::QString () from /usr/lib/libqt-mt.so.3
#4  0x40d73519 in KStandardDirs::saveLocation () from /usr/lib/libkdecore.so.4
#5  0x08090e04 in amaroK::saveLocation ()
#6  0x080a967b in CollectionDB::findImageByArtistAlbum ()
#7  0x080a9aba in CollectionDB::albumImage ()
#8  0x080a9cd3 in CollectionDB::albumImage ()
#9  0x08125385 in amaroK::OSD::show ()
#10 0x0808faef in App::engineNewMetaData ()
#11 0x081092c4 in EngineSubject::newMetaDataNotify ()
#12 0x081062e4 in EngineController::play ()
#13 0x08131190 in Playlist::activate ()
#14 0x0813bce1 in Playlist::qt_invoke ()
#15 0x4120471c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x41555c3d in QListView::doubleClicked () from /usr/lib/libqt-mt.so.3
#17 0x40ae2e5e in KListView::contentsMouseDoubleClickEvent () from /usr/lib/libkdeui.so.4
#18 0x4131a912 in QScrollView::viewportMouseDoubleClickEvent () from /usr/lib/libqt-mt.so.3
#19 0x4131a10a in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#20 0x412e8648 in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#21 0x08134b27 in Playlist::eventFilter ()
#22 0x4120204e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#23 0x41201f7c in QObject::event () from /usr/lib/libqt-mt.so.3
#24 0x4123aaaf in QWidget::event () from /usr/lib/libqt-mt.so.3
#25 0x411a7e1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#26 0x411a7514 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#27 0x40d37e93 in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0x4113c5b0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#29 0x4113a23e in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#30 0x41151254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0x411ba1d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0x411ba088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0x411a8071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x081be35b in main ()
Comment 1 Mark Kretschmann 2005-05-30 07:32:09 UTC
Well, no. Take a look at the backtraces, it's crashing inside of kdelibs, mostly with KConfig operations:

#3  0x40d63553 in KConfig::lookupData () from /usr/lib/libkdecore.so.4 

 
Something's broken with your kdelibs, I'd say. 
Comment 2 Ilya Platonov 2005-05-30 07:43:40 UTC
I'm just using standard kdelibs 3.3.2-6 from Debian sarge.
Comment 3 Ilya Platonov 2005-05-30 07:45:14 UTC
I'm just using standard kdelibs 3.3.2-6 from Debian sarge.
Comment 4 Alexandre Oliveira 2005-05-31 03:39:12 UTC
Yes, seems to be related to problems with kdelibs.
From your first backtrace, for example, how would this code break something:

QImage nocover( locate( "data", "amarok/images/nocover.png" ) );

Backtraces #1, #4 , #5 and #6 claim to be triggered by this same code, though it's crashing in different ways (always inside of kdelibs). 
7 is triggered by a similar function, that really seems to be ok (as far as amaroK is concerned).
#2 crashed in Kconfig, and #3 is a crash in sizeHint() function.
Man, with kdelibs behaving like this I'm surprised amaroK even starts. Really, all too bizarre. Check your kdelibs(-devel), something must be broken. try other version or something. At least, try to compile some other kde application from source and tell us if this will be crashy like this too.
Comment 5 Ilya Platonov 2005-05-31 06:38:27 UTC
I had amarok 1.2.3 installed from Debian distro before, and there was a lot of crashes. Other KDE applications works fine. May be it is a matter of not really correct multi-threading programming :). You know, you can have a lot of hidden problems with this stuff. For example, I had crashes when some Thread tryed to autoscan my music for new files, I have just turned off this feature. Still I'll try to do  something with my libs.
Comment 6 Alexandre Oliveira 2005-05-31 23:43:33 UTC
*** Bug 106374 has been marked as a duplicate of this bug. ***
Comment 7 Alexandre Oliveira 2005-09-09 22:07:18 UTC
Do you use p4 with hyper threading on?
Comment 8 Ilya Platonov 2005-09-10 05:12:54 UTC
Yes I do.
Comment 9 Alexandre Oliveira 2005-09-10 05:29:10 UTC
It seems HT causes some crashes. We still don't know if it's a bug in kernel, QT or what. Let's point all information on the same Bug Report.

*** This bug has been marked as a duplicate of 99199 ***