VLC crashing… Qt bug?

My dry weekends used to be lightened up by some old classics. But two days back I received my copy of Gran Torino, which makes it out of the question what am I upto, on Sunday eve.

Alas, after the opening scene, VLC simply disappeared. I just fired up a terminal to see what happens, and this is what I saw:
No accelerated IMDCT transform found
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRegion: Painter not active
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::begin: Paint device returned engine == 0, type: 1
Segmentation fault

Mplayer plays the movie well, but only VLC has the provision to raise volume to 400% (I found mplayer can also do it, thanks Mace), which comes handy with the weak Laptop speakers. So, I did a “gdb vlc” and saw this:
[Thread 0xac5f3b90 (LWP 3627) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb2b20b90 (LWP 3607)]
0x00b377ec in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x00b377ec in _int_malloc () from /lib/libc.so.6
#1  0x00b39765 in malloc () from /lib/libc.so.6
#2  0x00542297 in operator new () from /usr/lib/libstdc++.so.6
#3  0xb2d4b526 in QMutex::QMutex () from /usr/lib/libQtCore.so.4
#4  0xb2d4de94 in QThreadData::QThreadData () from /usr/lib/libQtCore.so.4
#5  0xb2d5044d in QThreadData::current () from /usr/lib/libQtCore.so.4
#6  0xb2e5168d in QObject::QObject () from /usr/lib/libQtCore.so.4
#7  0xb2d4d5c0 in QThread::QThread () from /usr/lib/libQtCore.so.4
#8  0xb2d4e17e in ?? () from /usr/lib/libQtCore.so.4
#9  0xb2d50479 in QThreadData::current () from /usr/lib/libQtCore.so.4
#10 0xb2e5168d in QObject::QObject () from /usr/lib/libQtCore.so.4
#11 0xb2d4d5c0 in QThread::QThread () from /usr/lib/libQtCore.so.4
#12 0xb2d4e17e in ?? () from /usr/lib/libQtCore.so.4
#13 0xb2d50479 in QThreadData::current () from /usr/lib/libQtCore.so.4
#14 0xb2e5168d in QObject::QObject () from /usr/lib/libQtCore.so.4
#15 0xb2d4d5c0 in QThread::QThread () from /usr/lib/libQtCore.so.4
#16 0xb2d4e17e in ?? () from /usr/lib/libQtCore.so.4
#17 0xb2d50479 in QThreadData::current () from /usr/lib/libQtCore.so.4
#18 0xb2e5168d in QObject::QObject () from /usr/lib/libQtCore.so.4
#19 0xb2d4d5c0 in QThread::QThread () from /usr/lib/libQtCore.so.4

I guess it was all running fine a day back. I just did an update Fedora updates repo this morning, don’t know if its related. Some other movies I have play fine, but some crashes in a similar fashion. Need to investigate more.

Update:

Apparently, the issue is caused when dealing with subtitles. That is why I didn’t see problem with many other movie files. This bug entry has a solution, to update to the updates-testing branch, and that fixes the issue.

Advertisements

4 thoughts on “VLC crashing… Qt bug?

  1. With mplayer, you can use the options:

    -softvol -softvol-max 500

    This will, for example, give you 500% volume.

  2. Thanks, Mace.
    But “-softvol” doesn’t help. I found out from the man pages, instead, “mplayer -af volume=10.1:1” helps a lot!

  3. The two sets of options work slightly differently.

    Softvol scales the volume, but leaves the default at 100%. You can then use mplayer’s keyboard control to increase(0) or decrease(9) the volume, up to the softvol-max limit.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s