This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Collection Scanner - QPixmap Error

Tags: None
(comma "," separated)
User avatar
sut
Registered Member
Posts
6
Karma
0

Collection Scanner - QPixmap Error

Fri Jun 29, 2007 7:49 am
Hello,

i am trying to build my Amarok Collection. Every time when I start to rescan my Collection the Scanner stops at 95 %.

I use:
Mysql Ver 5.0.18-standard for pc-linux-gnu on i686 (MySQL Community Edition - Standard (GPL))
Amarok 1.4.6
mp3 files are stored on windows ntfs - I tried to mount the filesystem described in the amarok wiki and also in other ways

After that i get the following messages:

Code: Select all
The Collection Scanner was unable to process these files:
/mnt/plazenta/music/cds/Reggae feeling/Reggae Feeling - 05 - Sweat (A la la la la long) - Three Trees.mp3
/mnt/plazenta/music/cds/Reim - 2005 - Unverwundbar/Reim - Unverwundbar - 09 - l?mour s?n va.mp3
....


After that i startet to debug amarok. I startet amarok (not amarokapp) in gdb and then i startet the collection scanner again:

Code: Select all
amarok:     [CollectionDB] [WARNING!] Already-scanned file at /mnt/plazenta/music/Comedy/nils/nils_hat_viagra_geschluckt/nils070403.mp3 has same UID as new file at /mnt/plazenta/music/Comedy/nils/nils_ist_schlecht/nils070403.mp3
amarok:     [CollectionDB] [WARNING!] Already-scanned file at /mnt/plazenta/music/music/A-B-C-D/50 Cent - In Da Club.mp3 has same UID as new file at /mnt/plazenta/music/music/A-B-C-D/50 Cent -In the club.mp3

amarok:     [CollectionDB] [WARNING!] Already-scanned file at /mnt/plazenta/music/music/O-P-Q-R-S/stefan raab - Wir Kiffen (short).mp3 has same UID as new file at /mnt/plazenta/music/music/O-P-Q-R-S/stefan raab - Wir Kiffen (vollversion).mp3
amarok:     [CollectionDB] [WARNING!] Already-scanned file at /mnt/plazenta/music/music/O-P-Q-R-S/Sum 41 - Fat Lip.mp3 has same UID as new file at /mnt/plazenta/music/music/O-P-Q-R-S/Sum41 - Fat Lip.mp3
amarok: BEGIN: void CollectionDB::copyTempTables()
amarok: END__: void CollectionDB::copyTempTables() - Took 2.5s
amarok: END__: virtual bool ScanController::doJob() - Took 1.1e+03s
amarok: END__: virtual void ThreadManager::Thread::run() - Took 1.1e+03s
amarok: [CollectionDB] JobFinishedEvent from ScanController received.
amarok: [ThreadManager] Job completed: CollectionScanner. Jobs pending: 0
amarok: BEGIN: virtual ScanController::~ScanController()
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok: BEGIN: virtual bool UrlUpdateJob::doJob()
amarok:       [MountPointManager] Trying to update 0 statistics rows
amarok:       [MountPointManager] Trying to update 0 tags_labels rows
amarok: END__: virtual bool UrlUpdateJob::doJob() - Took 0.1s
amarok: BEGIN: ScanController::ScanController(CollectionDB*, bool, const QStringList&)
amarok: BEGIN: void ScanController::initIncremental()
amarok: END__: void ScanController::initIncremental() - Took 2.5s
amarok: END__: ScanController::ScanController(CollectionDB*, bool, const QStringList&) - Took 2.5s
amarok: BEGIN: virtual void ThreadManager::Thread::run()
amarok: BEGIN: virtual bool ScanController::doJob()
amarok: END__: virtual bool ScanController::doJob() - Took 4e-05s
amarok:       [ThreadManager] Threads in pool: 2
amarok:       [ThreadManager] Threads in pool: 2


I corrected the Problem with the duplicate uid (the files had exactly the same tags - why is this a problem?).
After that I got no errors anymore, but the scanner stopped as usual at ~95 %


next debug session:

Code: Select all
gdb collectionscanner
in gdb: run -r /mnt/plazenta/music/



gdb gave me the following output:

