Page 1 of 1

Language autodetect broken?

PostPosted: Tue Feb 21, 2012 11:21 pm
by isvik
Hi,
Thanks redxii for your hard work. r34747 was the first of your builds that didn't crash for me. Probably because you enabled runtime cpu detection?

There seems to be a small bug with "try to autodetect for this language". If this is enabled and the video has a subtitle track or there is a separate subtitle file in the folder, smplayer will crash:

[20:43:04:981] MplayerProcess::parseLine: 'Load subtitles in //WATCHFILMSPC/Downloads/**** 720p BRRip XviD VoXHD/'
[20:43:04:981] MplayerProcess::parseLine: 'SUB: error opening iconv descriptor.'
[20:43:04:981] MplayerProcess::parseLine: '[ass] Error opening iconv descriptor'
[20:43:04:981] MplayerProcess::parseLine: ''
[20:43:04:981] MplayerProcess::parseLine: ''
[20:43:04:981] MplayerProcess::parseLine: 'MPlayer interrupted by signal 11 in module: read_subtitles_file'
[20:43:04:981] MplayerProcess::parseLine: 'ID_SIGNAL=11'
[20:43:04:981] MplayerProcess::parseLine: '- MPlayer crashed by bad usage of CPU/FPU/RAM.'
[20:43:04:981] MplayerProcess::parseLine: ' Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and'
[20:43:04:981] MplayerProcess::parseLine: ' disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.'
[20:43:04:981] MplayerProcess::parseLine: '- MPlayer crashed. This shouldn't happen.'
[20:43:04:981] MplayerProcess::parseLine: ' It can be a bug in the MPlayer code _or_ in your drivers _or_ in your'
[20:43:04:981] MplayerProcess::parseLine: ' gcc version. If you think it's MPlayer's fault, please read'
[20:43:04:981] MplayerProcess::parseLine: ' DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and'
[20:43:04:982] MplayerProcess::parseLine: ' won't help unless you provide this information when reporting a possible bug.'
[20:43:05:004] MyProcess::procFinished
[20:43:05:004] MyProcess::procFinished: Bytes available: 0
[20:43:05:004] MplayerProcess::processFinished: exitCode: 1, status: 0
[20:43:05:004] MplayerLayer::playingStopped
[20:43:05:004] Screen::playingStopped

I played the video using just mplayer and it does not crash, playing the video correctly and also loading in the separate subtitle file.

Thanks.

Re: Language autodetect broken?

PostPosted: Wed Feb 22, 2012 8:00 am
by redxii

Re: Language autodetect broken?

PostPosted: Wed Feb 22, 2012 9:08 am
by isvik
Yes, bug gone. Thanks.