[digikam] [Bug 360714] New: JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

[digikam] [Bug 360714] New: JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

            Bug ID: 360714
           Summary: JPGEG2000 thumbnails shows as dimension 0x0 pixel
           Product: digikam
           Version: 4.14.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Preview
          Assignee: [hidden email]
          Reporter: [hidden email]

JPEG 2000 files are always displayed 0x0 (0.00 Mpx) as image dimension in the
ambum view instead of their correct width and height.

Reproducible: Always

Steps to Reproduce:
1. Enable "Show image dimensions" for the album view
2. View a jpeg 2000 file in the preview area.


Actual Results:  
0x0 (0.00 Mpx) is displayed as dimension.

Expected Results:  
Display the correct image dimension.

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

Maik Qualmann <[hidden email]> changed:

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

--- Comment #1 from Maik Qualmann <[hidden email]> ---
The cause is the Bug 195583 and Bug 215458. While scanning images should not
load the entire JPEG2000 image into memory. As an alternative, the metadata is
used. Probably have your images no metadata?

Maik

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #2 from Ulrich Eckhardt <[hidden email]> ---
At least exif tool displays the folllowing  metadata, but this metadata is not
displayed in the metadata tab:

uli:~/Pictures # exiftool a_100.jp2
ExifTool Version Number         : 9.76
File Name                       : a_100.jp2
Directory                       : .
File Size                       : 2.2 MB
File Modification Date/Time     : 2016:03:18 19:27:12+01:00
File Access Date/Time           : 2016:03:18 19:27:12+01:00
File Inode Change Date/Time     : 2016:03:18 19:27:12+01:00
File Permissions                : rw-r--r--
File Type                       : JP2
MIME Type                       : image/jp2
Major Brand                     : JPEG 2000 Image (.JP2)
Minor Version                   : 0.0.0
Compatible Brands               : jp2
Image Height                    : 2675
Image Width                     : 1745
Number Of Components            : 3
Bits Per Component              : 16 Bits, Unsigned
Compression                     : JPEG 2000
Color Spec Method               : Enumerated
Color Spec Precedence           : 0
Color Spec Approximation        : Not Specified
Color Space                     : sRGB
Image Size                      : 1745x2675

If I save a jp2 picture with digikam, then the metadata is displayed. But if I
create a jp2 for example with "convert -depth 14 -quality 80 -resize 10%
img.jp2 img_small.jp2" then the resulting picture does not show up any
metadata. I attach this resulting picture to this bugreport.

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #3 from Ulrich Eckhardt <[hidden email]> ---
Created attachment 97969
  --> https://bugs.kde.org/attachment.cgi?id=97969&action=edit
Generated jp2000

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

[hidden email] changed:

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

--- Comment #4 from [hidden email] ---
Ulrich,

The informations displayed by Exiftool are just image pixels properties. This
is not the real image metadata, know as Exif, Iptc, and XMP.

The way that digiKam save to new JPG2000 has visibile metadata, is that digiKAm
genrate basic Exif, Iptc and XMP from image properties + digiKam properties.
That all.

The problem about the null thumbnail is simple. With JPEG2000, we don't load
full image to render thumb, as JPEG for ex. IPTC as a properties to store a
dedicated image preview that we use instead to render thumb. In your case, no
IPTC = no thumb.

Why not to load full JPEG2000 image to render thumb ? simple : jasper library
used to decode JPEG2000 is old, not maintained and generated a lot of non
catch-able exception which crash digiKam as well.

The alternative to this problem is to use http://www.openjpeg.org/ instead. But
rewriting JPEG 2000 decoder is a non trivial task, and require time to do...

Alternative to JPEG2000 : PGF or WebP. Both use wavelets compression. The first
one is fully supported to digiKam. The second one must be implemented.

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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #5 from [hidden email] ---
This file still valid using last digiKam 5.0.0 ?

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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #6 from Ulrich Eckhardt <[hidden email]> ---
Seems still valid.

I couldn’t find an official digikam5 package for OpenSUSE 13.2 and I was also
not able to compile it there due to missing dependencys. But I found a
repository by wolfi. There the problem is still present.

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.14.0                      |5.0.0

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |normal

--
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 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #7 from [hidden email] ---
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at
this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #8 from Ulrich Eckhardt <[hidden email]> ---
After upgrading my system I could now test this problem against digikam 5.4.
There the problem is still present. I have also tested this now with the
appimage for pre 5.5 found on your link. There the problem is also present.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #9 from [hidden email] ---
Run the AppImage 5.5.0 from a console, go to an album with JP2 image and press
F5 to force to rebuild thumbs. Report all traces from the console in this file.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #10 from Ulrich Eckhardt <[hidden email]> ---
Created attachment 103876
  --> https://bugs.kde.org/attachment.cgi?id=103876&action=edit
Full log of AppImage 5.5.0 from a console

The following output could be seen on the console (a full log including startup
is attached).

digikam.general: Event is dispatched to KDE desktop notifier
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  4  new jobs
digikam.general: scan mode: ScheduleCollectionScan ::
("/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/")
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_05.jp2"
 : JPEG2000 file identified
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_03.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_04.jp2"
 : JPEG2000 file identified
digikam.general: Event is dispatched to KDE desktop notifier
digikam.geoiface: ----
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.dimg: LCMS internal error: cannot create a color transform instance
digikam.general: One job is done
digikam.dimg: LCMS internal error: cannot create a color transform instance
digikam.dimg: LCMS internal error: cannot create a color transform instance
digikam.general: One job is done
digikam.dimg: LCMS internal error: cannot create a color transform instance
digikam.dimg: LCMS internal error: cannot create a color transform instance
digikam.general: One job is done
digikam.general: One job is done
digikam.general: List of Pending Jobs is empty
digikam.general: Event is dispatched to KDE desktop notifier
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread
digikam.dimg: LCMS internal error: cannot create a color transform instance

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #11 from [hidden email] ---
digikam.dimg: LCMS internal error: cannot create a color transform instance

Color Management is enabled with thumbnails view. This is broken (wrong CM
settings in digiKam ?)

Disable CM and try again.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #12 from Ulrich Eckhardt <[hidden email]> ---
Disabling color management does not change anything. Could you give me a hint,
which file is responsible for loading jpeg2000 maybe I could do some debugging.

Log without color management:
kipi.plugins: Reading data from kipirc file..
digikam.geoiface: ----
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
QFSFileEngine::open: No file name specified
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.facesengine: Face database ready for use
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.facesengine: Face database ready for use
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
QFSFileEngine::open: No file name specified
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_03.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_04.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_05.jp2"
 : JPEG2000 file identified
digikam.general: scan mode: ScanDeferredFiles
digikam.general: total scan value :  60346
digikam.database: Broken history: Same file referred by different entries.
Refusing to add a loop.
digikam.database: items to tag ()
digikam.database: Complete scan took: 725 msecs.
digikam.general: Event is dispatched to KDE desktop notifier
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  4  new jobs
digikam.general: scan mode: ScheduleCollectionScan ::
("/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/")
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_03.jp2"
 : JPEG2000 file identified
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_04.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_05.jp2"
 : JPEG2000 file identified
digikam.general: Event is dispatched to KDE desktop notifier
digikam.geoiface: ----
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_02.jp2"
 : JPEG2000 file identified
digikam.general: One job is done
digikam.general: One job is done
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_04.jp2"
 : JPEG2000 file identified
digikam.dimg:
"/home/uli/dvd/dvd1992-1994/92_1/original/Mitgliederversammlung_09.02/img_2_04.jp2"
 : JPEG2000 file identified
digikam.general: One job is done
digikam.general: One job is done
digikam.general: List of Pending Jobs is empty
digikam.general: Event is dispatched to KDE desktop notifier
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #13 from Ulrich Eckhardt <[hidden email]> ---
I have added the following printf statement at the end of jp2kloader.cpp
(around line 570), and there the image width and height is always printed
correctly:

    jas_cleanup();
fprintf(stderr, "**** jp2kloader %d %d\n", imageWidth(), imageHeight());
    return true;
}

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #14 from [hidden email] ---
Can you share some JP2 sample to try to reproduce here... Please use a cloud
web service please ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #15 from Ulrich Eckhardt <[hidden email]> ---
Created attachment 103879
  --> https://bugs.kde.org/attachment.cgi?id=103879&action=edit
Screenshot of DigiKam showing size 0x0

I could see this problem here with the jp2 image already attached to this
bugreport (Generated jp2000) https://bugs.kde.org/attachment.cgi?id=97969.

I have attached a screenshot how this attachment looks at my DigiKam.

Also sometimes the AppImage 5.5 DigiKam crashes when refreshing a view:
#0  0x00007fffedd3c8d7 in raise () from /lib64/libc.so.6
#1  0x00007fffedd3dcaa in abort () from /lib64/libc.so.6
#2  0x00007fffedd7a1b4 in __libc_message () from /lib64/libc.so.6
#3  0x00007fffedd7f9d6 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007fffedd80723 in _int_free () from /lib64/libc.so.6
#5  0x00007fffee695b08 in std::string::_M_mutate(unsigned long, unsigned long,
unsigned long) () from /usr/lib64/libstdc++.so.6
#6  0x00007fffee695fce in std::string::_M_replace_safe(unsigned long, unsigned
long, char const*, unsigned long) () from /usr/lib64/libstdc++.so.6
#7  0x00000033b5f6a211 in std::string::assign (__s=<optimized out>,
this=<optimized out>)
    at /opt/rh/devtoolset-3/root././/include/c++/4.9.2/bits/basic_string.h:1149
#8  std::string::operator= (__s=<optimized out>, this=<optimized out>) at
/opt/rh/devtoolset-3/root././/include/c++/4.9.2/bits/basic_string.h:563
#9  Exiv2::tagName (nMaxLength=<optimized out>, tag=<optimized out>) at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/image.cpp:289
#10 Exiv2::Image::printIFDStructure (this=<optimized out>, io=..., out=...,
option=<optimized out>, start=<optimized out>, bSwap=<optimized out>,
    c=77 'M', depth=<optimized out>) at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/image.cpp:403
#11 0x00000033b5f6c463 in Exiv2::Image::printTiffStructure (this=<optimized
out>, io=..., out=..., option=<optimized out>, depth=<optimized out>,
    offset=<optimized out>) at
/b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/image.cpp:503
#12 0x00000033b5fed6b3 in Exiv2::TiffImage::printStructure (this=<optimized
out>, out=..., option=<optimized out>, depth=<optimized out>)
    at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/tiffimage.cpp:348
#13 0x00000033b5feed93 in Exiv2::TiffImage::readMetadata (this=<optimized out>)
at /b/ext_exiv2/ext_exiv2-prefix/src/ext_exiv2/src/tiffimage.cpp:191
#14 0x00007ffff67d7126 in Digikam::MetaEngine::load
(this=this@entry=0x7ffec2ffc910, filePath=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/dmetadata/metaengine.cpp:280
#15 0x00007ffff681f986 in Digikam::DMetadata::load
(this=this@entry=0x7ffec2ffc910, filePath=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/dmetadata/dmetadata.cpp:96
#16 0x00007ffff681fa02 in Digikam::DMetadata::DMetadata (this=0x7ffec2ffc910,
filePath=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/dmetadata/dmetadata.cpp:63
#17 0x00007ffff6869661 in Digikam::ThumbnailCreator::createThumbnail
(this=this@entry=0x1ecac10, info=..., detailRect=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:469
#18 0x00007ffff686c687 in Digikam::ThumbnailCreator::load (this=0x1ecac10,
identifier=..., rect=..., pregenerate=pregenerate@entry=false)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:264
#19 0x00007ffff686cea2 in Digikam::ThumbnailCreator::load (this=<optimized
out>, identifier=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:181
#20 0x00007ffff687782e in Digikam::ThumbnailLoadingTask::execute
(this=0x7ffeac076800)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailtask.cpp:166
#21 0x00007ffff68503d2 in Digikam::LoadSaveThread::run (this=0x43b1dd0)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/loadsavethread.cpp:133
#22 0x00007ffff688e42e in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x43b16f0)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threads/dynamicthread.cpp:183
#23 0x00000031e02abf8d in ?? () from /tmp/.mount_1ZD8h0/usr/lib/libQt5Core.so.5
#24 0x00000031e02aef49 in ?? () from /tmp/.mount_1ZD8h0/usr/lib/libQt5Core.so.5
#25 0x00007ffff5f9d734 in start_thread () from /lib64/libpthread.so.0
#26 0x00007fffeddf1d3d in clone () from /lib64/libc.so.6

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #16 from Ulrich Eckhardt <[hidden email]> ---
Here is an other backtrace of a core. I am not sure if the first one was really
the crash, there was probably an exception.

Thread 56 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffecf7fe700 (LWP 12696)]
0x00007fffedd83c04 in free () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install
fontconfig-debuginfo-2.11.1-2.2.x86_64 glibc-debuginfo-2.22-3.7.x86_64
libX11-6-debuginfo-1.6.3-7.1.x86_64 libXcursor1-debuginfo-1.1.14-7.3.x86_64
libdbus-1-3-debuginfo-1.8.22-1.1.x86_64 libexpat1-debuginfo-2.1.0-17.9.x86_64
libgcc_s1-gcc6-debuginfo-6.2.1+r239768-3.3.x86_64
libglib-2_0-0-debuginfo-2.48.2-1.10.x86_64
libgpg-error0-debuginfo-1.13-4.19.x86_64 libpcre1-debuginfo-8.39-6.1.x86_64
libstdc++6-gcc6-debuginfo-6.2.1+r239768-3.3.x86_64
libxcb1-debuginfo-1.11.1-2.25.x86_64 libz1-debuginfo-1.2.8-10.1.x86_64
(gdb) bt
#0  0x00007fffedd83c04 in free () from /lib64/libc.so.6
#1  0x00000033b200f52e in jas_image_clearfmts () from
/tmp/.mount_oWT4Ia/usr/lib/libjasper.so.4
#2  0x00007ffff665c9fa in Digikam::JP2KLoader::load
(this=this@entry=0x7ffecf7fd5d0, filePath=...,
observer=observer@entry=0x7ffe94015e30)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/dimg/loaders/jp2kloader.cpp:568
#3  0x00007ffff67b46dc in Digikam::DImg::load (this=this@entry=0x7ffecf7fd740,
filePath=..., loadFlagsInt=13, observer=observer@entry=0x7ffe94015e30,
    rawDecodingSettings=...) at
/b/dktemp/digikam-development/garbagecollection/core/libs/dimg/dimg.cpp:518
#4  0x00007ffff67b4f6a in Digikam::DImg::load (this=this@entry=0x7ffecf7fd740,
filePath=..., loadMetadata=loadMetadata@entry=false,
    loadICCData=<optimized out>, loadUniqueHash=loadUniqueHash@entry=false,
loadImageHistory=loadImageHistory@entry=false, observer=0x7ffe94015e30,
    rawDecodingSettings=...) at
/b/dktemp/digikam-development/garbagecollection/core/libs/dimg/dimg.cpp:398
#5  0x00007ffff68679f3 in Digikam::ThumbnailCreator::loadWithDImg
(this=this@entry=0x441cab0, path=..., profile=profile@entry=0x7ffecf7fd820)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:603
#6  0x00007ffff6869efd in Digikam::ThumbnailCreator::createThumbnail
(this=this@entry=0x441cab0, info=..., detailRect=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:561
#7  0x00007ffff686c687 in Digikam::ThumbnailCreator::load (this=0x441cab0,
identifier=..., rect=..., pregenerate=pregenerate@entry=false)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:264
#8  0x00007ffff686cea2 in Digikam::ThumbnailCreator::load (this=<optimized
out>, identifier=...)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailcreator.cpp:181
#9  0x00007ffff687782e in Digikam::ThumbnailLoadingTask::execute
(this=0x7ffe94015e20)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/thumbnailtask.cpp:166
#10 0x00007ffff68503d2 in Digikam::LoadSaveThread::run (this=0x396a270)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threadimageio/loadsavethread.cpp:133
#11 0x00007ffff688e42e in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x39695e0)
    at
/b/dktemp/digikam-development/garbagecollection/core/libs/threads/dynamicthread.cpp:183
#12 0x00000031e02abf8d in ?? () from /tmp/.mount_oWT4Ia/usr/lib/libQt5Core.so.5
#13 0x00000031e02aef49 in ?? () from /tmp/.mount_oWT4Ia/usr/lib/libQt5Core.so.5
#14 0x00007ffff5f9d734 in start_thread () from /lib64/libpthread.so.0
#15 0x00007fffeddf1d3d in clone () from /lib64/libc.so.6

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 360714] JPGEG2000 thumbnails shows as dimension 0x0 pixel

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

--- Comment #17 from Maik Qualmann <[hidden email]> ---
We do not load JP2 images during scanning new images, see comment, therefore
0x0 size.

https://cgit.kde.org/digikam.git/tree/libs/dimg/loaders/jp2kloader.cpp#n97

Maik

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