Code: Select all
<tags title="Desecration Smile" comment="_" audioproperties="true" track="1" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-01 - Desecration Smile.mp3" artist="Red Hot Chili Peppers" length="302" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="192" year="2006" genre="Rock" composer="" uniqueid="9b9841f8ff19132d9e452f41afb1c41f" filetype="1" filesize="7280497" discnumber="2" />

<tags title="Tell Me Baby" comment="_" audioproperties="true" track="2" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-02 - Tell Me Baby.mp3" artist="Red Hot Chili Peppers" length="247" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="185" year="2006" genre="Rock" composer="" uniqueid="8f853233c0b8cd216e325175b6854ded" filetype="1" filesize="5741483" discnumber="2" />

[New Thread -1261319248 (LWP 8564)]
amarokcollectionscanner: BEGIN: virtual void ThreadManager::Thread::run()
amarokcollectionscanner: BEGIN: virtual bool UrlUpdateJob::doJob()
amarokcollectionscanner: BEGIN: MySqlConnection::MySqlConnection(const MySqlConfig*)
amarokcollectionscanner:         [CollectionDB] [MySqlConnection::MySqlConnection(const MySqlConfig*)]
amarokcollectionscanner:         [CollectionDB] Connection Charset is now: latin1
amarokcollectionscanner: END__: MySqlConnection::MySqlConnection(const MySqlConfig*) - Took 0.025s
amarokcollectionscanner:       [MountPointManager] Trying to update 0 statistics rows
amarokcollectionscanner:       [MountPointManager] Trying to update 0 tags_labels rows
amarokcollectionscanner: END__: virtual bool UrlUpdateJob::doJob() - Took 0.028s
amarokcollectionscanner: END__: virtual void ThreadManager::Thread::run() - Took 0.028s
[Thread -1261319248 (LWP 8564) exited]
<tags title="Hard To Concentrate" comment="_" audioproperties="true" track="3" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-03 - Hard To Concentrate.mp3" artist="Red Hot Chili Peppers" length="242" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="167" year="2006" genre="Rock" composer="" uniqueid="a648a6ccf23f26bba2788095eaec5922" filetype="1" filesize="5082385" discnumber="2" />

<tags title="21st Century" comment="_" audioproperties="true" track="4" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-04 - 21st Century.mp3" artist="Red Hot Chili Peppers" length="262" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="179" year="2006" genre="Rock" composer="" uniqueid="eac654cc5de7382ad59f792fe05bfaf3" filetype="1" filesize="5894925" discnumber="2" />

<tags title="She Looks To Me" comment="_" audioproperties="true" track="5" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-05 - She Looks To Me.mp3" artist="Red Hot Chili Peppers" length="246" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="199" year="2006" genre="Rock" composer="" uniqueid="f264b5351dbea9bbeb531ce0dc06edea" filetype="1" filesize="6151677" discnumber="2" />

<tags title="Readymade" comment="_" audioproperties="true" track="6" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-06 - Readymade.mp3" artist="Red Hot Chili Peppers" length="270" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="198" year="2006" genre="Rock" composer="" uniqueid="277acaf2d6647e1aaf15f2049d1095fa" filetype="1" filesize="6707725" discnumber="2" />

<tags title="If" comment="_" audioproperties="true" track="7" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-07 - If.mp3" artist="Red Hot Chili Peppers" length="172" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="164" year="2006" genre="Rock" composer="" uniqueid="a2c9c52ee703fe10dfb7e309cf44df6b" filetype="1" filesize="3548750" discnumber="2" />

<tags title="Make You Feel Better" comment="_" audioproperties="true" track="8" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-08 - Make You Feel Better.mp3" artist="Red Hot Chili Peppers" length="232" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="189" year="2006" genre="Rock" composer="" uniqueid="eabf4bccb8c96a7928b48d97a14f3c3d" filetype="1" filesize="5490145" discnumber="2" />

<tags title="Animal Bar" comment="_" audioproperties="true" track="9" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-09 - Animal Bar.mp3" artist="Red Hot Chili Peppers" length="325" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="179" year="2006" genre="Rock" composer="" uniqueid="b461a848dc9cd6b7c53a005e1fce6256" filetype="1" filesize="7278529" discnumber="2" />

