https://bugs.kde.org/show_bug.cgi?id=356887

            Bug ID: 356887
           Summary: crash during auto conversion of valid (previous
                    version) project
           Product: kdenlive
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: alex.k...@gmx.de

openSUSE Leap 42.1 kdenlive 15.12
crash on clipitem.cpp:762 caused by fact that for all my projects in line 755
m_binClip->audioFrameCache is empty!

Reproducible: Always

Steps to Reproduce:
1. have an older version project
2. open it with new 15.12 version
3. after a long period of time kdenlive window just disappears

Actual Results:  
Backup file is created but useless. The original project file is not really
converted.

Expected Results:  
The project is converted and can be edited with new version

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff13b7f36 in QVariant::toDouble(bool*) const () from
/usr/lib64/libQt5Core.so.5

(gdb) backtrace
#0  0x00007ffff13b7f36 in QVariant::toDouble(bool*) const () at
/usr/lib64/libQt5Core.so.5
#1  0x00000000005081fc in ClipItem::paint(QPainter*, QStyleOptionGraphicsItem
const*, QWidget*) (this=
    0x5874e60, painter=0x7fffffffb580, option=<optimized out>) at
/usr/src/debug/kdenlive-15.12.0/src/timeline/clipitem.cpp:762
#2  0x00007ffff2ba58a3 in  () at /usr/lib64/libQt5Widgets.so.5
#3  0x00007ffff2ba69d2 in  () at /usr/lib64/libQt5Widgets.so.5
#4  0x00007ffff2ba6ebd in  () at /usr/lib64/libQt5Widgets.so.5
#5  0x00007ffff2bc8a8d in QGraphicsView::paintEvent(QPaintEvent*) () at
/usr/lib64/libQt5Widgets.so.5

(gdb) up
#1  0x00000000005081fc in ClipItem::paint (this=0x5874e60,
painter=0x7fffffffb580, option=<optimized out>)
    at /usr/src/debug/kdenlive-15.12.0/src/timeline/clipitem.cpp:762
762                     double value = m_binClip->audioFrameCache.at(qMin(i *
channels, audioLevelCount)).toDouble() / 256;
(gdb) display audioLevelCount
1: audioLevelCount = -1
(gdb) display channels
2: channels = 2
(gdb) display i
3: i = 0

I cannot explain why a cache is empty. What is strange, that conversion process
prints almost endless sequence of ...

"Creating audio thumbnails (25/92)"
[mpegts @ 0x7fff7c5e0e80] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff8590a940] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff8829ad20] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff844ba360] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fffac00ed80] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff8883b120] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff85910060] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fffac007240] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff7ca3ff80] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
"Creating audio thumbnails (26/92)"
[mpegts @ 0x7fff7c613440] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fffac0088c0] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff889899a0] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff7c613440] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fff84e8b140] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options 
[mpegts @ 0x7fffac0117e0] Could not find codec parameters for stream 2
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size       
Consider increasing the value for the 'analyzeduration' and 'probesize' options
...
etc.

What is scary,  the message box about creation backup and segmentation is not
synchronized with conversion process. As the crash happens, the last printed
message talks something about "Creating audio thumbnails (27/92)".

Probably cache creation process is not complete and object does not reference
the cache at all?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to