[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [Bug 158150] amarokcollectionscanner crashes when rediscovering
From:       Florian Genauer <fgenauer () gmx ! de>
Date:       2008-02-21 10:27:35
Message-ID: 20080221102735.28053.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158150         




------- Additional Comments From fgenauer gmx de  2008-02-21 11:27 -------
Wow - thanks for that quick reply!

A I mentioned I made a test dir only containing on album I ripped from scratch to \
ensure tags are ok. I just doublechecked with my self ripped album and one ripped by \
another program.

If I remove the last scanned file from my collection, the progress bar gets stuck, \
and in processlist I can see, that amarokcollectionscanner disappereared.

Altought I am only a long-time amarok user I do not think the files and tags are the \
culprit.

When amarok itself still running I started amarokcollectionscanner manually using \
strace. Here is the result: (I only copied the interesting stuff at the end when it \
comes to the collection scanning.

<-----8<----->
open("/home/tester/.kde/share/apps/amarok/collection_scan.log", \
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=0, \
...}) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0x2aaaab2c7000 write(11, "/tmp/mp3_test/US3/An Ordinary Da"..., 105) = 105
close(11)                               = 0
munmap(0x2aaaab2c7000, 4096)            = 0
access("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/01-An Ordinary Day In \
An Unusual Place (Part 1).mp3", F_OK) = 0 open("/tmp/mp3_test/US3/An Ordinary Day In \
An Unusual Place/01-An Ordinary Day In An Unusual Place (Part 1).mp3", O_RDWR) = 11 \
fstat(11, {st_mode=S_IFREG|0666, st_size=2386982, ...}) = 0 mmap(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab2c7000 lseek(11, 0, \
SEEK_CUR)                  = 0 lseek(11, 0, SEEK_SET)                  = 0
read(11, "ID3\3\0\0\0\0\4\24TENC\0\0\0\16\0\0\0FreeRIP 2.9"..., 4096) = 4096
lseek(11, 4096, SEEK_SET)               = 4096
lseek(11, 4096, SEEK_SET)               = 4096
fstat(11, {st_mode=S_IFREG|0666, st_size=2386982, ...}) = 0
lseek(11, 2383872, SEEK_SET)            = 2383872
read(11, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 3110
lseek(11, 2386982, SEEK_SET)            = 2386982
fstat(11, {st_mode=S_IFREG|0666, st_size=2386982, ...}) = 0
lseek(11, 2386982, SEEK_SET)            = 2386982
lseek(11, 2386982, SEEK_SET)            = 2386982
lseek(11, 2386982, SEEK_SET)            = 2386982
read(11, "", 4096)                      = 0
lseek(11, 0, SEEK_SET)                  = 0
read(11, "ID3\3\0\0\0\0\4\24TENC\0\0\0\16\0\0\0FreeRIP 2.9"..., 542) = 542
read(11, "\377\373\260\4\0\17\360\177\0\302\200 \0\0\20\240\30p\4"..., 4096) = 4096
lseek(11, 4638, SEEK_SET)               = 4638
lseek(11, 4638, SEEK_SET)               = 4638
open("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/01-An Ordinary Day In An \
Unusual Place (Part 1).mp3", O_RDONLY) = 12 fstat(12, {st_mode=S_IFREG|0666, \
st_size=2386982, ...}) = 0 read(12, "ID3\3\0\0\0\0\4\24TENC\0\0\0\16\0\0\0FreeRIP \
2.9"..., 8192) = 8192 fstat(12, {st_mode=S_IFREG|0666, st_size=2386982, ...}) = 0
close(12)                               = 0
stat("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/01-An Ordinary Day In An \
Unusual Place (Part 1).mp3", {st_mode=S_IFREG|0666, st_size=2386982, ...}) = 0 \
close(11)                               = 0 munmap(0x2aaaab2c7000, 4096)            = \
0 write(1, "<tags title=\"An Ordinary Day In "..., 504<tags title="An Ordinary Day In \
An Unusual Place (Part 1)" comment="produced by Geoff Wilkinson" \
audioproperties="true" track="1" samplerate="44100" path="/tmp/mp3_test/US3/An \
Ordinary Day In An Unusual Place/01-An Ordinary Day In An Unusual Place (Part 1).mp3" \
artist="US3" length="99" compilation="-1" bpm="" album="An Ordinary Day In An Unusual \
Place" bitrate="192" year="2001" genre="Acid Jazz" composer="" \
uniqueid="f0db4712152ed9214e4fdbbc97056b61" filetype="1" filesize="2386982" \
discnumber="" /> ) = 504
write(1, "\n", 1
)                       = 1
open("/home/tester/.kde/share/apps/amarok/collection_scan.log", \
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11 fstat(11, {st_mode=S_IFREG|0644, st_size=0, \
...}) = 0 fstat(11, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0x2aaaab2c7000 write(11, "/tmp/mp3_test/US3/An Ordinary Da"..., 68) = 68
close(11)                               = 0
munmap(0x2aaaab2c7000, 4096)            = 0
access("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/02-Get Out.mp3", F_OK) \
= 0 open("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/02-Get Out.mp3", \
O_RDWR) = 11 fstat(11, {st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0x2aaaab2c7000 lseek(11, 0, SEEK_CUR)                  = 0
lseek(11, 0, SEEK_SET)                  = 0
read(11, "ID3\3\0\0\0\0\3oTENC\0\0\0\16\0\0\0FreeRIP 2.9"..., 4096) = 4096
lseek(11, 4096, SEEK_SET)               = 4096
lseek(11, 4096, SEEK_SET)               = 4096
fstat(11, {st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0
lseek(11, 7393280, SEEK_SET)            = 7393280
read(11, "\377\377\377\377\377\3755\246 \246\242\231\227\34\233\0"..., 4096) = 2917
lseek(11, 7396197, SEEK_SET)            = 7396197
fstat(11, {st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0
lseek(11, 7396197, SEEK_SET)            = 7396197
lseek(11, 7396197, SEEK_SET)            = 7396197
lseek(11, 7396197, SEEK_SET)            = 7396197
read(11, "", 4096)                      = 0
lseek(11, 0, SEEK_SET)                  = 0
read(11, "ID3\3\0\0\0\0\3oTENC\0\0\0\16\0\0\0FreeRIP 2.9"..., 505) = 505
read(11, "\377\373\260\4\0\17\360\204\0\303\200 \0\0\20\300\10 \10"   , 4096) = 4096
lseek(11, 4601, SEEK_SET)               = 4601
lseek(11, 4601, SEEK_SET)               = 4601
open("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/02-Get Out.mp3", \
O_RDONLY) = 12 fstat(12, {st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0
read(12, "ID3\3\0\0\0\0\3oTENC\0\0\0\16\0\0\0FreeRIP 2.9"..., 8192) = 8192
fstat(12, {st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0
close(12)                               = 0
stat("/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/02-Get Out.mp3", \
{st_mode=S_IFREG|0666, st_size=7396197, ...}) = 0 close(11)                           \
= 0 munmap(0x2aaaab2c7000, 4096)            = 0
write(1, "<tags title=\"Get Out\" comment=\"p"..., 431<tags title="Get Out" \
comment="produced by Geoff Wilkinson" audioproperties="true" track="2" \
samplerate="44100" path="/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place/02-Get \
Out.mp3" artist="US3" length="308" compilation="-1" bpm="" album="An Ordinary Day In \
An Unusual Place" bitrate="192" year="2001" genre="Acid Jazz" composer="" \
uniqueid="e138466890cdc6186437b6afc0a08871" filetype="1" filesize="7396197" \
discnumber="" /> ) = 431
write(1, "\n", 1
)                       = 1
write(1, "<compilation path=\"/tmp/mp3_test"..., 77<compilation \
path="/tmp/mp3_test/US3/An Ordinary Day In An Unusual Place" /> ) = 77
write(1, "\n", 1
)                       = 1
write(1, "</scanner>\n", 11</scanner>
)            = 11
close(10)                               = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
close(8)                                = 0
close(9)                                = 0
write(5, "\1\v\1\0\1\0\0\0\0\0\0\0\260*\0\0", 16) = 16
close(5)                                = 0
close(6)                                = 0
close(7)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 14654 detached

<----->8----->
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic