Bug 330423 - Amarok crashes when scanning collection files
Summary: Amarok crashes when scanning collection files
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-26 12:14 UTC by Dmitry
Modified: 2014-08-10 19:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2014-01-26 12:14:35 UTC
Amarok crashes about a minute after start, the debug output tail is following
<lots of subfolders of /data/commando/Music>
amarok(5528)/kio (KDirWatch) KDirWatchPrivate::useQFSWatch: fsWatcher->addPath "/data/commando/Music"
QFileSystemWatcher: failed to add paths: /data/commando/Music
QProcessPrivate::createPipe: Cannot create pipe 0x7fff7c02b8b8: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x7fff7c02b8e0: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x7fff7c02b908: Too many open files
QSocketNotifier: Invalid socket specified
QProcessPrivate::createPipe: Cannot create pipe 0x7fff7c02b990: Too many open files
QProcessPrivate::createPipe: Cannot create pipe 0x7fff7c02b998: Too many open files
QSocketNotifier: Invalid socket specified
QSocketNotifier: Invalid socket specified
*** buffer overflow detected ***: /usr/bin/amarok terminated

the backtrace is 

#0  0x00007ffff4c43f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff4c475e8 in __GI_abort () at abort.c:90
#2  0x00007ffff4c814fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff4d92f10 "*** %s ***: %s terminated\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3  0x00007ffff4d1f08c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff4d92ea7 "buffer overflow detected") at fortify_fail.c:37
#4  0x00007ffff4d1e020 in __GI___chk_fail () at chk_fail.c:28
#5  0x00007ffff4d1efd7 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#6  0x00007ffff542e5b1 in QProcessPrivate::waitForStarted (this=0x7fff7c02b790, msecs=msecs@entry=5000) at io/qprocess_unix.cpp:1038
#7  0x00007ffff53e70e2 in QProcess::waitForStarted (this=this@entry=0x7fff7c004580, msecs=msecs@entry=5000) at io/qprocess.cpp:1687
#8  0x00007ffff6fdf118 in GenericScannerJob::createScannerProcess (this=0x2613120, restart=restart@entry=false)
    at ../../src/scanner/GenericScannerJob.cpp:246
#9  0x00007ffff6fe17cf in GenericScannerJob::run (this=0x2613120) at ../../src/scanner/GenericScannerJob.cpp:102
#10 0x00007ffff2575cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7fff997f9d70, th=th@entry=0x7fffb4069450, job=job@entry=0x2613120)
    at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x00007ffff2575e6e in ThreadWeaver::Job::execute (this=0x2613120, th=0x7fffb4069450) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x00007ffff25756bb in ThreadWeaver::Thread::run (this=0x7fffb4069450) at ../../../threadweaver/Weaver/Thread.cpp:108
#13 0x00007ffff5353f2f in QThreadPrivate::start (arg=0x7fffb4069450) at thread/qthread_unix.cpp:338
#14 0x00007ffff0ff6f6e in start_thread (arg=0x7fff997fa700) at pthread_create.c:311
#15 0x00007ffff4d079cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

After I fixed collection settings (removed some dirs without music files) the crash stopped reproducing.

Reproducible: Always

Steps to Reproduce:
Start amarok and wait.
Comment 1 Myriam Schweingruber 2014-01-27 00:19:06 UTC
A complete backtrace would have been more helpful, could you provide that again?
Comment 2 Myriam Schweingruber 2014-08-10 19:10:53 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can provide the requested information.