olive-editor / olive

Free open-source non-linear video editor
https://olivevideoeditor.org/
GNU General Public License v3.0
8.16k stars 554 forks source link

[CRASH] Olive crashes during media export #2223

Open illuminatedwax opened 1 year ago

illuminatedwax commented 1 year ago

Commit Hash 7fa69ea5

Platform Ubuntu 22.04.2 LTS

Summary Olive crashes during the export process

Steps to Reproduce

  1. Exporting this particular project crashes every time
Crash Report


[crashreport.txt](https://github.com/olive-editor/olive/files/11410490/crashreport.txt)

Valgrind

==229744== HEAP SUMMARY:
==229744==     in use at exit: 405 bytes in 3 blocks
==229744==   total heap usage: 10,850 allocs, 10,847 frees, 424,112,658 bytes allocated
==229744== 
==229744== 64 bytes in 1 blocks are definitely lost in loss record 1 of 3
==229744==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==229744==    by 0x40D189: ??? (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744==    by 0x4EE35B9: ???
==229744==    by 0x4EE269B: ???
==229744==    by 0x4EDEE22: ???
==229744==    by 0x40E733: fusefs_main (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744==    by 0x405D3B: main (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744== 
==229744== 69 bytes in 1 blocks are definitely lost in loss record 2 of 3
==229744==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==229744==    by 0x4946AAC: __libc_scratch_buffer_dupfree (scratch_buffer_dupfree.c:32)
==229744==    by 0x48EFEED: scratch_buffer_dupfree (scratch_buffer.h:147)
==229744==    by 0x48EFEED: realpath_stk (canonicalize.c:424)
==229744==    by 0x48F04F5: realpath@@GLIBC_2.3 (canonicalize.c:446)
==229744==    by 0x405CE5: main (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744== 
==229744== 272 bytes in 1 blocks are possibly lost in loss record 3 of 3
==229744==    at 0x484DA83: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==229744==    by 0x40147D9: calloc (rtld-malloc.h:44)
==229744==    by 0x40147D9: allocate_dtv (dl-tls.c:375)
==229744==    by 0x40147D9: _dl_allocate_tls (dl-tls.c:634)
==229744==    by 0x4934834: allocate_stack (allocatestack.c:430)
==229744==    by 0x4934834: pthread_create@@GLIBC_2.34 (pthread_create.c:647)
==229744==    by 0x404A08: fuse_mounted (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744==    by 0x40E726: fusefs_main (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744==    by 0x405D3B: main (in /home/dranger/Downloads/davinci/Olive-7fa69ea5-Linux-x86_64.AppImage)
==229744== 
==229744== LEAK SUMMARY:
==229744==    definitely lost: 133 bytes in 2 blocks
==229744==    indirectly lost: 0 bytes in 0 blocks
==229744==      possibly lost: 272 bytes in 1 blocks
==229744==    still reachable: 0 bytes in 0 blocks
==229744==         suppressed: 0 bytes in 0 blocks
==229744== 
==229744== For lists of detected and suppressed errors, rerun with: -s
==229744== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)


Additional Information I tried with older builds and still encountered the same issue: d75aef40, e9c97407

Gatewalker-111 commented 1 year ago

I've had the same issue; crash always seems to happen within 5-6 seconds of beginning the export process.

brasofilo commented 1 year ago

Already reported at #2211

There, someone mentions checking the source files, and indeed, I swapped the mp4 source file (only had one) and the export worked.