glibc fatal error when launching some rar versions

Issue #147 new
Former user created an issue

This happens when i try to run srr.py on an srr file and it tries to rebuild compressed file.

Output: Fatal error: glibc detected an invalid stdio handle Fatal error: glibc detected an invalid stdio handle

Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/rescene/srr.py", line 602, in main parser.exit(manage_srr(options, infolder, infiles, working_dir)) File "/usr/lib/python2.7/site-packages/rescene/srr.py", line 316, in manage_srr options.volume is None, options.volume, rar_mt) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1318, in reconstruct in_folder, hints, auto_locate_renamed) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1707, in get_rar_data_object auto_locate_renamed)) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2019, in compressed_rar_file_factory nblock, followup_src, solid=False) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2144, in init first_block, blocks, thread_count) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2396, in search_matching_rar_executable found = try_rar_executable(rar, args, old) File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2316, in try_rar_executable _fire(MsgCode.MSG, message=RETURNCODE[compress.returncode]) KeyError: -6 Unexpected Error: -6Trying 2002-12-19 3.10. Something went wrong executing Rar.exe:

This also happens with the 2003-01-15 3.11 and possibly others - I have not tested all, as it is tedious to run through a lot of other versions first.

This could be an issue on my system. But if so, it would be GREAT if pyrescene would fail gracefully on the problematic rar execs and continue on trying the others. Also, it would be great if it started with the newest version. It seems the different versions is hardcoded into the script, as it also fails with an error message if i remove one of the files.

Comments (1)

  1. Naguz

    (Bug reporter here): I installed pyrescene from Archlinux AUR here: https://aur.archlinux.org/packages/pyrescene-hg/#news Also, to give a more human readable output of the error above:

    Fatal error: glibc detected an invalid stdio handle
    Fatal error: glibc detected an invalid stdio handle
    
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/rescene/srr.py", line 602, in main
        parser.exit(manage_srr(options, infolder, infiles, working_dir))
      File "/usr/lib/python2.7/site-packages/rescene/srr.py", line 316, in manage_srr
        options.volume is None, options.volume, rar_mt)
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1318, in reconstruct
        in_folder, hints, auto_locate_renamed)
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 1707, in get_rar_data_object
        auto_locate_renamed))
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2019, in compressed_rar_file_factory
        nblock, followup_src, solid=False)
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2144, in __init__
        first_block, blocks, thread_count)
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2396, in search_matching_rar_executable
        found = try_rar_executable(rar, args, old)
      File "/usr/lib/python2.7/site-packages/rescene/main.py", line 2316, in try_rar_executable
        _fire(MsgCode.MSG, message=RETURNCODE[compress.returncode])
    KeyError: -6
    Unexpected Error: -6Trying 2002-12-19 3.10.
    Something went wrong executing Rar.exe:
    
  2. Log in to comment