Open wiserweb opened 10 years ago
Same problem in raspbmc. File listing in cli works fine but in gui i have exact the same error.
what happens if you disable the preview of the files? there should be an option in the gui. if you disabled the preview succesfully, megafuse should not show calls to topen()
That's it! Thank you for help :)
I don't think that disabling previews will fix anything. topen will be called sooner on later on file which causes crash. @wiserweb could you specify some more info about file from your log? E.g. file size.
the problem is that the previews system that will cause a lot of topens() in a short time. MEGA will refuse to serve you if you make too many requests and megafuse hangs.
You're right. I tried 'touch' 300 files in bash script and it died on ~ 180th. I couldn't reproduce it on my fork though. I guess I fixed it somewhere?
The abort appears to occurs due to listing the mount point files with the GUI File Manager. If the ls command is issued from a Terminal then the list of files causes no issues and MegaFuse operates as expected.
Sample .mp4 file utilized for testing.
Terminal Displays:
searching node by path: /2014 BMW M4 Coupe - INTERIOR.mp4 node found in MEGA: /2014 BMW M4 Coupe - INTERIOR.mp4 resuming paused download11 resuming paused download searching node by path: /2014 BMW M4 Coupe - INTERIOR.mp4 node found in MEGA: /2014 BMW M4 Coupe - INTERIOR.mp4 topen riuscito download fallito: -20 /usr/include/c++/4.7/debug/safe_iterator.h:278:error: attempt to dereference a past-the-end iterator.
Objects involved in the operation: iterator "this" @ 0x0xb6339e38 { type = N11gnu_debug14_Safe_iteratorINSt8detail14_Node_iteratorISt4pairIKSs14file_cache_rowELb0ELb1EEENSt7debug13unordered_mapISsS5_St4hashISsESt8equal_toISsESaISsEEEEE (mutable iterator); state = past-the-end; references sequence with type `NSt7debug13unordered_mapISs14file_cache_rowSt4hashISsESt8equal_toISsESaISsEEE' @ 0x0xb6339e38 } Aborted