<div dir="ltr"><div class="gmail_default" style="font-size:small">Checked the 0004... fix into GIT. I think this may only be happening on certain 32-bit systems but the fix is fine for everyone.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 16, 2023 at 1:32 AM Andrew Randrianasulu via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">so second attempt at fixing hang - declare both variables volatile...<br>
<br>
I wonder if anyone can reproduce this hang ...<br>
<br>
On Sat, Sep 16, 2023 at 9:35 AM Andrew Randrianasulu<br>
<<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br>
><br>
> so with debug it sits here when I ctrl-c it:<br>
><br>
> SigHandler::signal_handler total files=0<br>
><br>
> Thread 1 "cin" received signal SIGINT, Interrupt.<br>
> 0x08624b9c in get_edit_regions (edits=0xffffb3d0, regions=...) at edl.C:911<br>
> 911 if( pos >= range.end ) continue;<br>
> (gdb) p range_end<br>
> No symbol "range_end" in current context.<br>
> (gdb) bt full<br>
> #0 0x08624b9c in get_edit_regions (edits=0xffffb3d0, regions=...) at edl.C:911<br>
> range = @0xcdbe240: {start = 48.43333333333333,<br>
> end = 70.428333333333327}<br>
> expand = <optimized out><br>
> edit = <optimized out><br>
> end = <optimized out><br>
> k = 0<br>
> pos = 48.43333333333333<br>
> n = 1<br>
> i = 1<br>
> #1 0x08626474 in EDL::delete_edit_labels (this=0xcdb2c30, edits=0xffffb3d0,<br>
> collapse=0) at edl.C:930<br>
> regions = {avail = 16, dtype = 1, total = 1, values = 0xcdbe240}<br>
> n = <optimized out><br>
> k = <optimized out><br>
> #2 0x086cbcaf in MWindow::move_group (this=0xffffc66c, group=0xc6f8ab0,<br>
> first_track=0xcdaf5c0, position=290.10000000000002, overwrite=1)<br>
> at mwindowedit.C:1125<br>
> edits = {avail = 16, dtype = 1, total = 2, values = 0xc663170}<br>
> #3 0x087a77ef in TrackCanvas::drag_stop (this=0xd730340, redraw=0xffffb48c)<br>
> at trackcanvas.C:1188<br>
> cur_pos = 48.43333333333333<br>
> new_pos = 290.10000000000002<br>
> --Type <RET> for more, q to quit, c to continue without paging--<br>
> drop_position = 290.10000000000002<br>
> ret = <optimized out><br>
> drop_track = <optimized out><br>
> drag_track = <optimized out><br>
> drag_edit = <optimized out><br>
> edit_track = <optimized out><br>
> drag_group = 0xc6f8ab0<br>
> select = <optimized out><br>
> result = 0<br>
> insertion = 0<br>
> over_window = <optimized out><br>
> cursor_x = <optimized out><br>
> cursor_y = <optimized out><br>
> #4 0x086d33eb in MWindowGUI::drag_stop (this=0xd4e9280) at mwindowgui.C:953<br>
> i = 0<br>
> result = 0<br>
> redraw = 0<br>
> #5 0x0879a7c6 in TrackCanvas::drag_stop_event (this=0xd730340)<br>
> at trackcanvas.C:940<br>
> result = <optimized out><br>
> #6 0x088844bc in BC_WindowBase::dispatch_drag_stop (this=0xd730340)<br>
> at bcwindowbase.C:1881<br>
> result = <optimized out><br>
> --Type <RET> for more, q to quit, c to continue without paging--<br>
> result = <optimized out><br>
> i = <optimized out><br>
> #7 BC_WindowBase::dispatch_drag_stop (this=0xd730340) at bcwindowbase.C:1870<br>
> result = <optimized out><br>
> #8 0x08884484 in BC_WindowBase::dispatch_drag_stop (this=0xd4e9280)<br>
> at bcwindowbase.C:1876<br>
> i = 6<br>
> result = 0<br>
> #9 0x088845a1 in BC_WindowBase::dispatch_button_release (this=0xd4e9280)<br>
> at bcwindowbase.C:1640<br>
> result = <optimized out><br>
> #10 0x0888ce39 in BC_WindowBase::dispatch_event (this=0xd4e9280)<br>
> at bcwindowbase.C:1079<br>
> tempwin = 18955947<br>
> result = <optimized out><br>
> ptr = <optimized out><br>
> cancel_resize = <optimized out><br>
> cancel_translation = <optimized out><br>
> debug = 0<br>
> event = 0xe12b8430<br>
> #11 0x0888d711 in BC_WindowBase::run_window (this=0xd4e9280)<br>
> at bcwindowbase.C:744<br>
> No locals.<br>
> --Type <RET> for more, q to quit, c to continue without paging--<br>
> #12 0x086e7128 in MWindow::run (this=0xffffc66c) at mwindow.C:3083<br>
> No locals.<br>
> #13 0x0841b46a in main (argc=1, argv=0xffffd364) at main.C:410<br>
> mwindow = {<Thread> = {<br>
> _vptr.Thread = 0xa7a09bc <vtable for MWindow+8>,<br>
> synchronous = true, realtime = false, autodelete = false,<br>
> finished = false, cancel_enabled = false, cancelled = false,<br>
> owner = 808333344, tid = 4294967295}, redraw_tracks = 0x0,<br>
> beeper = 0x0, convert_render = 0x0, playback_3d = 0xc4adcf0,<br>
> splash_window = 0x0, undo = 0xd9cb640, undo_command = 0,<br>
> stack = {<ArrayList<StackItem>> = {avail = 16, dtype = 1, total = 0,<br>
> values = 0xc581ff0}, <No data fields>}, defaults = 0xc588200,<br>
> assets = 0x0, audio_cache = 0xcda87d0, video_cache = 0xcd9d900,<br>
> frame_cache = 0xc5ddc50, wave_cache = 0xc5de050,<br>
> preferences = 0xc59f080, preferences_thread = 0xd6d0320,<br>
> session = 0xc5a48a0, theme = 0xc7fd090, mainindexes = 0xd8108e0,<br>
> mainprogress = 0xd984610, brender = 0xda28350, cin_lang = "en\000ч",<br>
> brender_active = 0, default_standard = 0xa7bffc6 "PAL",<br>
> static commercials = 0x0, commercial_active = 0, speed_edl = 0x0,<br>
> colormodels = {avail = 16, dtype = 1, total = 6,<br>
> values = 0xc582240}, interlace_project_modes = {avail = 16,<br>
> dtype = 1, total = 3, values = 0xc582290},<br>
> interlace_asset_modes = {avail = 16, dtype = 1, total = 4,<br>
> --Type <RET> for more, q to quit, c to continue without paging--<br>
> values = 0xc5822e0}, channeldb_buz = 0xc4fdc80,<br>
> channeldb_v4l2jpeg = 0xc4d97c0, static plugindb = 0xc6f9ca0,<br>
> plugin_visibility = 8101816626871009282, plugin_guis = 0xda12d60,<br>
> dead_plugins = 0xda196b0, keyframe_threads = 0xda0c450, create_bd =<br>
> 0xda26650, create_dvd = 0xda273b0, batch_render = 0xda27d60, render =<br>
> 0xda1fbb0, exportedl = 0xda28bc0, edl = 0xcdb2c30, gui = 0xd4e9280,<br>
> cwindow = 0xd0d6720, vwindows_lock = 0xc5824c0, vwindows = {<br>
> avail = 16, dtype = 1, total = 0, values = 0xc582330},<br>
> zwindows_lock = 0xc582510, zwindows = {avail = 16, dtype = 1,<br>
> total = 0, values = 0xc582380}, mixers_align = 0xc4facf0,<br>
> awindow = 0xcda9090, gwindow = 0xd8dd1b0, twindow = 0xda291a0,<br>
> wwindow = 0x0, lwindow = 0xd7daa10, run_lock = 0xc5823d0,<br>
> plugin_gui_lock = 0xc582420, dead_plugin_lock = 0xc582470,<br>
> keyframe_gui_lock = 0xc5825b0, brender_lock = 0xc582560,<br>
> sighandler = 0xc4f6a20, restart_status = 0, screens = 1,<br>
> in_destructor = 0, shuttle = 0x0, wintv = 0x0, x10tv = 0x0}<br>
> thread = 0x0<br>
> restart = 0<br>
> done = 0<br>
> filenames = {avail = 16, dtype = 2, total = 0, values = 0xc4a8850}<br>
> fs = {_vptr.FileSystem = 0xa7de404 <vtable for FileSystem+8>,<br>
> dir_list = {avail = 16, dtype = 1, total = 0, values = 0xc4a88a0},<br>
> filter =<br>
> "\000ЛяяаєэчшЛяя\000Ряч\001\000\000\000Ђ1ьчpКяяmВэчмЛяяаєэчшЛ--Type<br>
> <RET> for more, q to quit, c to continue without paging--<br>
> яя\000Ряч\001\000\000\000°.ьчђКяяmВэчмЛяяаєэчшЛяя\000Ряч\001\000\000\000а+ьч°КяяmВэчмЛяяаєэчшЛяя\000Ряч\001\000\000\000\020)ьчРКяяmВэчмЛяяаєэчшЛяя\000Ряч\001\000\000\000@&ьчрКяяmВэчмЛяяаєэчшЛяя\000Ряч\001\000\000\000p#ьч\020ЛяяmВэчмЛяяаєэч"...,<br>
> want_directory = 0, show_all_files = 0,<br>
> current_dir =<br>
> "/dev/shm/cinelerra/cinelerra-5.1\000\000\000\000\001\000\000\000\060.Bч\022\022\000\000\000ЉBчр=mч\024Пяя\020ПяяZ\000\000\000\003\000\000\000я\a\000\000`Пяя”Ряя<br>
> Э\034ч”Ряя`Пяя\000\000\000\000$Ѓ\000\000f\000\000\000\000\000\000\000\000\020",<br>
> '\000' <repeats 15 times>, "\060<br>
> \000\000\000\000\000З\t\000e\000\000\000\000-\035М/", '\000' <repeats<br>
> 20 times>, "З\t\000e\000\000\000\000-\035М/\000\000\000\000З\t\000e\000\000\000\000-\035М/",<br>
> '\000' <repeats 16 times>..., sort_order = 0, sort_field = 0}<br>
> st = 1694845868<br>
> ltm = {tm_sec = 8, tm_min = 31, tm_hour = 9, tm_mday = 16, tm_mon = 8,<br>
> tm_year = 123, tm_wday = 6, tm_yday = 258, tm_isdst = 0,<br>
> tm_gmtoff = 10800, tm_zone = 0xc4a78a8 "MSK"}<br>
> gtm = {tm_sec = 8, tm_min = 31, tm_hour = 6, tm_mday = 16, tm_mon = 8,<br>
> tm_year = 123, tm_wday = 6, tm_yday = 258, tm_isdst = 0,<br>
> tm_gmtoff = 0, tm_zone = 0xf725decd "GMT"}<br>
> tzofs = <optimized out><br>
> operation = <optimized out><br>
> deamon_port = <optimized out><br>
> deamon_path = '\000' <repeats 656 times>...<br>
> config_path = "\000\000\000\000\027", '\000' <repeats 72<br>
> times>, "РячL»я--Type <RET> for more, q to quit, c to continue without<br>
> paging--<br>
> я\004\000\000\000\000P\\цИјяя…@эч\000 \\ц\000<br>
> \000\000\003\000\000\000\022\b\000\000\003\000\000\000\000@\000\000·\005яч\024»яяу3nц\034ЅяяИјяя;шюч\024»яя\000\000\000\000\000<br>
> \000\000Ш\022\000\000Ш\022\000\000\000\000\000\000\001\000\000\000\000<br>
> \000\000\000@\000\000P6\000\000P6\000\000\000<br>
> \000\000\005\000\000\000\000"...<br>
> batch_path =<br>
> "\000\000\000\000Ђѕяя\000\004\000\000\002\000\000\000яяяя2\000\000\000\000\000\000\000Њяяя",<br>
> '\000' <repeats 20 times>,<br>
> "\020\020\000\000\001\000\000\000\001\000\000\000\001\000<br>
> \000\000\000\000\000\064;)ч`3)ч\001\000\000\000\b\000\000\000\000\000\000\000№™\025чхozч0Дяя\000\000\000\000\000P)ч–д\023ч0Дяяхozч\000\000\000\000\000\000\000\000\002\001\000\000q\000\000\000c\000\000\000D\034\025ч\000\000\000\000\000\020\000\000\071\020\026чЊшmч\022\000\000\000хozч\000\000\000\000\000P~ч\000{J\f,Еяявozч\000\000\000\000ад\023ч"...<br>
> nice_value = <optimized out><br>
> load_perpetual = <optimized out><br>
> lang = 0x0<br>
> locale_path = <optimized out><br>
> cin = <optimized out><br>
> loc = <optimized out><br>
> load_backup = 0<br>
> start_remote_control = 0<br>
> scale = <optimized out><br>
> et = 1836017711<br>
> dt = <optimized out><br>
> --Type <RET> for more, q to quit, c to continue without paging--<br>
> ru = {ru_utime = {tv_sec = 175770044, tv_usec = 1}, ru_stime = {<br>
> tv_sec = 1162608640, tv_usec = 808333344}, {ru_maxrss = -1,<br>
> __ru_maxrss_word = -1}, {ru_ixrss = 0, __ru_ixrss_word = 0}, {<br>
> ru_idrss = 0, __ru_idrss_word = 0}, {ru_isrss = 0,<br>
> __ru_isrss_word = 0}, {ru_minflt = 206232816,<br>
> __ru_minflt_word = 206232816}, {ru_majflt = 0,<br>
> __ru_majflt_word = 0}, {ru_nswap = 228374080,<br>
> __ru_nswap_word = 228374080}, {ru_inblock = 0,<br>
> __ru_inblock_word = 0}, {ru_oublock = 16, __ru_oublock_word = 16},<br>
> {ru_msgsnd = 1, __ru_msgsnd_word = 1}, {ru_msgrcv = 0,<br>
> __ru_msgrcv_word = 0}, {ru_nsignals = 207101936,<br>
> __ru_nsignals_word = 207101936}, {ru_nvcsw = 207127040,<br>
> __ru_nvcsw_word = 207127040}, {ru_nivcsw = 0,<br>
> __ru_nivcsw_word = 0}}<br>
> usr_ms = <optimized out><br>
> us = <optimized out><br>
> ums = <optimized out><br>
> sys_ms = <optimized out><br>
> ss = <optimized out><br>
> sms = <optimized out><br>
> (gdb)<br>
><br>
><br>
><br>
> On Sat, Sep 16, 2023 at 7:24 AM Andrew Randrianasulu<br>
> <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br>
> ><br>
> > I retested and sadly even with my patch hang still here (probably<br>
> > depend on something else) ....<br>
> ><br>
> > On Thu, Sep 14, 2023 at 9:37 AM Igor BEGHETTO via Cin<br>
> > <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>> wrote:<br>
> > ><br>
> > > Andrew, I am sorry. Maybe I wasn't clear.<br>
> > > I followed your steps/video and tested as I could on a my project. I<br>
> > > did't use your patch, I used the monthly version of Cinelerra-GG.<br>
> > > No freeze/hang here.<br>
> > ><br>
> > > IgorBeg<br>
> > ><br>
> > ><br>
> > > Il 13/09/2023 08:35, Andrew Randrianasulu ha scritto:<br>
> > > ><br>
> > > ><br>
> > > > ср, 13 сент. 2023 г., 09:32 Igor BEGHETTO via Cin<br>
> > > > <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a> <mailto:<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>>>:<br>
> > > ><br>
> > > > I tested it on "UbuntuStudio16.04_LTS_64bit" using<br>
> > > > "CinGG-20230831-x86_64-older_distros.AppImage".<br>
> > > > I followed your steps and your demo video, more other things (e.g.<br>
> > > > using<br>
> > > > Proxy, applying an Efffect and some keyframes): never a crash, here.<br>
> > > ><br>
> > > ><br>
> > > > Thanks! While it was freeze/hang I did not know how to interrupt, so<br>
> > > > "crash" was due to me ctrl-C cin instance from terminal (still it<br>
> > > > pointed at function where it was spinning, so I come up with my patch)<br>
> > > --<br>
> > > Cin mailing list<br>
> > > <a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
> > > <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>