Amarok fails to start when SQLite database is "corrupted"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amarok (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: amarok
Amarok fails to start and issues no errors messages (either in the konsole or in /var/logs/ or /var/crash/)..
At times when running amarok from the terminal, it will issue:
[Loading] Amarok is taking a long time to load. Perhaps something has gone wrong?
This message does not appear every time, however.
elyon225 (elyon225-public) wrote : | #1 |
Scott Kitterman (kitterman) wrote : | #2 |
That's the normal cli startup warnings for amarok. Looks like the process is hanging early in the startup phase.
Luke Schlather (luke2760) wrote : | #3 |
I downloaded and installed the release candidate, and got the same thing, first in fluxbox, then logging out and back in to gnome/compiz.
subtrnl (emailchase) wrote : | #4 |
I have the same problem. Upgraded to 7.10 Gutsy from 7.04 via the Adept Manager.
Problem happens with or without compiz running.
Attempted a apt-get --purge remove amarok and then re-install it to no avail.
Luke Schlather (luke2760) wrote : | #5 |
Mine was just me. Did an
$ rm -R ~/.kde
and that dealt with it.
santosh vattam (vattam-santosh) wrote : | #6 |
I did what luke2760 wrote in the previous message but still it didnt work.
This is the output i got when i started amarok after doing " rm -R ~/.kde":
vattam@
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
kbuildsycoca running...
Reusing existing ksycoca
DCOP Cleaning up dead connections.
kdecore (KAction): WARNING: KAction:
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
kdecore (KAction): WARNING: KAction:
QLayout: Adding KToolBar/
QObject::connect: Incompatible sender/receiver arguments
Amarok: [Loader] Amarok is taking a long time to load! Perhaps something has gone wrong?
vattam@
kio (KIOConnection): ERROR: Header has invalid size (-1)
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 7
Minor opcode: 0
Resource id: 0x360009a
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
Egbert van der Wal (eggie) wrote : | #7 |
I have the exact same problem on the laptop I just installed Gutsy on... Any fix available?
Egbert van der Wal (eggie) wrote : | #8 |
I don't know if it helps anyone else, but I got it fixed by installing xine-ui. Don't know how and why it's related but it works so I'm happy!
santosh vattam (vattam-santosh) wrote : Re: [Bug 149936] Re: Amarok will not start in Kubuntu Gutsy | #9 |
I couldnt bear it anymore.. So i shifted back to feisty.
Evgeny Remizov (ram3ai) wrote : Re: Amarok will not start in Kubuntu Gutsy | #10 |
For me neither of the methods above worked.
The only output is
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
Amarok: [Loader] Amarok is taking a long time to load! Perhaps something has gone wrong?
I could try to debug this if someone shows me how.
Jithin Emmanuel (jithin1987) wrote : | #11 |
I have this problem when i ran amarok with strace This is what i got before i killed it
.......
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 9872}) = 0 (Timeout)
gettimeofday(
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 0}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 9048}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 9244}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 9868}) = 0 (Timeout)
gettimeofday(
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 60}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 5722}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 6872}) = 0 (Timeout)
gettimeofday(
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 94}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 5731}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, 9872}) = 0 (Timeout)
gettimeofday(
waitpid(6028, 0xbfcbf430, WNOHANG) = 0
ioctl(7, FIONREAD, [0]) = 0
ioctl(5, FIONREAD, [0]) = 0
gettimeofday(
select(18, [5 6 7 16 17], [], [], {0, ...
tbrier (tbrier) wrote : | #12 |
You might try this... it worked for me.
Check if you have sqlitebrowser installed-
$which sqlitebrowser
If not, install it.
Kill all instances of amarok or amarokapp-
<Ctrl>+<Esc>
Sort processes by name, select and kill if necessary.
Make a copy of your Amarok database-
$cp $HOME/.
Open the database with sqlitebrowser-
$sqlitebrowser $HOME/.
Click the 'Browse Data' tab, and select the 'Devices' table from the table drop down dialog.
Select the last record by clicking the far left column, then press the ''Delete Record' button until the table is empty.
You may want to select 'Compact Database' from the File menu, but I don't think this is strictly necessary.
Select 'Save Database' from the file menu, then select 'Close Database'.
Amarok now should start normally with all data intact.
-T
Harald Sitter (apachelogger) wrote : | #13 |
Is this report stil valid?
Changed in amarok: | |
status: | New → Incomplete |
Evgeny Remizov (ram3ai) wrote : | #14 |
I had to remove amarok package and to rebuild it from source because of this bug.
shabbychef (shabbychef) wrote : | #15 |
was running into problems like this with amarok. did 2 things:
1. as found on another post about amarok gone bad, ran
$ xine-check
this gave a few warnings. In particular, I had been trying to fix the amarok problem and had removed the libxine-dev package. bad. So I reinstalled the suggested packages until xine-check no longer griped too much.
2. I checked what groups I was in! I was only in the admin and [myusernameasag
$ sudo /usr/sbin/usermod -G audio username
$ newgrp audio
$ amarok &
This worked like a charm. Note that I thought of this only b/c I've had some problems of late on my Gentoo box with upgrades to the pam packages and stuff. I am guessing that I did something similar, perhaps, on this kubuntu box.
Just a thought. Works for me.
shabbychef (shabbychef) wrote : | #16 |
ACK! beware the usermod command as given above! ack! it should be,
$ sudo /usr/sbin/usermod -a -G audio username
the -a makes it an append operation. otherwise you will get bounced from whatever groups you had been in! like admin group for example (ouch!) sorry about that. If I could edit the previous post I would...
dockes (dockes) wrote : | #17 |
SOLVED !
Sometimes, basic things are useful :)
In my case, the problem was related to the groups my username belongs to. I added the following groups and Amarok works like a charm:
adm, admin, audio, cdrom, dialout, dip, fax, floppy, fuse, lpadmin, netdev, plugdev, powerdev, scanner, tape, video.
Hope this would help.
Namain (namain) wrote : | #18 |
tbreir's fix (https:/
Harald Sitter (apachelogger) wrote : | #19 |
Since this issue is probably caused by not adding new users to the audio group it is invalid for Amarok.
Changed in amarok: | |
status: | Incomplete → Invalid |
Jithin Emmanuel (jithin1987) wrote : | #20 |
Thats definitely not the reason. I was in audio groups. Now i am at hardy beta with kde 4 no problems now.
Evgeny Remizov (ram3ai) wrote : | #21 |
I didn't change any group-related stuff, just recompiled from source. Also, my account is the first one on the system.
So this is not the reason for me as well.
Changed in amarok: | |
status: | Invalid → Incomplete |
Harald Sitter (apachelogger) wrote : | #22 |
So apparently this was fixed upstream.
Changed in amarok: | |
status: | Incomplete → Fix Released |
Evgeny Remizov (ram3ai) wrote : | #23 |
Just faced the same issue, now in current Hardy. https:/
Changed in amarok: | |
status: | Fix Released → Confirmed |
Evgeny Remizov (ram3ai) wrote : | #24 |
- collections.tar.gz Edit (2.4 MiB, application/x-tar)
Here are two collection files: .bak is "corrupted", and another one is a working copy after the Devices table has been purged
Tom Schutter (t-schutter) wrote : | #25 |
Although tbreir's fix (https:/
This is on Hardy with version 2:1.4.9.1-0ubuntu3 of amarok.
This is what the [MediaBrowser] section looked like:
[MediaBrowser]
/org/freedeskto
manual|iTouch WiFi|/media/
And some following sections that may be relavant:
[MediaDevice_
AutoDeletePodca
PostDisconnectC
PreConnectComma
SyncStats=true
Transcode=false
TranscodeAlways
TranscodeRemove
[MediaDevice_
AutoDeletePodca
PostDisconnectC
PreConnectComma
SyncStats=true
Transcode=false
TranscodeAlways
TranscodeRemove
Jonathan Thomas (echidnaman) wrote : | #26 |
This bug is quite likely not a problem with Amarok 2, most of which has been completely rewritten. As such I am closing this bug as fixed. Amarok 2 packages can be found for both Intrepid (See kubuntu.org) as well as for Jaunty, where it will become the default music player for Kubuntu 9.04.
Changed in amarok: | |
status: | Confirmed → Fix Released |
Evgeny Remizov (ram3ai) wrote : | #27 |
So you are going to close all bugs related to 1.4 series which the majority of people use (and some will use if they stay, say, on Hardy as LTS release), just because 2.0 is out and you are not even sure whether this bug exists in 2.0 or not? That's really weird.
I understand that the probability of fixing this bug is pretty low, but still it is a bug and it is most probably not fixed.
Lydia Pintscher (lydia-pintscher) wrote : | #28 |
We (as in I and the rest of the Amarok team) no longer work on Amarok 1. We (as in I and the rest of the Kubuntu team) do not have the resources to fix this.
As Amarok 2 will be the only one available in Jaunty there is really no need to keep this open. The probability of this getting fixed is not pretty low it is exactly zero. Sorry :( I hope you will like Amarok 2 when you get to try it.
After killing all amarok-related processes and running amarok in the konsole again, here is the output I receive:
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
Amarok: [Loader] Amarok is taking a long time to load! Perhaps something has gone wrong?