Subtitles will cause segmentation fault

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Daniel771

Subtitles will cause segmentation fault

Postby Daniel771 » 07 Jan 2004 00:01

Hi,

I'm using vlc 0.7.0 on Fedora Core 1.
I have a problem playing avi-files with subtitles. If I open a subtitle file, it causes a segmentation fault. I have no idea what would cause this. Videos play fine if I don't use subtitles.
I'll paste here some of the output from vlc.

[00000111] main module debug: using demux module "avi"
[00000200] main private debug: looking for subtitle demux module
[00000200] main private debug: probing 1 candidate
[00000113] main module debug: using subtitle demux module "demuxsub"
[00000200] demuxsub private debug: opened `/mnt/c/movie.srt'
[00000198] demuxsub input debug: detected SubRIP format
[00000200] demuxsub private debug: loaded 2183 subtitles
[00000198] main input: subtitle started
[00000198] main input debug: selecting ES 0x3
[00000201] main decoder debug: looking for decoder module
[00000201] main decoder debug: probing 17 candidates
[00000201] subsdec decoder debug: Using character encoding: ISO-8859-15
[00000097] main module debug: using decoder module "subsdec"
[00000201] main decoder debug: thread 145357744 (decoder) created at priority 0 (src/input/input_dec.c:166)
Segmentation fault

I'm playing movies from mounted ntfs partitions but I dont know if this has anything to do with this problem.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 07 Jan 2004 11:30

If i happens exactly at the time the subtitle should be displayed then it looks like a crash caused by freetype (the text renderer).
Did you try running the avi by itself to make sure it's not something from the avi causing the crash?
Don't use PMs for support questions.

Daniel771

Postby Daniel771 » 07 Jan 2004 16:18

Crash happens immediately I open avi with subtitles. It doesn't play at all.
If I disable subtitles, movie plays fine. I have tested this with several files with different types of subtitles with same result.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 07 Jan 2004 17:19

Do you know about gdb?
If not, never mind. if so, i could use some output.
Not sure what the cause of this is though.
Don't use PMs for support questions.

Daniel771

Postby Daniel771 » 07 Jan 2004 22:51

Well I'm not familiar with gdb and I don't know how to use it efficiently but I managed to get something out from it. But I doubt this doesn't help very much.

(gdb) run
Starting program: /usr/bin/vlc
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread -1084908736 (LWP 6733)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...VideoLAN Client 0.7.0 Bond
[New Thread 83385264 (LWP 6736)]
[New Thread 98364336 (LWP 6737)]
[New Thread 131808176 (LWP 6738)]
[00000198] main input: playlist item `/mnt/c/movie.avi'
[New Thread 145357744 (LWP 6754)]
[00000198] main input: subtitle started
[New Thread 1083993008 (LWP 6755)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 145357744 (LWP 6754)]
0x0805305c in ?? ()
(gdb)


My debugging skills are almost non-existing, so could you give me some hints how to get more verbose output?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 07 Jan 2004 23:22

after that happens, try typing 'bt'
That's the output i need :)
Don't use PMs for support questions.

Daniel771

Postby Daniel771 » 09 Jan 2004 00:37

Okay, here it is...

(gdb) run
Starting program: /usr/bin/vlc
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread -1084503232 (LWP 11729)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...VideoLAN Client 0.7.0 Bond
[New Thread 83385264 (LWP 11742)]
[New Thread 107207600 (LWP 11743)]
[New Thread 132025264 (LWP 11744)]
[00000198] main input: playlist item `/mnt/c/movie.avi'
[New Thread 1083939760 (LWP 11939)]
[00000198] main input: subtitle started
[New Thread 1094429616 (LWP 11946)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1083939760 (LWP 11939)]
0x0805305c in ?? ()
(gdb) bt
#0 0x0805305c in ?? ()
#1 0x00000004 in ?? ()
#2 0x00000005 in ?? ()
#3 0x09df4868 in ?? ()
#4 0x00000001 in ?? ()
(gdb)


Well, I hope this helps...

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 09 Jan 2004 03:00

Not really, it means everything got trashed.
I'm suspecting a problem with freetype. but what exactly is probably impossible to determine without direct access to the machine.
Maybe you should try to select a different font. The font might be broken.
Don't use PMs for support questions.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 09 Jan 2004 10:36

I would rather say it means there is no debugging info in this VLC binary.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 68 guests