<tags title="So Much I" comment="_" audioproperties="true" track="10" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-10 - So Much I.mp3" artist="Red Hot Chili Peppers" length="224" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="184" year="2006" genre="Rock" composer="" uniqueid="d1c43186293d144522f86f71001eb931" filetype="1" filesize="5168081" discnumber="2" />

<tags title="Storm In A Teacup" comment="_" audioproperties="true" track="11" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-11 - Storm In A Teacup.mp3" artist="Red Hot Chili Peppers" length="225" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="193" year="2006" genre="Rock" composer="" uniqueid="1cf53c65022bba483406d99c4873f559" filetype="1" filesize="5457250" discnumber="2" />
<tags title="We Believe" comment="_" audioproperties="true" track="12" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-12 - We Believe.mp3" artist="Red Hot Chili Peppers" length="216" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="170" year="2006" genre="Rock" composer="" uniqueid="5d5c6dfcaf33a884ee2bd32fecfe3e2e" filetype="1" filesize="4594731" discnumber="2" />

<tags title="Turn It Again" comment="_" audioproperties="true" track="13" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-13 - Turn It Again.mp3" artist="Red Hot Chili Peppers" length="366" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="204" year="2006" genre="Rock" composer="" uniqueid="1168ebeedfdcd4958d06888d78a0c9f7" filetype="1" filesize="9376783" discnumber="2" />

<tags title="Death Of A Martian" comment="_" audioproperties="true" track="14" samplerate="44100" path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/Red Hot Chili Peppers - Stadium Arcadium - 2-14 - Death Of A Martian.mp3" artist="Red Hot Chili Peppers" length="265" compilation="-1" bpm="" album="Stadium Arcadium" bitrate="182" year="2006" genre="Rock" composer="" uniqueid="25b1b3caf7645f72e141dd9ea3826408" filetype="1" filesize="6060344" discnumber="2" />

<image path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/000-red_hot_chili_peppers-stadium_arcadium-(proper)-2cd-2006-proof.jpg" list="Red Hot Chili PeppersAMAROK_MAGICStadium ArcadiumAMAROK_MAGIC" />

<image path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium/000-red_hot_chili_peppers-stadium_arcadium-covers-(proper)-2cd-2006.jpg" list="Red Hot Chili PeppersAMAROK_MAGICStadium ArcadiumAMAROK_MAGIC" />

<compilation path="/mnt/plazenta/music/cds/Red Hot Chili Peppers/Red Hot Chili Peppers - 2006 - Stadium Arcadium" />

<dud/><compilation path="/mnt/plazenta/music/cds" />

<tags title="Mr. Loverman" comment="" audioproperties="true" track="1" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 01 - Mr. Loverman - Shabba Ranks.mp3" artist="Shabba Ranks" length="222" compilation="-1" bpm="" album="Reggae feeling" bitrate="176" year="" genre="Reggae" composer="" uniqueid="5f453657e699c476534c0642db222b35" filetype="1" filesize="4897089" discnumber="" />

<tags title="To love somebody" comment="" audioproperties="true" track="2" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 02 - To love somebody - Rita Marley.mp3" artist="Rita Marley" length="250" compilation="-1" bpm="" album="Reggae feeling" bitrate="169" year="" genre="Reggae" composer="" uniqueid="c19155b5e7b6dff0cc5e11ceb63fc5d3" filetype="1" filesize="5303986" discnumber="" />

<tags title="Wild world" comment="" audioproperties="true" track="3" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 03 - Wild world - Maxi Priest.mp3" artist="Maxi Priest" length="220" compilation="-1" bpm="" album="Reggae feeling" bitrate="171" year="" genre="Reggae" composer="" uniqueid="7ebda4f5aee1e1be0e908de4050e51e7" filetype="1" filesize="4724582" discnumber="" />

<tags title="House of Exile" comment="" audioproperties="true" track="4" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 04 - House of Exile - Lucky Dube.mp3" artist="Lucky Dube" length="210" compilation="-1" bpm="" album="Reggae feeling" bitrate="172" year="" genre="Reggae" composer="" uniqueid="7fb19870e0847005c99ce6c022948a0c" filetype="1" filesize="4527324" discnumber="" />

<tags title="Sweat (A la la la la long)" comment="" audioproperties="true" track="5" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 05 - Sweat (A la la la la long) - Three Trees.mp3" artist="Three Trees" length="228" compilation="-1" bpm="" album="Reggae feeling" bitrate="187" year="" genre="Reggae" composer="" uniqueid="e8fba1d78cefeb78dadfeaf2509c6a99" filetype="1" filesize="5333707" discnumber="" />

<tags title="Do you really want to hurt me (extended version)" comment="" audioproperties="true" track="6" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 06 - Do you really want to hurt me (extended version) - Culture club.mp3" artist="Culture club" length="265" compilation="-1" bpm="" album="Reggae feeling" bitrate="182" year="" genre="Reggae" composer="" uniqueid="72aeec0fedd4ce7c3a32e4c0b949e9d1" filetype="1" filesize="6038374" discnumber="" />

<tags title="A whiter shade of pale (Maxi edit version)" comment="" audioproperties="true" track="7" samplerate="44100" path="/mnt/plazenta/music/cds/Reggae feeling/Reggae feeling - 07 - A whiter shade of pale (Maxi edit version) - Ria Hamilton.mp3" artist="Ria Hamilton" length="290" compilation="-1" bpm="" album="Reggae feeling" bitrate="174" year="" genre="Reggae" composer="" uniqueid="d6f0040298ce02d0d2bd4ec5c50c6181" filetype="1" filesize="6333166" discnumber="" />

QPixmap: Cannot create a QPixmap when no GUI is being used

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1257896224 (LWP 8264)]
0xb619c392 in QPixmap::convertFromImage () from /usr/lib/libqt-mt.so.3
(gdb)




I googled QPixmap, but couldn't find any answers.


here is the bt:

Code: Select all
(gdb) bt
#0  0xb6195392 in QPixmap::convertFromImage () from /usr/lib/libqt-mt.so.3
#1  0xb6264d04 in QPixmap::convertFromImage () from /usr/lib/libqt-mt.so.3
#2  0xb626616c in QPixmap::QPixmap () from /usr/lib/libqt-mt.so.3
#3  0xb6ede859 in KCursor::workingCursor () from /usr/lib/libkdeui.so.4
#4  0xb7d99892 in ThreadManager::event (this=0x8b244d8, e=0x8b23150)
    at threadmanager.cpp:209
#5  0xb61e5c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#6  0xb61e7a43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#7  0xb6996e0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#8  0xb7b8acbf in QApplication::sendEvent (receiver=0x8b244d8, event=0x8b23150)
    at /usr/share/qt3/include/qapplication.h:520
#9  0xb61e6c4e in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#10 0xb61e6d56 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#11 0xb618cd6f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#12 0xb62000f1 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#13 0xb61e782a in QApplication::processEvents () from /usr/lib/libqt-mt.so.3
#14 0xb61e7855 in QApplication::processEvents () from /usr/lib/libqt-mt.so.3
#15 0x0806974d in CollectionScanner::scanFiles (this=0xbf82df38,
    entries=@0xbf82d81c) at collectionscanner.cpp:371
#16 0x0806aac7 in CollectionScanner::doJob (this=0xbf82df38)
    at collectionscanner.cpp:161
#17 0x0806ab5e in CollectionScanner::qt_invoke (this=0xbf82df38, _id=21,
    _o=0xbf82d928) at collectionscanner.moc:88
---Type <return> to continue, or q <return> to quit---
#18 0xb624dd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb65d6ee3 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#20 0xb626d8d2 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#21 0xb62752a4 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#22 0xb61e5c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#23 0xb61e7a43 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#24 0xb6996e0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#25 0xb7b8acbf in QApplication::sendEvent (receiver=0x80b0008,
    event=0xbf82dc98) at /usr/share/qt3/include/qapplication.h:520
#26 0xb61d8623 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#27 0xb618d76f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0xb6200179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0xb61fff9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0xb61e77bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x08066dc5 in main (argc=Cannot access memory at address 0x1
) at main.cpp:77
(gdb)





Can anybody help?

Last edited by sut on Fri Jun 29, 2007 2:40 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]