Upd2: I tried to run CinGG under valgrind, on application restart...
Sigh, upgrading valgrind itself to 3.16.1 fixed those .... Now, I have some crash at lv2 plugin scan under valgrind, but this may be also false positive: --------------- root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8414== Memcheck, a memory error detector ==8414== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8414== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8414== Command: /usr/bin/cin ==8414== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. ==8414== Syscall param ioctl(generic) points to uninitialised byte(s) ==8414== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8414== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8414== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== Address 0x79e7982 is 2 bytes inside a block of size 72 alloc'd ==8414== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8414== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12ac2bc0] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x73202c0] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono shmat: Недопустимый аргумент ==8414== Invalid write of size 4 ==8414== at 0x8657FCC: PluginLV2::init_buffer(int) (in /usr/bin/cin) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==8414== ** segv at 0x8657fcc in pid 8414, tid 8414 writing debug data to /tmp/cinelerra_8414.dmp lock_items: 0 lock_frees: 4 ==8414== Invalid read of size 4 ==8414== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8414== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8414== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8414== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== Address 0x24 is not stack'd, malloc'd or (recently) free'd ==8414== ==8414== ==8414== Process terminating with default action of signal 11 (SIGSEGV) ==8414== Access not within mapped region at address 0x24 ==8414== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8414== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8414== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8414== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== If you believe this happened as a result of a stack ==8414== overflow in your program's main thread (unlikely but ==8414== possible), you can try to increase the size of the ==8414== main thread stack using the --main-stacksize= flag. ==8414== The main thread stack size used in this run was 8388608. ==8414== ==8414== HEAP SUMMARY: ==8414== in use at exit: 8,932,678 bytes in 17,434 blocks ==8414== total heap usage: 112,769 allocs, 95,335 frees, 610,750,720 bytes allocated ==8414== ==8414== LEAK SUMMARY: ==8414== definitely lost: 3,649 bytes in 110 blocks ==8414== indirectly lost: 9,984 bytes in 469 blocks ==8414== possibly lost: 60,742 bytes in 2,334 blocks ==8414== still reachable: 8,858,303 bytes in 14,521 blocks ==8414== of which reachable via heuristic: ==8414== stdstring : 3,766 bytes in 136 blocks ==8414== suppressed: 0 bytes in 0 blocks ==8414== Rerun with --leak-check=full to see details of leaked memory ==8414== ==8414== Use --track-origins=yes to see where uninitialised values come from ==8414== For lists of detected and suppressed errors, rerun with: -s ==8414== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 0 from 0) Ошибка сегментирования ===tried again just in case it was one-time error====== root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8449== Memcheck, a memory error detector ==8449== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8449== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8449== Command: /usr/bin/cin ==8449== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. ==8449== Syscall param ioctl(generic) points to uninitialised byte(s) ==8449== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8449== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8449== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8449== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8449== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8449== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8449== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8449== Address 0x79e7982 is 2 bytes inside a block of size 72 alloc'd ==8449== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8449== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8449== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8449== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8449== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12ad74c0] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x731fd40] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono shmat: Недопустимый аргумент ==8449== Invalid write of size 4 ==8449== at 0x8657FCC: PluginLV2::init_buffer(int) (in /usr/bin/cin) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==8449== ** segv at 0x8657fcc in pid 8449, tid 8449 writing debug data to /tmp/cinelerra_8449.dmp lock_items: 0 lock_frees: 4 ==8449== Invalid read of size 4 ==8449== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8449== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8449== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8449== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== Address 0x24 is not stack'd, malloc'd or (recently) free'd ==8449== ==8449== ==8449== Process terminating with default action of signal 11 (SIGSEGV) ==8449== Access not within mapped region at address 0x24 ==8449== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8449== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8449== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8449== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== If you believe this happened as a result of a stack ==8449== overflow in your program's main thread (unlikely but ==8449== possible), you can try to increase the size of the ==8449== main thread stack using the --main-stacksize= flag. ==8449== The main thread stack size used in this run was 8388608. ==8449== ==8449== HEAP SUMMARY: ==8449== in use at exit: 8,932,674 bytes in 17,434 blocks ==8449== total heap usage: 112,769 allocs, 95,335 frees, 610,750,712 bytes allocated ==8449== ==8449== LEAK SUMMARY: ==8449== definitely lost: 3,649 bytes in 110 blocks ==8449== indirectly lost: 9,984 bytes in 469 blocks ==8449== possibly lost: 60,742 bytes in 2,334 blocks ==8449== still reachable: 8,858,299 bytes in 14,521 blocks ==8449== of which reachable via heuristic: ==8449== stdstring : 3,766 bytes in 136 blocks ==8449== suppressed: 0 bytes in 0 blocks ==8449== Rerun with --leak-check=full to see details of leaked memory ==8449== ==8449== Use --track-origins=yes to see where uninitialised values come from ==8449== For lists of detected and suppressed errors, rerun with: -s ==8449== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 0 from 0) Ошибка сегментирования root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 ====here I just start cin normally===== root@slax:/home/guest/botva/src/valgrind/valgrind# cin Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0xc28c300] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0xc290480] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/compressor_lr LOAD: http://lsp-plug.in/plugins/lv2/compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_lr LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_mono LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_ms LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_stereo LOAD: http://lsp-plug.in/plugins/lv2/expander_lr LOAD: http://lsp-plug.in/plugins/lv2/expander_mono LOAD: http://lsp-plug.in/plugins/lv2/expander_ms LOAD: http://lsp-plug.in/plugins/lv2/expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/gate_lr LOAD: http://lsp-plug.in/plugins/lv2/gate_mono LOAD: http://lsp-plug.in/plugins/lv2/gate_ms LOAD: http://lsp-plug.in/plugins/lv2/gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x16_mono LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x32_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_stereo LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_stereo LOAD: http://lsp-plug.in/plugins/lv2/latency_meter LOAD: http://lsp-plug.in/plugins/lv2/limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_mono LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48_do LOAD: http://lsp-plug.in/plugins/lv2/oscillator_mono LOAD: http://lsp-plug.in/plugins/lv2/phase_detector LOAD: http://lsp-plug.in/plugins/lv2/profiler_mono LOAD: http://lsp-plug.in/plugins/lv2/profiler_stereo LOAD: http://lsp-plug.in/plugins/lv2/room_builder_mono LOAD: http://lsp-plug.in/plugins/lv2/room_builder_stereo LOAD: http://lsp-plug.in/plugins/lv2/sampler_mono LOAD: http://lsp-plug.in/plugins/lv2/sampler_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x1 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x12 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x16 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x2 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x4 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x8 LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_mono LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_stereo LOAD: http://lsp-plug.in/plugins/lv2/trigger_mono LOAD: http://lsp-plug.in/plugins/lv2/trigger_stereo init ladspa index: /usr/lib/ladspa Session time: 0:00:27 Cpu time: user: 0:00:19.011 sys: 0:00:00.804 ===and under valgrind again==== root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8629== Memcheck, a memory error detector ==8629== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8629== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8629== Command: /usr/bin/cin ==8629== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. ==8629== Syscall param ioctl(generic) points to uninitialised byte(s) ==8629== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8629== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8629== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8629== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8629== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8629== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8629== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8629== Address 0x7a05f4a is 2 bytes inside a block of size 72 alloc'd ==8629== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8629== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8629== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8629== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8629== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. Session time: 0:00:11 Cpu time: user: 0:01:13.862 sys: 0:00:02.073 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8768== Memcheck, a memory error detector ==8768== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8768== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8768== Command: /usr/bin/cin ==8768== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. ==8768== Syscall param ioctl(generic) points to uninitialised byte(s) ==8768== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8768== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8768== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8768== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8768== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8768== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8768== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8768== Address 0x7a05fc2 is 2 bytes inside a block of size 72 alloc'd ==8768== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8768== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8768== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8768== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8768== FileSystem::update /home/guest/MLP FIM 3 Karusel Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 4 Gala Нет такого файла или каталога FileSystem::update /home/guest/MLP_FIM_Season4 Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 5 RUS ENG 720p Нет такого файла или каталога FileSystem::update /home/guest/My Little Pony - Friendship is Magic S02 720p Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 1 Karusel Нет такого файла или каталога FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi IndexFile::draw_index: index has 0 zoom IndexFile::draw_index: index has 0 zoom IndexFile::draw_index: index has 0 zoom FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.channels' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: Нет такого файла или каталога ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM dmix:SB AudioALSA::open_output default: Нет такого файла или каталога ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.channels' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: Нет такого файла или каталога ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM dmix:SB AudioALSA::open_output default: Нет такого файла или каталога FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi Session time: 0:03:45 Cpu time: user: 0:02:55.369 sys: 0:00:03.619 ==8768== ==8768== HEAP SUMMARY: ==8768== in use at exit: 257,888 bytes in 5,168 blocks ==8768== total heap usage: 856,519 allocs, 851,351 frees, 730,473,069 bytes allocated ==8768== ==8768== LEAK SUMMARY: ==8768== definitely lost: 14,665 bytes in 92 blocks ==8768== indirectly lost: 0 bytes in 0 blocks ==8768== possibly lost: 14,616 bytes in 8 blocks ==8768== still reachable: 228,607 bytes in 5,068 blocks ==8768== of which reachable via heuristic: ==8768== stdstring : 1,152 bytes in 26 blocks ==8768== suppressed: 0 bytes in 0 blocks ==8768== Rerun with --leak-check=full to see details of leaked memory ==8768== ==8768== Use --track-origins=yes to see where uninitialised values come from ==8768== For lists of detected and suppressed errors, rerun with: -s ==8768== ERROR SUMMARY: 6 errors from 1 contexts (suppressed: 0 from 0) ---------- Пересланное сообщение ---------- Тема: Upd: I tried to run CinGG under valgrind, on application restart... Дата: Вторник 03 ноября 2020 Отправитель: Andrew Randrianasulu <[email protected]> Получатель: "Cinelerra.GG" <[email protected]> Also tried to remove one (video) track from (1+2) default project. Then undo with 'z' ==18036== Conditional jump or move depends on uninitialised value(s) ==18036== at 0x86FB8FB: Tracks::load(FileXML*, int&, unsigned int) (in /usr/bin/cin) ==18036== by 0x8552D4A: EDL::read_xml(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x8552889: EDL::load_xml(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x85E0E5D: MainUndo::load_from_undo(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x85E0D04: MainUndo::undo() (in /usr/bin/cin) ==18036== by 0x8603DEF: MWindow::undo_entry(BC_WindowBase*) (in /usr/bin/cin) ==18036== by 0x85D6D3D: Undo::handle_event() (in /usr/bin/cin) ==18036== by 0x87ACE00: BC_MenuItem::dispatch_key_press() (in /usr/bin/cin) ==18036== by 0x87ADDC4: BC_MenuPopup::dispatch_key_press() (in /usr/bin/cin) ==18036== by 0x87AB7B6: BC_Menu::dispatch_keypress() (in /usr/bin/cin) ==18036== by 0x87AC341: BC_MenuBar::keypress_event() (in /usr/bin/cin) ==18036== by 0x87DCABE: BC_WindowBase::dispatch_keypress_event() (in /usr/bin/cin) ==18036== but this one printed just once - I tried to 'remove track/undo by z' second time and this message doesn't show up. ---------- Пересланное сообщение ---------- Тема: I tried to run CinGG under valgrind, on application restart... Дата: Вторник 03 ноября 2020 Отправитель: Andrew Randrianasulu <[email protected]> Получатель: "Cinelerra.GG" <[email protected]> First I moved away ~/.bcast5 (under root user), and ten lauched CinGG After it started I tried to chnage vicon quality from low->high in Preferences. After this I just clicked OK, so restart was initiated. Program come up OK, but Valgrind complained. Got some output: valgrind /usr/bin/cin ==16779== Memcheck, a memory error detector ==16779== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==16779== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==16779== Command: /usr/bin/cin ==16779== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. ==16779== Syscall param ioctl(generic) points to uninitialised byte(s) ==16779== at 0x58B0734: ioctl (in /lib/libc-2.30.so) ==16779== by 0x5D22F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==16779== by 0x5D25A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==16779== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==16779== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==16779== by 0xF790147: nouveau_device_new (nouveau.c:389) ==16779== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==16779== Address 0x79e4982 is 2 bytes inside a block of size 72 alloc'd ==16779== at 0x403229C: malloc (vg_replace_malloc.c:299) ==16779== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==16779== by 0xF790147: nouveau_device_new (nouveau.c:389) ==16779== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==16779== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12a97800] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x756fcc0] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/compressor_lr LOAD: http://lsp-plug.in/plugins/lv2/compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_lr LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_mono LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_ms LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_stereo LOAD: http://lsp-plug.in/plugins/lv2/expander_lr LOAD: http://lsp-plug.in/plugins/lv2/expander_mono LOAD: http://lsp-plug.in/plugins/lv2/expander_ms LOAD: http://lsp-plug.in/plugins/lv2/expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/gate_lr LOAD: http://lsp-plug.in/plugins/lv2/gate_mono LOAD: http://lsp-plug.in/plugins/lv2/gate_ms LOAD: http://lsp-plug.in/plugins/lv2/gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x16_mono LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x32_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_stereo LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_stereo LOAD: http://lsp-plug.in/plugins/lv2/latency_meter LOAD: http://lsp-plug.in/plugins/lv2/limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_mono LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48_do LOAD: http://lsp-plug.in/plugins/lv2/oscillator_mono LOAD: http://lsp-plug.in/plugins/lv2/phase_detector LOAD: http://lsp-plug.in/plugins/lv2/profiler_mono LOAD: http://lsp-plug.in/plugins/lv2/profiler_stereo LOAD: http://lsp-plug.in/plugins/lv2/room_builder_mono LOAD: http://lsp-plug.in/plugins/lv2/room_builder_stereo LOAD: http://lsp-plug.in/plugins/lv2/sampler_mono LOAD: http://lsp-plug.in/plugins/lv2/sampler_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x1 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x12 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x16 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x2 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x4 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x8 LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_mono LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_stereo LOAD: http://lsp-plug.in/plugins/lv2/trigger_mono LOAD: http://lsp-plug.in/plugins/lv2/trigger_stereo init ladspa index: /usr/lib/ladspa ==16989== ==16989== Process terminating with default action of signal 11 (SIGSEGV) ==16989== Bad permissions for mapped region at address 0x0 ==16989== at 0x0: ??? ==16989== ==16989== HEAP SUMMARY: ==16989== in use at exit: 83,480,916 bytes in 31,449 blocks ==16989== total heap usage: 1,957,779 allocs, 1,926,330 frees, 1,393,157,898 bytes allocated ==16989== ==16989== LEAK SUMMARY: ==16989== definitely lost: 10,885 bytes in 116 blocks ==16989== indirectly lost: 35,019 bytes in 441 blocks ==16989== possibly lost: 60,054,201 bytes in 2,966 blocks ==16989== still reachable: 23,380,811 bytes in 27,926 blocks ==16989== of which reachable via heuristic: ==16989== stdstring : 3,766 bytes in 136 blocks ==16989== suppressed: 0 bytes in 0 blocks ==16989== Rerun with --leak-check=full to see details of leaked memory ==16989== ==16989== For counts of detected and suppressed errors, rerun with: -v ==16989== Use --track-origins=yes to see where uninitialised values come from ==16989== ERROR SUMMARY: 6 errors from 1 contexts (suppressed: 0 from 0) ==16779== Thread 12: ==16779== Invalid write of size 1 ==16779== at 0x87F6101: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1f is 7 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F6105: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1c is 4 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F610B: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1e is 6 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F611B: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c21 is 9 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 4 ==16779== at 0x87F612A: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c28 is 16 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. Session time: 0:00:14 Cpu time: user: 0:06:17.080 sys: 0:00:03.580 Is this real error, result of my hacking (:}) or something else? ------------------------------------------------------- -------------------------------------------------------
Hi Andrew, Thanks for reporting. Just for your information, it may take some time before you get an answer. Phyllis has some other things to do. She will read these emails as soon as she gets back. Sam Am 03.11.20 um 10:49 schrieb Andrew Randrianasulu via Cin:
Sigh, upgrading valgrind itself to 3.16.1 fixed those ....
Now, I have some crash at lv2 plugin scan under valgrind, but this may be also false positive:
---------------
root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8414== Memcheck, a memory error detector ==8414== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8414== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8414== Command: /usr/bin/cin ==8414== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==8414== Syscall param ioctl(generic) points to uninitialised byte(s) ==8414== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8414== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8414== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== Address 0x79e7982 is 2 bytes inside a block of size 72 alloc'd ==8414== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8414== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12ac2bc0] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x73202c0] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono shmat: Недопустимый аргумент ==8414== Invalid write of size 4 ==8414== at 0x8657FCC: PluginLV2::init_buffer(int) (in /usr/bin/cin) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==8414== ** segv at 0x8657fcc in pid 8414, tid 8414 writing debug data to /tmp/cinelerra_8414.dmp lock_items: 0 lock_frees: 4 ==8414== Invalid read of size 4 ==8414== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8414== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8414== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8414== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== Address 0x24 is not stack'd, malloc'd or (recently) free'd ==8414== ==8414== ==8414== Process terminating with default action of signal 11 (SIGSEGV) ==8414== Access not within mapped region at address 0x24 ==8414== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8414== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8414== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8414== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== If you believe this happened as a result of a stack ==8414== overflow in your program's main thread (unlikely but ==8414== possible), you can try to increase the size of the ==8414== main thread stack using the --main-stacksize= flag. ==8414== The main thread stack size used in this run was 8388608. ==8414== ==8414== HEAP SUMMARY: ==8414== in use at exit: 8,932,678 bytes in 17,434 blocks ==8414== total heap usage: 112,769 allocs, 95,335 frees, 610,750,720 bytes allocated ==8414== ==8414== LEAK SUMMARY: ==8414== definitely lost: 3,649 bytes in 110 blocks ==8414== indirectly lost: 9,984 bytes in 469 blocks ==8414== possibly lost: 60,742 bytes in 2,334 blocks ==8414== still reachable: 8,858,303 bytes in 14,521 blocks ==8414== of which reachable via heuristic: ==8414== stdstring : 3,766 bytes in 136 blocks ==8414== suppressed: 0 bytes in 0 blocks ==8414== Rerun with --leak-check=full to see details of leaked memory ==8414== ==8414== Use --track-origins=yes to see where uninitialised values come from ==8414== For lists of detected and suppressed errors, rerun with: -s ==8414== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 0 from 0) Ошибка сегментирования
===tried again just in case it was one-time error======
root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8449== Memcheck, a memory error detector ==8449== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8449== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8449== Command: /usr/bin/cin ==8449== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==8449== Syscall param ioctl(generic) points to uninitialised byte(s) ==8449== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8449== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8449== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8449== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8449== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8449== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8449== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8449== Address 0x79e7982 is 2 bytes inside a block of size 72 alloc'd ==8449== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8449== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8449== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8449== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8449== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12ad74c0] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x731fd40] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono shmat: Недопустимый аргумент ==8449== Invalid write of size 4 ==8449== at 0x8657FCC: PluginLV2::init_buffer(int) (in /usr/bin/cin) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==8449== ** segv at 0x8657fcc in pid 8449, tid 8449 writing debug data to /tmp/cinelerra_8449.dmp lock_items: 0 lock_frees: 4 ==8449== Invalid read of size 4 ==8449== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8449== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8449== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8449== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== Address 0x24 is not stack'd, malloc'd or (recently) free'd ==8449== ==8449== ==8449== Process terminating with default action of signal 11 (SIGSEGV) ==8449== Access not within mapped region at address 0x24 ==8449== at 0x84E0BC4: CICache::dump(_IO_FILE*) (in /usr/bin/cin) ==8449== by 0x8615886: MWindow::trap_hook(_IO_FILE*, void*) (in /usr/bin/cin) ==8449== by 0x87C1A6D: ??? (in /usr/bin/cin) ==8449== by 0x4428ABF: ??? (in /lib/libpthread-2.30.so) ==8449== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8449== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8449== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8449== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8449== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8449== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8449== by 0x85DCAC3: main (in /usr/bin/cin) ==8449== If you believe this happened as a result of a stack ==8449== overflow in your program's main thread (unlikely but ==8449== possible), you can try to increase the size of the ==8449== main thread stack using the --main-stacksize= flag. ==8449== The main thread stack size used in this run was 8388608. ==8449== ==8449== HEAP SUMMARY: ==8449== in use at exit: 8,932,674 bytes in 17,434 blocks ==8449== total heap usage: 112,769 allocs, 95,335 frees, 610,750,712 bytes allocated ==8449== ==8449== LEAK SUMMARY: ==8449== definitely lost: 3,649 bytes in 110 blocks ==8449== indirectly lost: 9,984 bytes in 469 blocks ==8449== possibly lost: 60,742 bytes in 2,334 blocks ==8449== still reachable: 8,858,299 bytes in 14,521 blocks ==8449== of which reachable via heuristic: ==8449== stdstring : 3,766 bytes in 136 blocks ==8449== suppressed: 0 bytes in 0 blocks ==8449== Rerun with --leak-check=full to see details of leaked memory ==8449== ==8449== Use --track-origins=yes to see where uninitialised values come from ==8449== For lists of detected and suppressed errors, rerun with: -s ==8449== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 0 from 0) Ошибка сегментирования root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5
====here I just start cin normally=====
root@slax:/home/guest/botva/src/valgrind/valgrind# cin Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0xc28c300] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0xc290480] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/compressor_lr LOAD: http://lsp-plug.in/plugins/lv2/compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_lr LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_mono LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_ms LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_stereo LOAD: http://lsp-plug.in/plugins/lv2/expander_lr LOAD: http://lsp-plug.in/plugins/lv2/expander_mono LOAD: http://lsp-plug.in/plugins/lv2/expander_ms LOAD: http://lsp-plug.in/plugins/lv2/expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/gate_lr LOAD: http://lsp-plug.in/plugins/lv2/gate_mono LOAD: http://lsp-plug.in/plugins/lv2/gate_ms LOAD: http://lsp-plug.in/plugins/lv2/gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x16_mono LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x32_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_stereo LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_stereo LOAD: http://lsp-plug.in/plugins/lv2/latency_meter LOAD: http://lsp-plug.in/plugins/lv2/limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_mono LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48_do LOAD: http://lsp-plug.in/plugins/lv2/oscillator_mono LOAD: http://lsp-plug.in/plugins/lv2/phase_detector LOAD: http://lsp-plug.in/plugins/lv2/profiler_mono LOAD: http://lsp-plug.in/plugins/lv2/profiler_stereo LOAD: http://lsp-plug.in/plugins/lv2/room_builder_mono LOAD: http://lsp-plug.in/plugins/lv2/room_builder_stereo LOAD: http://lsp-plug.in/plugins/lv2/sampler_mono LOAD: http://lsp-plug.in/plugins/lv2/sampler_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x1 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x12 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x16 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x2 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x4 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x8 LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_mono LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_stereo LOAD: http://lsp-plug.in/plugins/lv2/trigger_mono LOAD: http://lsp-plug.in/plugins/lv2/trigger_stereo init ladspa index: /usr/lib/ladspa Session time: 0:00:27 Cpu time: user: 0:00:19.011 sys: 0:00:00.804
===and under valgrind again====
root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8629== Memcheck, a memory error detector ==8629== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8629== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8629== Command: /usr/bin/cin ==8629== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==8629== Syscall param ioctl(generic) points to uninitialised byte(s) ==8629== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8629== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8629== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8629== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8629== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8629== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8629== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8629== Address 0x7a05f4a is 2 bytes inside a block of size 72 alloc'd ==8629== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8629== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8629== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8629== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8629== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
Session time: 0:00:11 Cpu time: user: 0:01:13.862 sys: 0:00:02.073 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8768== Memcheck, a memory error detector ==8768== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8768== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8768== Command: /usr/bin/cin ==8768== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==8768== Syscall param ioctl(generic) points to uninitialised byte(s) ==8768== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8768== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8768== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8768== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8768== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8768== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8768== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8768== Address 0x7a05fc2 is 2 bytes inside a block of size 72 alloc'd ==8768== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8768== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8768== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8768== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8768== FileSystem::update /home/guest/MLP FIM 3 Karusel Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 4 Gala Нет такого файла или каталога FileSystem::update /home/guest/MLP_FIM_Season4 Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 5 RUS ENG 720p Нет такого файла или каталога FileSystem::update /home/guest/My Little Pony - Friendship is Magic S02 720p Нет такого файла или каталога FileSystem::update /home/guest/MLP FIM 1 Karusel Нет такого файла или каталога FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi IndexFile::draw_index: index has 0 zoom IndexFile::draw_index: index has 0 zoom IndexFile::draw_index: index has 0 zoom FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.channels' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: Нет такого файла или каталога ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM dmix:SB AudioALSA::open_output default: Нет такого файла или каталога ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.channels' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: Нет такого файла или каталога ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: Нет такого файла или каталога ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM dmix:SB AudioALSA::open_output default: Нет такого файла или каталога FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi Session time: 0:03:45 Cpu time: user: 0:02:55.369 sys: 0:00:03.619 ==8768== ==8768== HEAP SUMMARY: ==8768== in use at exit: 257,888 bytes in 5,168 blocks ==8768== total heap usage: 856,519 allocs, 851,351 frees, 730,473,069 bytes allocated ==8768== ==8768== LEAK SUMMARY: ==8768== definitely lost: 14,665 bytes in 92 blocks ==8768== indirectly lost: 0 bytes in 0 blocks ==8768== possibly lost: 14,616 bytes in 8 blocks ==8768== still reachable: 228,607 bytes in 5,068 blocks ==8768== of which reachable via heuristic: ==8768== stdstring : 1,152 bytes in 26 blocks ==8768== suppressed: 0 bytes in 0 blocks ==8768== Rerun with --leak-check=full to see details of leaked memory ==8768== ==8768== Use --track-origins=yes to see where uninitialised values come from ==8768== For lists of detected and suppressed errors, rerun with: -s ==8768== ERROR SUMMARY: 6 errors from 1 contexts (suppressed: 0 from 0)
---------- Пересланное сообщение ----------
Тема: Upd: I tried to run CinGG under valgrind, on application restart... Дата: Вторник 03 ноября 2020 Отправитель: Andrew Randrianasulu <[email protected]> Получатель: "Cinelerra.GG" <[email protected]>
Also tried to remove one (video) track from (1+2) default project. Then undo with 'z'
==18036== Conditional jump or move depends on uninitialised value(s) ==18036== at 0x86FB8FB: Tracks::load(FileXML*, int&, unsigned int) (in /usr/bin/cin) ==18036== by 0x8552D4A: EDL::read_xml(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x8552889: EDL::load_xml(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x85E0E5D: MainUndo::load_from_undo(FileXML*, unsigned int) (in /usr/bin/cin) ==18036== by 0x85E0D04: MainUndo::undo() (in /usr/bin/cin) ==18036== by 0x8603DEF: MWindow::undo_entry(BC_WindowBase*) (in /usr/bin/cin) ==18036== by 0x85D6D3D: Undo::handle_event() (in /usr/bin/cin) ==18036== by 0x87ACE00: BC_MenuItem::dispatch_key_press() (in /usr/bin/cin) ==18036== by 0x87ADDC4: BC_MenuPopup::dispatch_key_press() (in /usr/bin/cin) ==18036== by 0x87AB7B6: BC_Menu::dispatch_keypress() (in /usr/bin/cin) ==18036== by 0x87AC341: BC_MenuBar::keypress_event() (in /usr/bin/cin) ==18036== by 0x87DCABE: BC_WindowBase::dispatch_keypress_event() (in /usr/bin/cin) ==18036==
but this one printed just once - I tried to 'remove track/undo by z' second time and this message doesn't show up.
---------- Пересланное сообщение ----------
Тема: I tried to run CinGG under valgrind, on application restart... Дата: Вторник 03 ноября 2020 Отправитель: Andrew Randrianasulu <[email protected]> Получатель: "Cinelerra.GG" <[email protected]>
First I moved away ~/.bcast5 (under root user), and ten lauched CinGG
After it started I tried to chnage vicon quality from low->high in Preferences. After this I just clicked OK, so restart was initiated.
Program come up OK, but Valgrind complained.
Got some output:
valgrind /usr/bin/cin ==16779== Memcheck, a memory error detector ==16779== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==16779== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==16779== Command: /usr/bin/cin ==16779== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==16779== Syscall param ioctl(generic) points to uninitialised byte(s) ==16779== at 0x58B0734: ioctl (in /lib/libc-2.30.so) ==16779== by 0x5D22F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==16779== by 0x5D25A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==16779== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==16779== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==16779== by 0xF790147: nouveau_device_new (nouveau.c:389) ==16779== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==16779== Address 0x79e4982 is 2 bytes inside a block of size 72 alloc'd ==16779== at 0x403229C: malloc (vg_replace_malloc.c:299) ==16779== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==16779== by 0xF790147: nouveau_device_new (nouveau.c:389) ==16779== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==16779== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12a97800] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x756fcc0] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/compressor_lr LOAD: http://lsp-plug.in/plugins/lv2/compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_lr LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_mono LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_ms LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_stereo LOAD: http://lsp-plug.in/plugins/lv2/expander_lr LOAD: http://lsp-plug.in/plugins/lv2/expander_mono LOAD: http://lsp-plug.in/plugins/lv2/expander_ms LOAD: http://lsp-plug.in/plugins/lv2/expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/gate_lr LOAD: http://lsp-plug.in/plugins/lv2/gate_mono LOAD: http://lsp-plug.in/plugins/lv2/gate_ms LOAD: http://lsp-plug.in/plugins/lv2/gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x16_mono LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x32_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_stereo LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_mono LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_stereo LOAD: http://lsp-plug.in/plugins/lv2/latency_meter LOAD: http://lsp-plug.in/plugins/lv2/limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_mono LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24_do LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48 LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48_do LOAD: http://lsp-plug.in/plugins/lv2/oscillator_mono LOAD: http://lsp-plug.in/plugins/lv2/phase_detector LOAD: http://lsp-plug.in/plugins/lv2/profiler_mono LOAD: http://lsp-plug.in/plugins/lv2/profiler_stereo LOAD: http://lsp-plug.in/plugins/lv2/room_builder_mono LOAD: http://lsp-plug.in/plugins/lv2/room_builder_stereo LOAD: http://lsp-plug.in/plugins/lv2/sampler_mono LOAD: http://lsp-plug.in/plugins/lv2/sampler_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_stereo LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_lr LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_mono LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_ms LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_stereo LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_mono LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_stereo LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x1 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x12 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x16 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x2 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x4 LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x8 LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_mono LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_stereo LOAD: http://lsp-plug.in/plugins/lv2/trigger_mono LOAD: http://lsp-plug.in/plugins/lv2/trigger_stereo init ladspa index: /usr/lib/ladspa ==16989== ==16989== Process terminating with default action of signal 11 (SIGSEGV) ==16989== Bad permissions for mapped region at address 0x0 ==16989== at 0x0: ??? ==16989== ==16989== HEAP SUMMARY: ==16989== in use at exit: 83,480,916 bytes in 31,449 blocks ==16989== total heap usage: 1,957,779 allocs, 1,926,330 frees, 1,393,157,898 bytes allocated ==16989== ==16989== LEAK SUMMARY: ==16989== definitely lost: 10,885 bytes in 116 blocks ==16989== indirectly lost: 35,019 bytes in 441 blocks ==16989== possibly lost: 60,054,201 bytes in 2,966 blocks ==16989== still reachable: 23,380,811 bytes in 27,926 blocks ==16989== of which reachable via heuristic: ==16989== stdstring : 3,766 bytes in 136 blocks ==16989== suppressed: 0 bytes in 0 blocks ==16989== Rerun with --leak-check=full to see details of leaked memory ==16989== ==16989== For counts of detected and suppressed errors, rerun with: -v ==16989== Use --track-origins=yes to see where uninitialised values come from ==16989== ERROR SUMMARY: 6 errors from 1 contexts (suppressed: 0 from 0) ==16779== Thread 12: ==16779== Invalid write of size 1 ==16779== at 0x87F6101: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1f is 7 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F6105: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1c is 4 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F610B: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c1e is 6 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 1 ==16779== at 0x87F611B: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c21 is 9 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== ==16779== Invalid read of size 4 ==16779== at 0x87F612A: Thread::entrypoint(void*) (in /usr/bin/cin) ==16779== by 0x4417F65: start_thread (in /lib/libpthread-2.30.so) ==16779== by 0x58B8C35: clone (in /lib/libc-2.30.so) ==16779== Address 0x137f7c28 is 16 bytes inside a block of size 68 free'd ==16779== at 0x4033B2C: operator delete(void*) (vg_replace_malloc.c:576) ==16779== by 0x8611E1D: MWindow::~MWindow() (in /usr/bin/cin) ==16779== by 0x85DCA7D: main (in /usr/bin/cin) ==16779== Block was alloc'd at ==16779== at 0x403296C: operator new(unsigned int) (vg_replace_malloc.c:328) ==16779== by 0x8616996: MWindow::get_viewer(int, int) (in /usr/bin/cin) ==16779== by 0x861D68F: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==16779== by 0x85DCAC3: main (in /usr/bin/cin) ==16779== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
Session time: 0:00:14 Cpu time: user: 0:06:17.080 sys: 0:00:03.580
Is this real error, result of my hacking (:}) or something else?
-------------------------------------------------------
-------------------------------------------------------
Andrew, not sure but I think running Valgrind with lv2 plugins is just problematic -- it has never been run that way here. Lv2 was sort of implemented separately from Cinelerra as opposed to an integral part. I can only suggest going into Settings->Preferences, the Interface tab and temporarily remove "Default LV2 path" (you may have to disable the environment variable too).
Now, I have some crash at lv2 plugin scan under valgrind, but this may be also false positive:
---------------
root@slax:/home/guest/botva/src/valgrind/valgrind# rm -rf ~/.bcast5 root@slax:/home/guest/botva/src/valgrind/valgrind# valgrind /usr/bin/cin ==8414== Memcheck, a memory error detector ==8414== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8414== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==8414== Command: /usr/bin/cin ==8414== Cinelerra Infinity - built: Nov 1 2020 10:30:54 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
==8414== Syscall param ioctl(generic) points to uninitialised byte(s) ==8414== at 0x58B3734: ioctl (in /lib/libc-2.30.so) ==8414== by 0x5D25F3C: drmIoctl (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0x5D28A53: drmCommandWriteRead (in /usr/X11R7/lib/libdrm.so.2.4.0) ==8414== by 0xF78F524: nouveau_object_ioctl (nouveau.c:88) ==8414== by 0xF78F754: nouveau_object_init (nouveau.c:262) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== Address 0x79e7982 is 2 bytes inside a block of size 72 alloc'd ==8414== at 0x40335CC: malloc (vg_replace_malloc.c:307) ==8414== by 0xF78F6EF: nouveau_object_init (nouveau.c:251) ==8414== by 0xF790147: nouveau_device_new (nouveau.c:389) ==8414== by 0xD0CA470: nouveau_drm_screen_create (in /usr/X11R7/lib/dri/nouveau_dri.so) ==8414== init plugin index: /usr/lib/cin/plugins PluginFFilter::new_ffilter(overlay_opencl) err: Ошибка ввода/вывода PluginFFilter::new_ffilter(xfade_opencl) err: Ошибка ввода/вывода [frei0r_src_736 @ 0x12ac2bc0] No filter name provided. PluginFFilter::new_ffilter(frei0r_src) err: Недопустимый аргумент [openclsrc_752 @ 0x73202c0] OpenCL source requires output dimensions to be specified. PluginFFilter::new_ffilter(openclsrc) err: Недопустимый аргумент init lv2 index: LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono shmat: Недопустимый аргумент ==8414== Invalid write of size 4 ==8414== at 0x8657FCC: PluginLV2::init_buffer(int) (in /usr/bin/cin) ==8414== by 0x8657E5C: PluginLV2::init_lv2(PluginLV2ClientConfig&, int, int) (in /usr/bin/cin) ==8414== by 0x865BE0D: PluginServer::new_lv2_plugin() (in /usr/bin/cin) ==8414== by 0x8662041: PluginServer::open_plugin(int, Preferences*, EDL*, Plugin*) (in /usr/bin/cin) ==8414== by 0x865BFDF: MWindow::init_lv2_index(MWindow*, Preferences*, _IO_FILE*) (in /usr/bin/cin) ==8414== by 0x86145E2: MWindow::init_plugins(MWindow*, Preferences*) (in /usr/bin/cin) ==8414== by 0x861D4DF: MWindow::create_objects(int, int, char*) (in /usr/bin/cin) ==8414== by 0x85DCAC3: main (in /usr/bin/cin) ==8414== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==8414== ** segv at 0x8657fcc in pid 8414, tid 8414 writing debug data to /tmp/cinelerra_8414.dmp
On Wed, 25 Nov 2020, Phyllis Smith via Cin wrote:
Andrew, not sure but I think running Valgrind with lv2 plugins is just
My note has no direct relation to the topic, but nevertheless. I realized that Cinelerra Makefiles do not have sufficient set of dependencies of the .o files from all the relevant .h files. For example, every plugin includes a number of headers from the directory cinelerra but their Makefiles define no dependencies on these headers. If I modify, let's say, cinelerra/pluginpopup.h to add one more button, then execute `make' in Cinelerra's topdir, then pluginpopup.C will be rebuilt, but all the plugins only relinked, not recompiled. Then it can easily happen that the complete program works, but when run under valgrind, it reports systematically some things like doubly freed memories, illegal initializations, etc. And when working longer, Cinelerra itself can experience sporadic crashes. Then after fresh complete rebuild (preceded by removing all the object files), memory problems disappear, and valgrind becomes quite happy. To be safe - please always perform complete rebuild of the whole Cinelerra project, with explicit cleaning all object files, after modifying any single header. And do a complete rebuild, including complete cleaning in all the thirdparty directories, after modifying something inside thirdparties. Cinelerra's Makefiles themselves do not ensure adequate recompilation through dependencies. _______________________________________________________________________________ Georgy Salnikov NMR Group Novosibirsk Institute of Organic Chemistry Lavrentjeva, 9, 630090 Novosibirsk, Russia Phone +7-383-3307864 Email [email protected] _______________________________________________________________________________
participants (4)
-
Andrew Randrianasulu -
Georgy Salnikov -
Phyllis Smith -
Sam