Summary: | Amarok crashes when searching terms | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Vit Pelcak <vit> |
Component: | Collections/Nepomuk | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | edward.hades, matej, me, vit |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.8.0 | ||
Target Milestone: | 2.9 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Bug Depends on: | 336380 | ||
Bug Blocks: | |||
Attachments: | New crash information added by DrKonqi |
Description
Vit Pelcak
2013-08-22 13:40:03 UTC
I ran amarok --debug --nofork and reproduced crash. Here are some last lines of output which might help. amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: END__: virtual void Collections::NepomukInquirer::run() [Took: 0.058s] amarok: BEGIN: virtual void Collections::NepomukQueryMaker::run() amarok: running the following query "[type 3] [album mode 1] [match genre ] (OR (OR (OR [filter 2 dubs begin(0) end(0)] [filter 1 dubs begin(0) end(0)] [filter 8 dubs begin(0) end(0)] [filter 4 dubs begin(0) end(0)] [filter 134217728 dubs begin(0) end(0)] [filter 32 dubs begin(0) end(0)] [filter 16 dubs begin(0) end(0)] [filter 64 dubs begin(0) end(0)] [filter 268435456 dubs begin(0) end(0)] ) ) ) " amarok: translated into "SELECT DISTINCT ?album ?albumTitle ?albumGain ?albumPeakGain { ?track a nfo:Audio ; nie:title ?trackTitle ; nie:url ?trackUrl . OPTIONAL { ?track nmm:performer ?artist . ?artist nco:fullname ?artistName . } OPTIONAL { ?track nmm:musicAlbum ?album . ?album nie:title ?albumTitle . OPTIONAL { ?album nmm:albumGain ?albumGain . } OPTIONAL { ?album nmm:albumPeakGain ?albumPeakGain . } } OPTIONAL { ?track nmm:genre ?genre . } OPTIONAL { ?track nmm:composer ?composer . ?composer nco:fullname ?composerName . } OPTIONAL { ?track nmm:releaseDate ?year . } OPTIONAL { ?track nfo:codec ?trackType . } OPTIONAL { ?track nfo:duration ?trackLengthSeconds . } OPTIONAL { ?track nfo:averageBitrate ?trackBitrateBPS . } OPTIONAL { ?track nmm:trackNumber ?trackNumber . } OPTIONAL { ?track nmm:beatsPerMinute ?trackBPM . } OPTIONAL { ?track nie:comment ?trackComment . } OPTIONAL { ?track nfo:sampleRate ?trackSampleRate . } OPTIONAL { ?track nfo:fileSize ?trackFileSize . } OPTIONAL { ?track nie:contentSize ?trackFileSize . } OPTIONAL { ?track nmm:trackGain ?trackGain . } OPTIONAL { ?track nmm:trackPeakGain ?trackPeakGain . } OPTIONAL { ?track nie:modified ?trackModifyDate . } OPTIONAL { ?track nie:created ?trackCreateDate . } FILTER( bound(?genre) && str(?genre) = """""" && (((CONTAINS( str(?trackTitle), """dubs""" ) || CONTAINS( str(?trackUrl), """dubs""" ) || CONTAINS( str(?albumTitle), """dubs""" ) || CONTAINS( str(?artistName), """dubs""" ) || CONTAINS( str(?albumArtist), """dubs""" ) || CONTAINS( str(?composerName), """dubs""" ) || CONTAINS( str(?genre), """dubs""" ) || CONTAINS( str(IF( bound(?date), year(?date), 0 )), """dubs""" ) || CONTAINS( str(?label), """dubs""" )))) ) }" amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: BEGIN: virtual void Collections::NepomukQueryMaker::run() amarok: running the following query "[type 4] [match genre ] (OR (OR (OR [filter 2 dubs begin(0) end(0)] [filter 1 dubs begin(0) end(0)] [filter 8 dubs begin(0) end(0)] [filter 4 dubs begin(0) end(0)] [filter 134217728 dubs begin(0) end(0)] [filter 32 dubs begin(0) end(0)] [filter 16 dubs begin(0) end(0)] [filter 64 dubs begin(0) end(0)] [filter 268435456 dubs begin(0) end(0)] ) ) ) " amarok: translated into "SELECT DISTINCT ?artist ?artistName { ?track a nfo:Audio ; nie:title ?trackTitle ; nie:url ?trackUrl . OPTIONAL { ?track nmm:performer ?artist . ?artist nco:fullname ?artistName . } OPTIONAL { ?track nmm:musicAlbum ?album . ?album nie:title ?albumTitle . OPTIONAL { ?album nmm:albumGain ?albumGain . } OPTIONAL { ?album nmm:albumPeakGain ?albumPeakGain . } } OPTIONAL { ?track nmm:genre ?genre . } OPTIONAL { ?track nmm:composer ?composer . ?composer nco:fullname ?composerName . } OPTIONAL { ?track nmm:releaseDate ?year . } OPTIONAL { ?track nfo:codec ?trackType . } OPTIONAL { ?track nfo:duration ?trackLengthSeconds . } OPTIONAL { ?track nfo:averageBitrate ?trackBitrateBPS . } OPTIONAL { ?track nmm:trackNumber ?trackNumber . } OPTIONAL { ?track nmm:beatsPerMinute ?trackBPM . } OPTIONAL { ?track nie:comment ?trackComment . } OPTIONAL { ?track nfo:sampleRate ?trackSampleRate . } OPTIONAL { ?track nfo:fileSize ?trackFileSize . } OPTIONAL { ?track nie:contentSize ?trackFileSize . } OPTIONAL { ?track nmm:trackGain ?trackGain . } OPTIONAL { ?track nmm:trackPeakGain ?trackPeakGain . } OPTIONAL { ?track nie:modified ?trackModifyDate . } OPTIONAL { ?track nie:created ?trackCreateDate . } FILTER( bound(?genre) && str(?genre) = """""" && (((CONTAINS( str(?trackTitle), """dubs""" ) || CONTAINS( str(?trackUrl), """dubs""" ) || CONTAINS( str(?albumTitle), """dubs""" ) || CONTAINS( str(?artistName), """dubs""" ) || CONTAINS( str(?albumArtist), """dubs""" ) || CONTAINS( str(?composerName), """dubs""" ) || CONTAINS( str(?genre), """dubs""" ) || CONTAINS( str(IF( bound(?date), year(?date), 0 )), """dubs""" ) || CONTAINS( str(?label), """dubs""" )))) ) }" amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: BEGIN: virtual void Collections::NepomukQueryMaker::run() amarok: running the following query "[type 1] [match album Buddha Bar XIII: Mixed By Ravin & David Visan] [album mode 1] [match genre ] (OR (OR (OR [filter 2 dubs begin(0) end(0)] [filter 1 dubs begin(0) end(0)] [filter 8 dubs begin(0) end(0)] [filter 4 dubs begin(0) end(0)] [filter 134217728 dubs begin(0) end(0)] [filter 32 dubs begin(0) end(0)] [filter 16 dubs begin(0) end(0)] [filter 64 dubs begin(0) end(0)] [filter 268435456 dubs begin(0) end(0)] ) ) ) " amarok: translated into "SELECT DISTINCT ?track ?trackTitle ?trackUrl ?trackType (concat(str(?trackLengthSeconds), "000") AS ?trackLength) (?trackBitrateBPS / 1000 AS ?trackBitrate) ?trackNumber ?trackBPM ?trackComment ?trackSampleRate ?trackFileSize ?trackGain ?trackPeakGain ?trackModifyDate ?trackCreateDate ?artist ?artistName ?album ?albumTitle ?albumGain ?albumPeakGain ?genre ?composer ?composerName ?date (IF( bound(?date), year(?date), 0 ) AS ?year) { ?track a nfo:Audio ; nie:title ?trackTitle ; nie:url ?trackUrl . OPTIONAL { ?track nmm:performer ?artist . ?artist nco:fullname ?artistName . } OPTIONAL { ?track nmm:musicAlbum ?album . ?album nie:title ?albumTitle . OPTIONAL { ?album nmm:albumGain ?albumGain . } OPTIONAL { ?album nmm:albumPeakGain ?albumPeakGain . } } OPTIONAL { ?track nmm:genre ?genre . } OPTIONAL { ?track nmm:composer ?composer . ?composer nco:fullname ?composerName . } OPTIONAL { ?track nmm:releaseDate ?year . } OPTIONAL { ?track nfo:codec ?trackType . } OPTIONAL { ?track nfo:duration ?trackLengthSeconds . } OPTIONAL { ?track nfo:averageBitrate ?trackBitrateBPS . } OPTIONAL { ?track nmm:trackNumber ?trackNumber . } OPTIONAL { ?track nmm:beatsPerMinute ?trackBPM . } OPTIONAL { ?track nie:comment ?trackComment . } OPTIONAL { ?track nfo:sampleRate ?trackSampleRate . } OPTIONAL { ?track nfo:fileSize ?trackFileSize . } OPTIONAL { ?track nie:contentSize ?trackFileSize . } OPTIONAL { ?track nmm:trackGain ?trackGain . } OPTIONAL { ?track nmm:trackPeakGain ?trackPeakGain . } OPTIONAL { ?track nie:modified ?trackModifyDate . } OPTIONAL { ?track nie:created ?trackCreateDate . } FILTER( bound(?albumTitle) && str(?albumTitle) = """Buddha Bar XIII: Mixed By Ravin & David Visan""" && bound(?genre) && str(?genre) = """""" && (((CONTAINS( str(?trackTitle), """dubs""" ) || CONTAINS( str(?trackUrl), """dubs""" ) || CONTAINS( str(?albumTitle), """dubs""" ) || CONTAINS( str(?artistName), """dubs""" ) || CONTAINS( str(?albumArtist), """dubs""" ) || CONTAINS( str(?composerName), """dubs""" ) || CONTAINS( str(?genre), """dubs""" ) || CONTAINS( str(IF( bound(?date), year(?date), 0 )), """dubs""" ) || CONTAINS( str(?label), """dubs""" )))) ) }" amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: BEGIN: virtual void Collections::NepomukQueryMaker::run() amarok: running the following query "[type 3] [match 1 artist Mt Eden] [match genre ] (OR (OR (OR [filter 2 dubs begin(0) end(0)] [filter 1 dubs begin(0) end(0)] [filter 8 dubs begin(0) end(0)] [filter 4 dubs begin(0) end(0)] [filter 134217728 dubs begin(0) end(0)] [filter 32 dubs begin(0) end(0)] [filter 16 dubs begin(0) end(0)] [filter 64 dubs begin(0) end(0)] [filter 268435456 dubs begin(0) end(0)] ) ) ) " amarok: translated into "SELECT DISTINCT ?album ?albumTitle ?albumGain ?albumPeakGain { ?track a nfo:Audio ; nie:title ?trackTitle ; nie:url ?trackUrl . OPTIONAL { ?track nmm:performer ?artist . ?artist nco:fullname ?artistName . } OPTIONAL { ?track nmm:musicAlbum ?album . ?album nie:title ?albumTitle . OPTIONAL { ?album nmm:albumGain ?albumGain . } OPTIONAL { ?album nmm:albumPeakGain ?albumPeakGain . } } OPTIONAL { ?track nmm:genre ?genre . } OPTIONAL { ?track nmm:composer ?composer . ?composer nco:fullname ?composerName . } OPTIONAL { ?track nmm:releaseDate ?year . } OPTIONAL { ?track nfo:codec ?trackType . } OPTIONAL { ?track nfo:duration ?trackLengthSeconds . } OPTIONAL { ?track nfo:averageBitrate ?trackBitrateBPS . } OPTIONAL { ?track nmm:trackNumber ?trackNumber . } OPTIONAL { ?track nmm:beatsPerMinute ?trackBPM . } OPTIONAL { ?track nie:comment ?trackComment . } OPTIONAL { ?track nfo:sampleRate ?trackSampleRate . } OPTIONAL { ?track nfo:fileSize ?trackFileSize . } OPTIONAL { ?track nie:contentSize ?trackFileSize . } OPTIONAL { ?track nmm:trackGain ?trackGain . } OPTIONAL { ?track nmm:trackPeakGain ?trackPeakGain . } OPTIONAL { ?track nie:modified ?trackModifyDate . } OPTIONAL { ?track nie:created ?trackCreateDate . } FILTER( 0 && bound(?genre) && str(?genre) = """""" && (((CONTAINS( str(?trackTitle), """dubs""" ) || CONTAINS( str(?trackUrl), """dubs""" ) || CONTAINS( str(?albumTitle), """dubs""" ) || CONTAINS( str(?artistName), """dubs""" ) || CONTAINS( str(?albumArtist), """dubs""" ) || CONTAINS( str(?composerName), """dubs""" ) || CONTAINS( str(?genre), """dubs""" ) || CONTAINS( str(IF( bound(?date), year(?date), 0 )), """dubs""" ) || CONTAINS( str(?label), """dubs""" )))) ) }" amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: BEGIN: virtual void Collections::NepomukQueryMaker::run() amarok: running the following query "[type 1] [match album Sierra Leone (Ephixa remix)] [match 1 artist Mt Eden] [match genre ] (OR (OR (OR [filter 2 dubs begin(0) end(0)] [filter 1 dubs begin(0) end(0)] [filter 8 dubs begin(0) end(0)] [filter 4 dubs begin(0) end(0)] [filter 134217728 dubs begin(0) end(0)] [filter 32 dubs begin(0) end(0)] [filter 16 dubs begin(0) end(0)] [filter 64 dubs begin(0) end(0)] [filter 268435456 dubs begin(0) end(0)] ) ) ) " amarok: translated into "SELECT DISTINCT ?track ?trackTitle ?trackUrl ?trackType (concat(str(?trackLengthSeconds), "000") AS ?trackLength) (?trackBitrateBPS / 1000 AS ?trackBitrate) ?trackNumber ?trackBPM ?trackComment ?trackSampleRate ?trackFileSize ?trackGain ?trackPeakGain ?trackModifyDate ?trackCreateDate ?artist ?artistName ?album ?albumTitle ?albumGain ?albumPeakGain ?genre ?composer ?composerName ?date (IF( bound(?date), year(?date), 0 ) AS ?year) { ?track a nfo:Audio ; nie:title ?trackTitle ; nie:url ?trackUrl . OPTIONAL { ?track nmm:performer ?artist . ?artist nco:fullname ?artistName . } OPTIONAL { ?track nmm:musicAlbum ?album . ?album nie:title ?albumTitle . OPTIONAL { ?album nmm:albumGain ?albumGain . } OPTIONAL { ?album nmm:albumPeakGain ?albumPeakGain . } } OPTIONAL { ?track nmm:genre ?genre . } OPTIONAL { ?track nmm:composer ?composer . ?composer nco:fullname ?composerName . } OPTIONAL { ?track nmm:releaseDate ?year . } OPTIONAL { ?track nfo:codec ?trackType . } OPTIONAL { ?track nfo:duration ?trackLengthSeconds . } OPTIONAL { ?track nfo:averageBitrate ?trackBitrateBPS . } OPTIONAL { ?track nmm:trackNumber ?trackNumber . } OPTIONAL { ?track nmm:beatsPerMinute ?trackBPM . } OPTIONAL { ?track nie:comment ?trackComment . } OPTIONAL { ?track nfo:sampleRate ?trackSampleRate . } OPTIONAL { ?track nfo:fileSize ?trackFileSize . } OPTIONAL { ?track nie:contentSize ?trackFileSize . } OPTIONAL { ?track nmm:trackGain ?trackGain . } OPTIONAL { ?track nmm:trackPeakGain ?trackPeakGain . } OPTIONAL { ?track nie:modified ?trackModifyDate . } OPTIONAL { ?track nie:created ?trackCreateDate . } FILTER( 0 && bound(?genre) && str(?genre) = """""" && (((CONTAINS( str(?trackTitle), """dubs""" ) || CONTAINS( str(?trackUrl), """dubs""" ) || CONTAINS( str(?albumTitle), """dubs""" ) || CONTAINS( str(?artistName), """dubs""" ) || CONTAINS( str(?albumArtist), """dubs""" ) || CONTAINS( str(?composerName), """dubs""" ) || CONTAINS( str(?genre), """dubs""" ) || CONTAINS( str(IF( bound(?date), year(?date), 0 )), """dubs""" ) || CONTAINS( str(?label), """dubs""" )))) ) }" amarok: END__: virtual void Collections::NepomukQueryMaker::run() [Took: 0s] amarok: END__: virtual void Collections::NepomukInquirer::run() [Took: 0.68s] amarok: END__: virtual void Collections::NepomukInquirer::run() [Took: 0.68s] amarok: END__: virtual void Collections::NepomukInquirer::run() [Took: 0.68s] amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: [ERROR__] [MySqlStorage] "GREPME MySQL-server query failed! (1046) No database selected on SELECT DISTINCT albums.name, albums.id, albums.artist FROM albums JOIN tracks ON tracks.album = albums.id INNER JOIN urls ON tracks.url = urls.id LEFT JOIN artists ON tracks.artist = artists.id LEFT JOIN artists AS albumartists ON albums.artist = albumartists.id LEFT JOIN genres ON tracks.genre = genres.id LEFT JOIN composers ON tracks.composer = composers.id LEFT JOIN years ON tracks.year = years.id WHERE 1 AND urls.deviceid in (1,2,3,-1) AND albumartists.name = 'Mt Eden' AND genres.name = '' AND ( 1 AND ( 0 OR ( 0 OR ( 0 OR tracks.title LIKE '%dubs%' COLLATE utf8_unicode_ci OR urls.rpath LIKE '%dubs%' COLLATE utf8_unicode_ci OR albums.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR artists.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR albumartists.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR composers.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR genres.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR years.name LIKE '%dubs%' COLLATE utf8_unicode_ci OR tracks.url IN (SELECT a.url FROM urls_labels a INNER JOIN labels b ON a.label = b.id WHERE b.label LIKE '%dubs%' COLLATE utf8_unicode_ci ) ))) ) ;" amarok: BEGIN: virtual void Collections::NepomukInquirer::run() amarok: Fatal IO error: client killed amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30737 ( "trash://" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30755 ( "https://catalog.librivox.org" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30750 ( "http://listen.di.fm" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30747 ( "http://listen.di.fm" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30752 ( "http://listen.di.fm" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30744 ( "http://listen.di.fm" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30742 ( "http://ws.audioscrobbler.com" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30749 ( "http://protonradio.com" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30773 ( "file://" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30771 ( "file://" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30768 ( "file://" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30769 ( "file://" ) amarok(30722)/kio (Slave) KIO::Slave::kill: killing slave pid 30770 ( "file://" ) KCrash: Application 'amarok' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/vpelcak/.kde4/socket-theseus/kdeinit4__0 [1]+ Pozastavena amarok --debug --nofork Could be Nepomuk collection related. Looks more like a failed mysql connection. Vit, can you please try disabling the Nepomuk collection in Amarok settings and try to reproduce the problem? Also: does your Local collection work? Created attachment 81853 [details]
New crash information added by DrKonqi
amarok (2.8.0) on KDE Platform 4.10.5 using Qt 4.8.4
I have disabled Nepomuk collection in setup, stopped amarok and started amarok --debug --nofork
Then I reproduced issue again.
-- Backtrace (Reduced):
#7 0x00007f2be54eb354 in ThreadWeaver::WeaverImpl::takeFirstAvailableJob (this=0x27d19d0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:335
#8 0x00007f2be54ed339 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2793400, th=0x7f2bc003c090) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:62
#9 0x00007f2be54ec20f in ThreadWeaver::ThreadRunHelper::run (this=0x7f2bbb7fddc0, parent=0x27d19d0, th=0x7f2bc003c090) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87
#10 0x00007f2be54ec29b in ThreadWeaver::Thread::run (this=0x7f2bc003c090) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#11 0x00007f2be892e1bc in QThreadPrivate::start (arg=0x7f2bc003c090) at thread/qthread_unix.cpp:338
My bad. I didn't disable Nepomuk module in setup. Sorry. After disabling Nepomuk, issue disappeared. This seems to me like http://forums.gentoo.org/viewtopic-t-628616.html - which was reportedly solved by a patch to X.org. The Forum thread is very ancient though. The MySQL error is rather strange, but the real problem is IMO this line: amarok: Fatal IO error: client killed ...which suggests this may not be an Amarok bug, but it rather just triggers it. Edward, are you sure there cannot be any GUI calls in the NepomukQueryMaker::run(), NepomukInquirer::run()? (but still, these would show up differently IMO) (In reply to comment #7) > Edward, are you sure there cannot be any GUI calls in the > NepomukQueryMaker::run(), NepomukInquirer::run()? (but still, these would > show up differently IMO) Not that I know of. It just communicates with Soprano through a local socket. Can you see anything wrong with the ThreadWeaver usage in NepomukQueryMaker? Since Nepomuk has been discontinued and KDE is now using a different technology, I close this as unmaintained. The Nepomuk Collection element will be removed. |