[Digikam-devel] [Bug 254203] New: DigiKam crashes while displaying thumbnails on Ultra-SPARC platform...

jfc31 at free.fr jfc31 at free.fr
Thu Oct 14 21:48:39 BST 2010


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

           Summary: DigiKam crashes while displaying thumbnails on
                    Ultra-SPARC platform...
           Product: digikam
           Version: 1.5.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Thumbnails
        AssignedTo: digikam-devel at kde.org
        ReportedBy: jfc31 at free.fr


Version:           1.5.0 (using KDE 4.4.5) 
OS:                Linux

This is for SPARC (Ultra10 workstation) only!!!

This issue has been observed on versions:
- 1.2.0 (debian "squeeze" pre-compiler pakage).
- 1.4.0 (build from tarball).
- 1.5.0 (build from tarball).

The first time digiKam is started, thumbnails are displayed correctly while
they are created. If scrolling thumbnail area, digikam crashes.
Then the next time digikam is started, as soon as an album is selected, digikam
crashes while trying to display 1st thumbnail. This is 100% repeatable.

Running digiKam under gdb, crash has been traced back to libpgf
("ClearBitBlock" function in "Decoder.cpp"). This bug seems to have been
reported in the past (and fixed) on PPC platform.

Looking a bit forward, it appears that "__BIG_ENDIAN__" (should be managed
somewhere in the Makefiles, as it is not provided by compiler) macro is never
defined and then libpgf is compiled as "little endian" on a "big endian"
machine...
For debug purpose "Hardcoding" a "#define __BIG_ENDIAN__" at the beginning of
the files that requires it fixes the issue.

I've no idea on how to patch the cmake scripts to have a clean configuration
for SPARC machines... Sorry sorry...

Reproducible: Always

Steps to Reproduce:
Case 1: digikam has never been run (or database files deleted):
- 1st build Thumbnails database.
- Then scroll through thumbnails.
=> Crash.

Case 2: digikam has alread been run, and a thumbnail database already exist.
- Select an album.
=> Crash.


Actual Results:  
- Crash with segmentation fault.

Expected Results:  
Display thumbnails!!!

SPARC platform (Ultra 10 workstation, running debian "Squeeze").

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list