Closed tsr closed 1 month ago
I am not able to recreate the crash. Did you compile this yourself, if so could you run ocp with either valgrind or gdb?
valgrind ocp
or
gdb ocp # Start GDB, it might ask you to download debugging information, hit yes
r # run
bt # when it has crashed, performing this step will generate a backtrace (what was the program doing when it crashed)
I think I was able to recreate your bug now :-)
Ok thank you! I'll retry in the next version then. Otherwise i will check with gdb/valgrind and let you know! And yes, i compiled by myself.
I'm currently using the most recent version
v0.2.109
(with ancient lib onv2.2.0
) and noticed when i play specific broken/faulty files from a playlist (with other files in it), ocp will print the error which normally should be shown in the UI in the console, and also immediately segfault. Interestingly, when i play the file on it's own, i get the proper error message in the UI with what is likely wrong with the file[GMD/S3M] too many orders and/or patterns error: file structure corrupted
without segfaulting.You can try by downloading the folder
/pub/modules/Screamtracker 3/Gravedigger
fromftp.modland.com
, there are (sadly) some files which are broken and trigger this, e.g.next magic.s3m
.Segfault:
I'm also not sure if it's just with s3m files, i also had some broken mod files in the playlist some days ago, which properly only showed the error in UI without segfaulting, so maybe it's really only s3m, but might be worth to look into it deeper.
A bit offtopic: I would also wish that there was a config option to simply skip those files instead of showing the error in the UI so it keeps playing without interrupting.. ;)