[Cin] Upd: I tried to run CinGG under valgrind, on application restart...

Andrew Randrianasulu randrianasulu at gmail.com
Tue Nov 3 09:55:44 CET 2020


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 <randrianasulu at gmail.com>
Получатель:  "Cinelerra.GG" <cin at lists.cinelerra-gg.org>


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?

-------------------------------------------------------


More information about the Cin mailing list