#291 "Try to autodetect for this language" causes crash

Vladimir Alexiev

If I enable "Try to autodetect for this language: Bulgarian (bg)" in Preferences>Subtitles, I get a crash.
The log is below

[21:17:42:625] MplayerProcess::parseLine: 'Playing C:\my\MYVIDE~1\MRBEAN~2.XVI\MREECA~1.XVI\MRBEAN~1.AVI.'
[21:17:42:625] MplayerProcess::parseLine: ''
[21:17:42:843] MplayerProcess::parseLine: 'Cache fill: 0.00% (0 bytes) '
[21:17:42:843] Core::displayMessage
[21:17:42:843] MplayerProcess::parseLine: 'AVI file format detected.'
[21:17:42:843] MplayerProcess::parseLine: 'ID_VIDEO_ID=0'
[21:17:42:843] MplayerProcess::parseLine: ID_VIDEO_ID: 0
[21:17:42:843] MplayerProcess::parseLine: '[aviheader] Video stream found, -vid 0'
[21:17:42:843] MplayerProcess::parseLine: 'ID_AUDIO_ID=1'
[21:17:42:843] MplayerProcess::parseLine: ID_AUDIO_ID: 1
[21:17:42:843] MplayerProcess::parseLine: '[aviheader] Audio stream found, -aid 1'
[21:17:42:843] MplayerProcess::parseLine: 'VIDEO: [XVID] 512x384 24bpp 29.970 fps 1130.9 kbps (138.1 kbyte/s)'
[21:17:42:843] MplayerProcess::parseLine: 'Clip info:'
[21:17:42:843] MplayerProcess::parseLine: ' Software: VirtualDubMod 1.4.13'
[21:17:42:843] MplayerProcess::parseLine: clip_software: 'VirtualDubMod 1.4.13'
[21:17:42:843] MplayerProcess::parseLine: 'ID_CLIP_INFO_NAME0=Software'
[21:17:42:843] MplayerProcess::parseLine: 'ID_CLIP_INFO_VALUE0=VirtualDubMod 1.4.13'
[21:17:42:843] MplayerProcess::parseLine: 'ID_CLIP_INFO_N=1'
[21:17:42:843] MplayerProcess::parseLine: 'SUB: error opening iconv descriptor.'
[21:17:42:843] MplayerProcess::parseLine: '[ass] error opening iconv descriptor.'
[21:17:42:843] MplayerProcess::parseLine: ''
[21:17:42:843] MplayerProcess::parseLine: ''
[21:17:42:843] MplayerProcess::parseLine: 'MPlayer interrupted by signal 11 in module: read_subtitles_file'
[21:17:42:843] MplayerProcess::parseLine: 'ID_SIGNAL=11'
[21:17:42:843] MplayerProcess::parseLine: '- MPlayer crashed by bad usage of CPU/FPU/RAM.'
[21:17:42:843] MplayerProcess::parseLine: ' Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and'
[21:17:42:843] MplayerProcess::parseLine: ' disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.'
[21:17:42:843] MplayerProcess::parseLine: '- MPlayer crashed. This shouldn't happen.'
[21:17:42:843] MplayerProcess::parseLine: ' It can be a bug in the MPlayer code _or_ in your drivers _or_ in your'
[21:17:42:843] MplayerProcess::parseLine: ' gcc version. If you think it's MPlayer's fault, please read'
[21:17:42:843] MplayerProcess::parseLine: ' DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and'
[21:17:42:843] MplayerProcess::parseLine: ' won't help unless you provide this information when reporting a possible bug.'


  • Maybe your mplayer build doesn't have support for "enca" (and I think the builds for Windows don't have it).

  • I followed the suggestion in the documentation (MPlayer.html):
    -subcp enca:<language>:<fallback codepage> (ENCA only)
    You can specify your language using a two letter language code to make ENCA detect the codepage automatically. If unsure, enter anything and watch mplayer −v output for available languages.

    and ran MPlayer with options "-v -subcp enca:a:b".
    The result is attached (mplayer-enca.log) and it didn't crash.