Skip to content

Out of memory with 24.07 #987

@maxammann

Description

@maxammann

I encountered this crash while doing a capture dvrescue --rewind-count 2 -m dvrescue24-1.dv

File 'dvrescue24-1.dv' already exists. Overwrite? [y/N] y                                                                                                                                                                                  
libiec61883 error: Failed to get channels available.                                                                 
DVRescue v.24.07 (MediaInfoLib v.24.06) by MIPoPS                                                                                                                                                                                          
File 1: auto-rewind                                                                                                  
File 2: auto-rewind                                                                                                                                                                                                                        
     2 00:00:00:17 (1.0x, DV 32)                                                                                     
Rewind to frame 0                                                                                                                                                                                                                          
  8375 00:05:36:03 (1.0x, DV 32)                                                                                     
Rewind to frame 10071                                                                                                                                                                                                                      
  M 78 00:05:36:03 (1.0x, DV 127)                                                                                                                                                                                                          
Rewind to frame 10072                                                                                                                                                                                                                      
  8382 00:05:36:07 (1.0x, DV 127)                                                                                    
Rewind to frame 10075                                                                                                                                                                                                                      
  P 83 00:05:36:08 (1.0x, DV 127)                                                                                    
Rewind to frame 10075                                                                                                                                                                                                                      
  8390 00:05:36:12 (1.0x, DV 127)                                                                                                                                                                                                          
Rewind to frame 10077                                                                                                                                                                                                                      
 11903 00:07:57:00 (1.0x, DV 32)                                                                                                                                                                                                           
Rewind to frame 14307                                                                                                                                                                                                                      
  P 06 00:07:57:00 (1.0x, DV 127)                                                                                                                                                                                                          
Rewind to frame 14307                                                                                                                                                                                                                      
 11915 00:07:57:06 (1.0x, DV 127)                                                                                                                                                                                                          
Rewind to frame 14315 
terminate called after throwing an instance of 'std::bad_alloc'                                                                                                
  what():  std::bad_alloc                                                                                                                                      
[1]    59377 IOT instruction (core dumped)  /home/max/dvrescue_CLI_GNU_FromSource/dvrescue/Project/GNU/CLI/dvrescue   2 -           

trace:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44      ./nptl/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x7ff3632fc6c0 (LWP 59380))]
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007ff3646a8f4f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  0x00007ff364659fb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ff364644472 in __GI_abort () at ./stdlib/abort.c:79
#4  0x00007ff36449d919 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ff3644a8e1a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ff3644a8e85 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ff3644a90d8 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ff36449d524 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00005576fb9c6bc6 in void std::vector<(anonymous namespace)::per_frame, std::allocator<(anonymous namespace)::per_frame> >::_M_realloc_insert<(anonymous namespace)::status, TimeCode&, decltype(nullptr), unsigned long&>(__gnu_cxx::__normal_iterator<(anonymous namespace)::per_frame*, std::vector<(anonymous namespace)::per_frame, std::allocator<(anonymous namespace)::per_frame> > >, (anonymous namespace)::status&&, TimeCode&, decltype(nullptr)&&, unsigned long&) [clone .constprop.0] ()
#10 0x00005576fb9d3601 in (anonymous namespace)::dv_merge_private::AddFrameAnalysis(unsigned long, MediaInfo_Event_DvDif_Analysis_Frame_1 const*, float) [clone .constprop.0] ()
#11 0x00005576fb9d42d3 in dv_merge::AddFrameAnalysis(unsigned long, MediaInfo_Event_DvDif_Analysis_Frame_1 const*, float) ()
#12 0x00005576fb9e90a1 in file::AddFrameAnalysis(MediaInfo_Event_DvDif_Analysis_Frame_1 const*) ()
#13 0x00005576fbf50991 in MediaInfoLib::MediaInfo_Config_MediaInfo::Event_Send(MediaInfoLib::File__Analyze*, unsigned char const*, unsigned long, ZenLib::Ztring const&) ()
#14 0x00005576fbc5b317 in MediaInfoLib::File_DvDif::Errors_Stats_Update() ()
#15 0x00005576fbc64014 in MediaInfoLib::File_DvDif::Read_Buffer_Continue() ()
#16 0x00005576fbee1f1d in MediaInfoLib::File__Analyze::Open_Buffer_Continue_Loop() ()
#17 0x00005576fbee27d0 in MediaInfoLib::File__Analyze::Open_Buffer_Continue(unsigned char const*, unsigned long) ()
#18 0x00005576fba2912b in MediaInfoLib::MediaInfo_Internal::Open_Buffer_Continue(unsigned char const*, unsigned long) ()
#19 0x00005576fb9fa42c in MediaInfoLib::MediaInfo::Open_Buffer_Continue(unsigned char const*, unsigned long) ()
#20 0x00005576fb9f79e3 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<LinuxWrapper::StartCaptureSession()::{lambda()#2}> > >::_M_run() ()
#21 0x00007ff3644d44a3 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#22 0x00007ff3646a71f5 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#23 0x00007ff3647278dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions