[Cin] Complete system hangs (likely out of memory)

Andrew Randrianasulu randrianasulu at gmail.com
Tue Jan 24 14:22:32 CET 2023


My crash - you probably can try to load normal video via recently-loaded
and then load nested xml on new tracks, and undo this load.

for me confusion come from negative tids, but I guess it sort of expected?
(there is difference between kernel and glibc, but I not dared to change
this)

guess real check should be ...somewhere else up in call chain.

вт, 24 янв. 2023 г., 14:04 Andrew Randrianasulu <randrianasulu at gmail.com>:

>
>
> вт, 24 янв. 2023 г., 13:57 Stefan de Konink <stefan at konink.de>:
>
>> On Tuesday, January 24, 2023 11:54:26 AM CET, Andrew Randrianasulu wrote:
>> > hm, my current build from 29 dec 2022 already had "fix", so I
>> > think simplest way of action is to revert/comment it out on git
>> > master, I pull and rebuild and post gdb backtrace  (I tried to
>> > replicate it on termux install, but run into termux-specific
>> > audio crash ... tried to attack it blindly, predictably no
>> > positive results)
>>
>> You can just comment out the two lines of code in your local repository
>> right?
>>
>
>
> actually i just commented if condition .....
>
>
> yeah, build started. Just I tend to spend time productively scrolling
>
>
> https://www.antipope.org/charlie/blog-static/2023/01/make-up-a-guy.html#comments
>
> current position: comment number 378
>
> :-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230124/dd802f7d/attachment.htm>
-------------- next part --------------
#0  0x00000000 in  ()
#1  0x0849fc1e in Garbage::remove_user() ()
#2  0x083d97c4 in CICache::check_out(Asset*, EDL*, int) ()
#3  0x085de98c in VEdit::read_frame(VFrame*, long long, int, CICache*, int, int, int) ()
#4  0x085eabf1 in VRender::process_buffer(long long, int) ()
#5  0x085eae7a in VRender::process_buffer(VFrame*, long long, int) ()
#6  0x085e65b0 in VModule::import_frame(VFrame*, VEdit*, long long, double, int, int) ()
#7  0x085e67a6 in VModule::render(VFrame*, long long, int, double, int, int, int) ()
#8  0x085e4f3b in VirtualVNode::read_data(VFrame*, long long, double, int) ()
#9  0x085e4c9c in VirtualVNode::render_as_module(VFrame*, VFrame*, long long, double, int) ()
#10 0x085e4d36 in VirtualVNode::render(VFrame*, long long, double, int) ()
#11 0x085e4257 in VirtualVConsole::process_buffer(long long, int) ()
#12 0x085ead2d in VRender::process_buffer(long long, int) ()
#13 0x085eaf77 in VRender::run() ()
#14 0x086b0a83 in Thread::entrypoint(void*) ()
#15 0xf53af328 in start_thread () at /lib/libpthread.so.0
#16 0xf4d45f06 in clone () at /lib/libc.so.6
#0  0xf4c6aa1a in raise () at /lib/libc.so.6
#1  0xf4c4e2d5 in abort () at /lib/libc.so.6
#2  0xf4c4e1be in plural_eval.cold () at /lib/libc.so.6
#3  0xf4c61266 in  () at /lib/libc.so.6
#4  0xf53b19d4 in pthread_mutex_lock () at /lib/libpthread.so.0
#5  0x086aa85f in Mutex::lock(char const*) ()
#6  0x0849fb38 in Garbage::add_user() ()
#7  0x083d9717 in CICache::check_out(Asset*, EDL*, int) ()
#8  0x085de98c in VEdit::read_frame(VFrame*, long long, int, CICache*, int, int, int) ()
#9  0x085eabf1 in VRender::process_buffer(long long, int) ()
#10 0x085eae7a in VRender::process_buffer(VFrame*, long long, int) ()
#11 0x085e65b0 in VModule::import_frame(VFrame*, VEdit*, long long, double, int, int) ()
#12 0x085e67a6 in VModule::render(VFrame*, long long, int, double, int, int, int) ()
#13 0x085e4f3b in VirtualVNode::read_data(VFrame*, long long, double, int) ()
#14 0x085e4c9c in VirtualVNode::render_as_module(VFrame*, VFrame*, long long, double, int) ()
#15 0x085e4d36 in VirtualVNode::render(VFrame*, long long, double, int) ()
#16 0x085e4257 in VirtualVConsole::process_buffer(long long, int) ()
#17 0x085ead2d in VRender::process_buffer(long long, int) ()
#18 0x085eaf77 in VRender::run() ()
#19 0x086b0a83 in Thread::entrypoint(void*) ()
#20 0xf53af328 in start_thread () at /lib/libpthread.so.0
#21 0xf4d45f06 in clone () at /lib/libc.so.6
#0  0x0849fba9 in Garbage::remove_user() (this=0xa8636d0) at garbage.C:76
        This = 0xa8636d0
#1  0x083d97c4 in CICache::check_out(Asset*, EDL*, int) (this=0xa8636d0, asset=
    0xe0bd9bd0, edl=0xe0bb5340, block=1) at cache.C:128
        current = <optimized out>
        tid = -859837696
        parent = <optimized out>
#2  0x085de98c in VEdit::read_frame(VFrame*, long long, int, CICache*, int, int, int) (this=0xe0bdbe20, video_out=
    0x9229830, input_position=<optimized out>, direction=0, cache=0xa8636d0, use_nudge=1, use_cache=1, use_asynchronous=0) at vedit.C:98
        file = 0x0
        result = 0
        source_position = 0
        asset = 0xe0bd9bd0
#3  0x085eabf1 in VRender::process_buffer(long long, int) (this=
    0xe0be0960, input_position=0, use_opengl=1) at vrender.C:212
        playable_edit = 0xe0bdbe20
        colormodel = <optimized out>
        use_vconsole = <optimized out>
        use_brender = 0
        result = 0
        use_cache = 1
        debug = 0
#4  0x085eae7a in VRender::process_buffer(VFrame*, long long, int)
    (this=0xe0be0960, video_out=0x9229830, input_position=0, use_opengl=1)
    at vrender.C:129
        render_len = 1
        reconfigure = <optimized out>
#5  0x085e65b0 in VModule::import_frame(VFrame*, VEdit*, long long, double, int, int)
    (this=<optimized out>, output=<optimized out>, current_edit=0x9234b30, input_position=0, frame_rate=9.6152999999999995, direction=0, use_opengl=<optimized out>) at vmodule.C:585
        input = <synthetic pointer>
        nested_cmodel = 10
        current_cmodel = 10
        nested_position = 0
        pos = <optimized out>
        position = 0
        use_cache = 1
        asset_w = 320
        asset_h = <optimized out>
        len = <optimized out>
        speed_autos = <optimized out>
        video_length = <optimized out>
        input = @0xcb078248: 0xe0be0f70
        file = <optimized out>
        direction_position = <optimized out>
        in_x = 0
        in_y = 0
        in_w = 320
        in_h = 240
        out_x = 0
        out_y = 0
        out_w = 320
        out_h = 240
        result = 0
        edl_rate = <optimized out>
        input_position_project = 0
        x11_device = <optimized out>
#6  0x085e67a6 in VModule::render(VFrame*, long long, int, double, int, int, int) (this=
    0x925b300, output=0x9229830, start_position=0, direction=0, frame_rate=9.6152999999999995, use_nudge=0, debug_render=0, use_opengl=1) at vmodule.C:760
        result = 0
        edl_rate = <optimized out>
        start_position_project = <optimized out>
        current_edit = 0x9234b30
        previous_edit = 0x0
        transition = 0x0
        __PRETTY_FUNCTION__ = "int VModule::render(VFrame*, int64_t, int, double, int, int, int)"
        current = 0xf4df7740 <main_arena>
        keyframe_set = <optimized out>
        mask_position = <optimized out>
        keyframe = <optimized out>
#7  0x085e4f3b in VirtualVNode::read_data(VFrame*, long long, double, int)
    (this=
    0xcb06c200, output_temp=0x9229830, start_position=0, frame_rate=9.6152999999999995, use_opengl=1) at virtualvnode.C:141
        previous_plugin = 0x0
        result = 0
        parent_edit = <optimized out>
#8  0x085e4c9c in VirtualVNode::render_as_module(VFrame*, VFrame*, long long, double, int)
    (this=0xcb06c200, video_out=0xce226220, output_temp=0x9229830, start_position=0, frame_rate=9.6152999999999995, use_opengl=1) at virtualvnode.C:233
        direction = 0
        edl_rate = <optimized out>
        start_position_project = 0
        mute_constant = -859841784
        mute_fragment = 141251065
#9  0x085e4d36 in VirtualVNode::render(VFrame*, long long, double, int)
    (this=0xcb06c200, output_temp=0x9229830, start_position=0, frame_rate=9.6152999999999995, use_opengl=1) at virtualvnode.C:158
        vrender = <optimized out>
#10 0x085e4257 in VirtualVConsole::process_buffer(long long, int) (this=
    0xa14c3c0, input_position=0, use_opengl=1) at virtualvconsole.C:173
        node = 0xcb06c200
        track = 0xa393260
        result = 0
        session = <optimized out>
        clr_color = <optimized out>
#11 0x085ead2d in VRender::process_buffer(long long, int)
    (this=0xcb0781d0, input_position=0, use_opengl=1) at vrender.C:232
        playable_edit = 0x0
        colormodel = <optimized out>
        use_vconsole = <optimized out>
        use_brender = 0
        result = 0
        use_cache = 1
        debug = 0
#12 0x085eaf77 in VRender::run() (this=<optimized out>) at vrender.C:340
        reconfigure = 0
        current_sample = <optimized out>
        start_sample = <optimized out>
        end_sample = <optimized out>
        skip_countdown = 1
        delay_countdown = 0
        current_input_length = 1
        frame_step = <optimized out>
#13 0x086b0a83 in Thread::entrypoint(void*) (parameters=0xcb0781d0)
    at thread.C:70
        thread = 0xcb0781d0
#14 0xf53af328 in start_thread () at /lib/libpthread.so.0
#15 0xf4d45f06 in clone () at /lib/libc.so.6


More information about the Cin mailing list