Bug 307787 - Amarok craches when deleting music on iPod nano (Blue)
Summary: Amarok craches when deleting music on iPod nano (Blue)
Status: RESOLVED LATER
Alias: None
Product: amarok
Classification: Applications
Component: Collections/iPod iPhone (show other bugs)
Version: 2.6.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-03 17:23 UTC by Tom
Modified: 2012-10-21 11:30 UTC (History)
1 user (show)

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 Tom 2012-10-03 17:23:07 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-3-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

I delete somemp3  in ipod nano (Blue) after recreating/readd missing parts and orphaned

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f66e9a037a0 (LWP 7028))]

Thread 9 (Thread 0x7f66c12bb700 (LWP 7030)):
#0  0x00007f66e62faac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f66dfaab484 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f66dfaab5a4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f66e6c7c296 in QEventDispatcherGlib::processEvents (this=0x27257f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f66e6c4c8af in QEventLoop::processEvents (this=this@entry=0x7f66c12bad10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f66e6c4cb38 in QEventLoop::exec (this=0x7f66c12bad10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f66e6b4fd70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f66e6c2d1bf in QInotifyFileSystemWatcherEngine::run (this=0x2723d80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x2723d80) at thread/qthread_unix.cpp:307
#9  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#10 0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f66c0a85700 (LWP 7031)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f66e6b5320b in wait (time=18446744073709551615, this=0x295b320) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a434f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f66e40c3301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2a43300, th=0x2a4db20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f66e40c5b4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x2a4db20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f66e40c5b64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x2a4db20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f66e40c49bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f66c0a84d40, parent=0x2a43300, th=th@entry=0x2a4db20) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f66e40c4a4b in ThreadWeaver::Thread::run (this=0x2a4db20) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x2a4db20) at thread/qthread_unix.cpp:307
#9  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#10 0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f66bb58f700 (LWP 7032)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f66e6b5320b in wait (time=18446744073709551615, this=0x295b320) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a434f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f66e40c3301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2a43300, th=0x2ba9e30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f66e40c5b4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x2ba9e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f66e40c5b64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x2ba9e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f66e40c5b64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x2ba9e30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f66e40c49bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f66bb58ed40, parent=0x2a43300, th=th@entry=0x2ba9e30) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f66e40c4a4b in ThreadWeaver::Thread::run (this=0x2ba9e30) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x2ba9e30) at thread/qthread_unix.cpp:307
#10 0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#11 0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#12 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f66bad8e700 (LWP 7033)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f66e6b5320b in wait (time=18446744073709551615, this=0x295b320) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2a434f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f66e40c3301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2a43300, th=0x29a17a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f66e40c5b4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x29a17a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f66e40c5b64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2a32330, th=0x29a17a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f66e40c49bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f66bad8dd40, parent=0x2a43300, th=th@entry=0x29a17a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f66e40c4a4b in ThreadWeaver::Thread::run (this=0x29a17a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x29a17a0) at thread/qthread_unix.cpp:307
#9  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#10 0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f66ba58d700 (LWP 7034)):
[KCrash Handler]
#6  0x00007f66c20ad94f in ?? () from /usr/lib/x86_64-linux-gnu/libgpod.so.4
#7  0x00007f66c20b6033 in ?? () from /usr/lib/x86_64-linux-gnu/libgpod.so.4
#8  0x00007f66c20b790f in itdb_write () from /usr/lib/x86_64-linux-gnu/libgpod.so.4
#9  0x00007f66c2541c6f in IpodCollection::writeDatabase (this=0x293eea0) at ../../../../../src/core-impl/collections/ipodcollection/IpodCollection.cpp:668
#10 0x00007f66e40c51ba in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f66ba58ccf0, th=th@entry=0x7f66bc0da9d0, job=job@entry=0x7f66bc4ae440) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x00007f66e40c5331 in ThreadWeaver::Job::execute (this=0x7f66bc4ae440, th=0x7f66bc0da9d0) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x00007f66e40c498f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f66ba58cd40, parent=0x2a43300, th=th@entry=0x7f66bc0da9d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x00007f66e40c4a4b in ThreadWeaver::Thread::run (this=0x7f66bc0da9d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x7f66bc0da9d0) at thread/qthread_unix.cpp:307
#15 0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#16 0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#17 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f66b90be700 (LWP 7035)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f66dc6e7c0d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f66dc6e7d19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#4  0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#5  0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f66b3fff700 (LWP 7036)):
#0  0x00007f66e62faac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=9068) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f66dfaab484 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f66dfaab5a4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f66e6c7c296 in QEventDispatcherGlib::processEvents (this=0x2edbb60, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f66e6c4c8af in QEventLoop::processEvents (this=this@entry=0x7f66b3ffed40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f66e6c4cb38 in QEventLoop::exec (this=0x7f66b3ffed40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f66e6b4fd70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f66e6b52d0b in QThreadPrivate::start (arg=0x2ee0510) at thread/qthread_unix.cpp:307
#8  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#9  0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f66b2de8700 (LWP 7039)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f66e31001d7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f66e3100209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f66d309b754 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#4  0x00007f66e2b24b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#5  0x00007f66e630570d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f66e9a037a0 (LWP 7028)):
#0  0x00007f66e62f973d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f66d309a73c in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#2  0x00007f66d1570be7 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.48
#3  0x00007f66dfae64ef in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f66dfaab009 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f66dfaab422 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f66dfaab5a4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f66e6c7c276 in QEventDispatcherGlib::processEvents (this=0x1d3aa70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f66e76fe83e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#9  0x00007f66e6c4c8af in QEventLoop::processEvents (this=this@entry=0x7fff4f6330f0, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f66e6c4cb38 in QEventLoop::exec (this=0x7fff4f6330f0, flags=...) at kernel/qeventloop.cpp:204
#11 0x00007f66e6c51cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#12 0x000000000040907a in main (argc=1, argv=0x7fff4f635598) at ../../src/main.cpp:306

Reported using DrKonqi
Comment 1 Matěj Laitl 2012-10-04 15:34:27 UTC
Hi Tom,
please install debugging symbols for libglib and libgpod and repost the backtrace. What libgpod version do you have?
Comment 2 thomas 2012-10-04 19:02:03 UTC
Hello Matěj

> please install debugging symbols for libglib and libgpod and repost the
> backtrace. What libgpod version do you have?

Debian (unstable) support/have no dbg package for libgpod or libglib. :-(


my libs:

libgpod4:amd64                               0.8.2-6
libgpod-common                               0.8.2-6

libglib2.0-0:amd64                           2.33.12+really2.32.4-1
libglib2.0-bin                               2.33.12+really2.32.4-1 
libglib2.0-cil                               2.12.10-5
libglib2.0-data                              2.33.12+really2.32.4-1
libglib2.0-dev                               2.33.12+really2.32.4-1
libglibmm-2.4-1c2a:amd64                     2.32.1-1

Tom
Comment 3 Matěj Laitl 2012-10-04 20:25:10 UTC
(In reply to comment #2)
> Debian (unstable) support/have no dbg package for libgpod or libglib. :-(

We can't help you in this case, backtrace is useless without line numbers. Please resolve the situation with Debian first.
Comment 4 Myriam Schweingruber 2012-10-21 11:22:44 UTC
Closing as this is not useful. Please feel free to reopen this report if you can provide the requested information.

FWIW: K/Ubuntu provides the libglib2.0.0-dbg package so sid should have it as well
Comment 5 Myriam Schweingruber 2012-10-21 11:30:49 UTC
Changing status to later, see also bug request made in Launchpad.