[digikam] [Bug 332721] New: Crash when reading a certain mp4 file

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] New: Crash when reading a certain mp4 file

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

            Bug ID: 332721
           Summary: Crash when reading a certain mp4 file
    Classification: Unclassified
           Product: digikam
           Version: 3.5.0
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Import
          Assignee: [hidden email]
          Reporter: [hidden email]

I have isolated a certain mp4-file that crashes Digikam while indexing the
file.


Reproducible: Always

Steps to Reproduce:
Paste file into a digikam album-folder inside digikam.
OR
Place file in a album folder outside of digikam and start digikam to let it
index the file.
Actual Results:  
1. digikam tries to index the file
2. digikam crashes

Expected Results:  
-

I tried to cut the file to see what would happen, cut it all the way down to
5kb and it still crashes.

Original file was 29mb, unfortunately I can't publish the full file, but these
pieces still triggers the crash
http://jkabrams.se/files/digikam-crash/video_crashing_digikam_5k.mp4
http://jkabrams.se/files/digikam-crash/video_crashing_digikam_500k.mp4
http://jkabrams.se/files/digikam-crash/video_crashing_digikam_2m.mp4

Console output
http://pastebin.com/6ZwH6hs7

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

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

--- Comment #1 from JKAbrams <[hidden email]> ---
Created attachment 85801
  --> https://bugs.kde.org/attachment.cgi?id=85801&action=edit
The offending video

Sorry about my links not working, (something wrong with my server mimetype
settings).
Here's the 2mb version of the file.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

JKAbrams
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

--- Comment #2 from JKAbrams <[hidden email]> ---
Created attachment 85802
  --> https://bugs.kde.org/attachment.cgi?id=85802&action=edit
Offending video 5kb

And the 5kb version.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Gilles Caulier-4
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |BACKTRACE

--- Comment #3 from Gilles Caulier <[hidden email]> ---
run digiKam in a console through GDB to get a backtrace to hack, as explained
here :

http://www.digikam.org/contrib

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

JKAbrams
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

--- Comment #4 from JKAbrams <[hidden email]> ---
Created attachment 85807
  --> https://bugs.kde.org/attachment.cgi?id=85807&action=edit
Stracktrace, but without debug symbols

(In reply to comment #3)
> run digiKam in a console through GDB to get a backtrace to hack, as
> explained here :
>
> http://www.digikam.org/contrib
>
> Gilles Caulier

It's not reproducible then? Guess I'll have to figure out how to build it with
debugging symbols for Arch then. Would it be enough to rebuild only digikam
itself with debugging symbols or will I also need to rebuild the dependencies?
Here is the stack trace I have now, is it of any use without the debug symbols?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Gilles Caulier-4
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|BACKTRACE                   |UPSTREAM

--- Comment #5 from Gilles Caulier <[hidden email]> ---
From your trace it crash in Exiv2 shared lib when video file is parsed:

Thread 24 (Thread 0x7fa970e9e700 (LWP 540)):
[KCrash Handler]
#5  0x00007fa99830c7d5 in Exiv2::QuickTimeVideo::movieHeaderDecoder(unsigned
long) () from /usr/lib/libexiv2.so.13
#6  0x00007fa99830dd9b in Exiv2::QuickTimeVideo::tagDecoder(Exiv2::DataBuf&,
unsigned long) () from /usr/lib/libexiv2.so.13
#7  0x00007fa99830e1a0 in Exiv2::QuickTimeVideo::decodeBlock() () from
/usr/lib/libexiv2.so.13
#8  0x00007fa99830dd40 in Exiv2::QuickTimeVideo::tagDecoder(Exiv2::DataBuf&,
unsigned long) () from /usr/lib/libexiv2.so.13
#9  0x00007fa99830e1a0 in Exiv2::QuickTimeVideo::decodeBlock() () from
/usr/lib/libexiv2.so.13
#10 0x00007fa99830e3d5 in Exiv2::QuickTimeVideo::readMetadata() () from
/usr/lib/libexiv2.so.13
#11 0x00007fa9a02d1be5 in KExiv2Iface::KExiv2::load(QString const&) const ()
from /usr/lib/libkexiv2.so.11

Please report this problem to Exiv2 bugzilla. Thanks in advance

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Joseph Reagle
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Joseph Reagle <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Joseph Reagle <[hidden email]> ---
I have this problem too.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Joseph Reagle
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

--- Comment #7 from Joseph Reagle <[hidden email]> ---
Is there a pointer to where this was resolved upstream? Also, even if exiv2
fails, sucks for digikam to segfault.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Gilles Caulier-4
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #8 from Gilles Caulier <[hidden email]> ---
*** Bug 343643 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Gilles Caulier-4
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #9 from Gilles Caulier <[hidden email]> ---
*** Bug 345457 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain mp4 file

Gilles Caulier-4
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #10 from Gilles Caulier <[hidden email]> ---
*** Bug 352777 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 332721] Crash when reading a certain MP4 video file

bugzilla_noreply
In reply to this post by JKAbrams
https://bugs.kde.org/show_bug.cgi?id=332721

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Import                      |Metadata-Engine
            Summary|Crash when reading a        |Crash when reading a
                   |certain mp4 file            |certain MP4 video file

--
You are receiving this mail because:
You are the assignee for the bug.