Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault while scanning library #1080

Closed
Clementine-Issue-Importer opened this issue Dec 6, 2013 · 0 comments
Closed

Segmentation fault while scanning library #1080

Clementine-Issue-Importer opened this issue Dec 6, 2013 · 0 comments

Comments

@Clementine-Issue-Importer

From svetoslav.b.popov on December 12, 2010 20:05:05

What steps will reproduce the problem? 1. Start clementine
2. While it scans the library, it reaches 55% and exits quietly.
3. If started from the terminal the last output is:

Extended ASCII... possibly should be CP866 or windows-1251 instead
Heuristic guessed windows-1251
Heuristic guessed windows-1251
Heuristic guessed windows-1251
Heuristic guessed windows-1251
Heuristic guessed windows-1251
"/home/svetlio/Music/mp3s/Vrabcheta - Makarena.mp3" created
"/home/svetlio/Music/mp3s/Vybz Kartel feat. Chrissy - Wasting my Time (2005).mp3" created
TagLib: Encrypted frames are currently not supported.
TagLib: Encrypted frames are currently not supported.
TagLib: Encrypted frames are currently not supported.
TagLib: Encrypted frames are currently not supported.
TagLib: Encrypted frames are currently not supported.
TagLib: Encrypted frames are currently not supported.
Segmentation fault What version of the product are you using? On what operating system? Clementine 0.6 and Ubuntu 10.10 Please provide any additional information below. I think the same happens in 0.5 too. But I'm not 100% sure.

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=1080

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on December 12, 2010 11:43:36

Can you try to get a backtrace?

In a terminal run:
gdb clementine
run
(make it crash)
bt

Then upload/paste the output here

@Clementine-Issue-Importer
Copy link
Author

From svetoslav.b.popov on December 12, 2010 12:16:55

Here are the last few lines from 'run' and 'bt' (line 8) http://pastebin.com/3SvuuAns

@Clementine-Issue-Importer
Copy link
Author

From vitaly.pevgonen on December 12, 2010 13:27:52

Same issue for me. Ubuntu 10.04, Clementine 0.6

Here is part of console output from gdb:

"/home/hp/Музыка/Зоопарк/Музыка для фильма/06. Музыка для фильма.mp3" created
"/home/hp/Музыка/Зоопарк/Музыка для фильма/09. Она была.mp3" created
TagLib: Encrypted frames are currently not supported.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb31ffb70 (LWP 6856)]
0x00164d6d in TagLib::ID3v2::TextIdentificationFrame::fieldList() const ()
from /usr/lib/libtag.so.1
(gdb) bt
#0 0x00164d6d in TagLib::ID3v2::TextIdentificationFrame::fieldList() const ()
from /usr/lib/libtag.so.1
#1 0x0016501c in TagLib::ID3v2::UserTextIdentificationFrame::description() const () from /usr/lib/libtag.so.1
#2 0x0814de40 in Song::InitFromFile(QString const&, int) ()
#3 0x0826f2c6 in LibraryWatcher::ScanSubdirectory(QString const&, Subdirectory const&, LibraryWatcher::ScanTransaction_, bool) ()
#4 0x0826f262 in LibraryWatcher::ScanSubdirectory(QString const&, Subdirectory const&, LibraryWatcher::ScanTransaction_, bool) ()
#5 0x0826f262 in LibraryWatcher::ScanSubdirectory(QString const&, Subdirectory const&, LibraryWatcher::ScanTransaction_, bool) ()
#6 0x082712bc in LibraryWatcher::AddDirectory(Directory const&, QList const&) ()
#7 0x08329851 in LibraryWatcher::qt_metacall(QMetaObject::Call, int, void__)
()
#8 0x0296ac9a in QMetaObject::metacall(QObject_, QMetaObject::Call, int, void*) () from /usr/lib/libQtCore.so.4
#9 0x02975336 in QMetaCallEvent::placeMetaCall(QObject
) ()
from /usr/lib/libQtCore.so.4
#10 0x029763fe in QObject::event(QEvent_) () from /usr/lib/libQtCore.so.4
#11 0x01a474dc in QApplicationPrivate::notify_helper(QObject_, QEvent_) ()
from /usr/lib/libQtGui.so.4
#12 0x01a4e05e in QApplication::notify(QObject_, QEvent_) ()
---Type to continue, or q to quit---
from /usr/lib/libQtGui.so.4
#13 0x02965a3b in QCoreApplication::notifyInternal(QObject_, QEvent_) ()
from /usr/lib/libQtCore.so.4
#14 0x02968473 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData_) () from /usr/lib/libQtCore.so.4
#15 0x029685dd in QCoreApplication::sendPostedEvents(QObject_, int) ()
from /usr/lib/libQtCore.so.4
#16 0x02991adf in ?? () from /usr/lib/libQtCore.so.4
#17 0x004fb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x004ff2d8 in ?? () from /lib/libglib-2.0.so.0
#19 0x004ff4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x029915d5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#21 0x02964059 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#22 0x029644aa in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#23 0x028605a8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#24 0x0823ef40 in BackgroundThreadImplementation<LibraryWatcher, LibraryWatcher>::run() ()
#25 0x0286332e in ?? () from /usr/lib/libQtCore.so.4
#26 0x02a8096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#27 0x02c76a4e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on December 18, 2010 09:01:57

I think I've fixed this in r2435 , but I can't test it to make sure. Can one of you try it out and let me know if it's fixed?

@Clementine-Issue-Importer
Copy link
Author

From vitaly.pevgonen on December 18, 2010 09:45:42

Yes, works for me now. Thank you!

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on December 18, 2010 10:08:09

Great!

Status: Fixed

@Clementine-Issue-Importer
Copy link
Author

From efinitix on March 14, 2012 21:25:04

I'm getting the same exact problem. It adds my entire Downloads folder and errors on scanning an mp3.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd8f5c700 (LWP 25999)]
0x00007ffff7b82f90 in TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, TagLib::ID3v2::Header*) const () from /usr/lib/libtag.so.1

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on March 15, 2012 07:07:17

efinitix: your problem is issue 2489 - it's a bug in Taglib that I've added a workaround for in the developer builds of Clementine - tag scanning will be run in a separate process now, so taglib bugs won't crash the whole of Clementine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant