Bug 288325 - Amarok seg fault at startup just after adding new files with non UTF-8 name
Summary: Amarok seg fault at startup just after adding new files with non UTF-8 name
Status: RESOLVED DUPLICATE of bug 233170
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 11:14 UTC by Mathieu Tarral
Modified: 2011-12-06 13:45 UTC (History)
0 users

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 Mathieu Tarral 2011-12-06 11:14:48 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I jousted several music files to my collection. They were all encoded in FLAC. Not seeing them appear, I requested an update to Amarok.
Still nothing. I decided to quit and relaunch the software.
I have a segmentation fault at startup, I see the main window gray and then it crashes.


- Custom settings of the application:

I have an opportunity for the crash: the names of the files added are not encoded in UTF-8 and I saw a few accents in the shape of question mark.
Yet first I added a folder containing accents such as non-UTF-8, I also restarted Amarok and Amarok had indeed found the tracks and read without problems ...
That's why I can not be sure that the problem is the encoding Iso and accents of the names of new files.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f119db397a0 (LWP 20251))]

Thread 11 (Thread 0x7f117e537700 (LWP 20255)):
#0  0x00007f119a486773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f119285b03f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f119284c45c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f119284cac9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f119284cb80 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f119285afef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f118df1ac78 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#7  0x00007f1196c95efc in start_thread (arg=0x7f117e537700) at pthread_create.c:304
#8  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1174bca700 (LWP 20257)):
#0  0x00007f1196c98034 in __pthread_mutex_lock (mutex=0x7f116c000988) at pthread_mutex_lock.c:61
#1  0x00007f11951f0fcc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f11951f1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f119ae04f3e in QEventDispatcherGlib::processEvents (this=0x1277620, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f119add8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f119add8ef7 in QEventLoop::exec (this=0x7f1174bc9db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f119acf027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f119adbbcbf in QInotifyFileSystemWatcherEngine::run (this=0x1276c90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f119acf2d05 in QThreadPrivate::start (arg=0x1276c90) at thread/qthread_unix.cpp:331
#9  0x00007f1196c95efc in start_thread (arg=0x7f1174bca700) at pthread_create.c:304
#10 0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f1170ac4700 (LWP 20260)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f1170ac3b20 in ?? ()
#2  0x00007fffac5ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x7f116afbb700 (LWP 20262)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f119acf31ab in wait (time=18446744073709551615, this=0x15506c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15508e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1198226864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1550520, th=0x1550dd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1198228e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x1550dd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1198227ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f116afbae00, parent=0x1550520, th=0x1550dd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1198227d5b in ThreadWeaver::Thread::run (this=0x1550dd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f119acf2d05 in QThreadPrivate::start (arg=0x1550dd0) at thread/qthread_unix.cpp:331
#8  0x00007f1196c95efc in start_thread (arg=0x7f116afbb700) at pthread_create.c:304
#9  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f116847b700 (LWP 20263)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f116847aad0 in ?? ()
#2  0x00007fffac5ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f1167a5e700 (LWP 20264)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f119acf31ab in wait (time=18446744073709551615, this=0x15506c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15508e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1198226864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1550520, th=0x18069f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1198228e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x18069f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1198228e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x18069f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f1198228e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x18069f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f1198228e24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x18069f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f1198227ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1167a5de00, parent=0x1550520, th=0x18069f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f1198227d5b in ThreadWeaver::Thread::run (this=0x18069f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f119acf2d05 in QThreadPrivate::start (arg=0x18069f0) at thread/qthread_unix.cpp:331
#11 0x00007f1196c95efc in start_thread (arg=0x7f1167a5e700) at pthread_create.c:304
#12 0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1167052700 (LWP 20265)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f119acf31ab in wait (time=18446744073709551615, this=0x15506c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15508e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1198226864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1550520, th=0x17a8580) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1198228e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x17a8580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1198227ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1167051e00, parent=0x1550520, th=0x17a8580) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1198227d5b in ThreadWeaver::Thread::run (this=0x17a8580) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f119acf2d05 in QThreadPrivate::start (arg=0x17a8580) at thread/qthread_unix.cpp:331
#8  0x00007f1196c95efc in start_thread (arg=0x7f1167052700) at pthread_create.c:304
#9  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1166851700 (LWP 20266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f119acf31ab in wait (time=18446744073709551615, this=0x15506c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15508e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1198226864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1550520, th=0x17f1830) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1198228e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1550a00, th=0x17f1830) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1198227ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f1166850e00, parent=0x1550520, th=0x17f1830) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1198227d5b in ThreadWeaver::Thread::run (this=0x17f1830) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f119acf2d05 in QThreadPrivate::start (arg=0x17f1830) at thread/qthread_unix.cpp:331
#8  0x00007f1196c95efc in start_thread (arg=0x7f1166851700) at pthread_create.c:304
#9  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1165a10700 (LWP 20267)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1191c4bc2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1191c4bd59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1196c95efc in start_thread (arg=0x7f1165a10700) at pthread_create.c:304
#4  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f11646f9700 (LWP 20271)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1197271fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1197272019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1196c95efc in start_thread (arg=0x7f11646f9700) at pthread_create.c:304
#4  0x00007f119a49289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f119db397a0 (LWP 20251)):
[KCrash Handler]
#6  contains (t=<optimized out>, this=0x616670) at /usr/include/qt4/QtCore/qlist.h:866
#7  CollectionTreeItem::row (this=0x1e2e0f0) at ../../src/browsers/CollectionTreeItem.cpp:226
#8  0x00007f119c7a905c in CollectionTreeItemModelBase::handleNormalQueryResult (this=0x1e2dd10, qm=0x1e34760, dataList=...) at ../../src/browsers/CollectionTreeItemModelBase.cpp:874
#9  0x00007f119c7a94a8 in CollectionTreeItemModelBase::newResultReady (this=0x1e2dd10, data=...) at ../../src/browsers/CollectionTreeItemModelBase.cpp:749
#10 0x00007f119c7aa770 in CollectionTreeItemModelBase::newResultReady (this=0x1e2dd10, res=<optimized out>) at ../../src/browsers/CollectionTreeItemModelBase.cpp:700
#11 0x00007f119c7ab431 in CollectionTreeItemModelBase::qt_metacall (this=0x1e2dd10, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x234abc0) at ./CollectionTreeItemModelBase.moc:107
#12 0x00007f119adf0a5e in QObject::event (this=0x1e2dd10, e=<optimized out>) at kernel/qobject.cpp:1217
#13 0x00007f119b7da424 in notify_helper (e=0x234ac00, receiver=0x1e2dd10, this=0xba8e10) at kernel/qapplication.cpp:4486
#14 QApplicationPrivate::notify_helper (this=0xba8e10, receiver=0x1e2dd10, e=0x234ac00) at kernel/qapplication.cpp:4458
#15 0x00007f119b7df291 in QApplication::notify (this=0x7fffac56bf00, receiver=0x1e2dd10, e=0x234ac00) at kernel/qapplication.cpp:4365
#16 0x00007f119d53b126 in KApplication::notify (this=0x7fffac56bf00, receiver=0x1e2dd10, event=0x234ac00) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f119add9afc in QCoreApplication::notifyInternal (this=0x7fffac56bf00, receiver=0x1e2dd10, event=0x234ac00) at kernel/qcoreapplication.cpp:787
#18 0x00007f119addd51f in sendEvent (event=0x234ac00, receiver=0x1e2dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9f6430) at kernel/qcoreapplication.cpp:1428
#20 0x00007f119ae04a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f11951f0a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f11951f1258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f11951f1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f119ae04ed6 in QEventDispatcherGlib::processEvents (this=0x9f7f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007f119b88207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f119add8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f119add8ef7 in QEventLoop::exec (this=0x7fffac56be90, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007f119addd789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#30 0x000000000040916e in main (argc=1, argv=0x7fffac56e508) at ../../src/main.cpp:289

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-12-06 13:45:16 UTC
The problem is not due to the encoding of your files.

*** This bug has been marked as a duplicate of bug 233170 ***