Discussion:
[KPhotoAlbum] KPA 5.2 crashes after reading new photos
Martin Jost
2017-07-25 19:51:39 UTC
Permalink
Hello,

I've compiled KPA 5.2 from sources on OpenSuse 42.2 (64 Bit)
But unfortunately it crashes (segmentation fault) after reading in the
new images.
(See output on console at the end of the mail)

During compile I had got:
...
[100%] Linking CXX executable kphotoalbum
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
warning: libjpeg.so.8, needed by /usr/lib64/libQt5WebKit.so.5, may
conflict with libjpeg.so.62
[100%] Built target kphotoalbum

So I uninstalled the RPM for libjpeg.so.62 (keeping the .8).
When I relinked, I didn't get the warning. I installed this one for the
test - same behaviour: crashes.

I'm using KPA 5.2 on two other computers running OpenSuse 42.2 (64 bit).
On both it works. The images and index.xml should be the same (synced
using FreeFileSync and a USB-HDD to transfer the data)
The installation should be (mostly) the same. (List of installed
packages transferred)

If I remove ~/.config/kphotoalbumrc and then answer on start to load the
demo DB, it comes up.

If I told it to load just one dir of my photos, it crashed as well. (No
existing index.xml loaded)

On start it complains about only finding MPlayer, but not MPlayer2.
As a test, I went back to KPA 5.1 (also compiled from source)
This behaves similar - it also crashes. (This at least worked "some
time" before on this computer)

How can I (try to) fix this ?
How can I get the info I (or you) need to nail this crash down ?

Regards

Martin

Starting without a Xq11 display, also makes it crash:
***@tonne:> /usr/local/bin/kphotoalbum
QXcbConnection: Could not connect to display
zsh: abort (core dumped) /usr/local/bin/kphotoalbum

The startup on console for the "normal" startup with my photos and
index.xml:
tonne:/.kde4/share/config> kphotoalbum
QXcbConnection: XCB error: 3 (BadWindow), sequence: 632, resource id:
42090423, major code: 40 (TranslateCoords), minor code: 0
Aborting aboutToFinish handling.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 754, resource id:
42090572, major code: 40 (TranslateCoords), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1072, resource id:
42090872, major code: 40 (TranslateCoords), minor code: 0
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of bounds;
ignoring it.
[1] 23100 segmentation fault (core dumped) kphotoalbum
tonne:/.kde4/share/config>
Andreas Schleth
2017-07-25 20:30:07 UTC
Permalink
Hi Martin,

I just tried the most recent git master also with opensuse 42.2. I get
the same warning, but - fortunately for me - no crash. My current
version (some months old) also works without crashing.
As it works on your other computers with the same OS, the problem might
not lie with KPA.

Did you try to run it in gdb:

gdb ./kphotoalbum
run
do what you need to make it crash ...
bt full
(This output might help to find the cause for the crash, although I am
no expert here)
q (to exit gdb)
Cheers, Andreas
Hello,
I've compiled KPA 5.2 from sources on OpenSuse 42.2 (64 Bit)
But unfortunately it crashes (segmentation fault) after reading in the
new images.
(See output on console at the end of the mail)
...
[100%] Linking CXX executable kphotoalbum
warning: libjpeg.so.8, needed by /usr/lib64/libQt5WebKit.so.5, may
conflict with libjpeg.so.62
[100%] Built target kphotoalbum
So I uninstalled the RPM for libjpeg.so.62 (keeping the .8).
When I relinked, I didn't get the warning. I installed this one for
the test - same behaviour: crashes.
I'm using KPA 5.2 on two other computers running OpenSuse 42.2 (64 bit).
On both it works. The images and index.xml should be the same (synced
using FreeFileSync and a USB-HDD to transfer the data)
The installation should be (mostly) the same. (List of installed
packages transferred)
If I remove ~/.config/kphotoalbumrc and then answer on start to load
the demo DB, it comes up.
If I told it to load just one dir of my photos, it crashed as well.
(No existing index.xml loaded)
On start it complains about only finding MPlayer, but not MPlayer2.
As a test, I went back to KPA 5.1 (also compiled from source)
This behaves similar - it also crashes. (This at least worked "some
time" before on this computer)
How can I (try to) fix this ?
How can I get the info I (or you) need to nail this crash down ?
Regards
Martin
QXcbConnection: Could not connect to display
zsh: abort (core dumped) /usr/local/bin/kphotoalbum
The startup on console for the "normal" startup with my photos and
tonne:/.kde4/share/config> kphotoalbum
42090423, major code: 40 (TranslateCoords), minor code: 0
Aborting aboutToFinish handling.
42090572, major code: 40 (TranslateCoords), minor code: 0
42090872, major code: 40 (TranslateCoords), minor code: 0
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
Warning: Directory Image, entry 0x0111: Strip 0 is outside of the data
area; ignored.
Error: Directory Image, entry 0x014a Sub-IFD pointer 0 is out of
bounds; ignoring it.
[1] 23100 segmentation fault (core dumped) kphotoalbum
tonne:/.kde4/share/config>
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Robert Krawitz
2017-07-25 20:59:20 UTC
Permalink
Post by Martin Jost
Hello,
I've compiled KPA 5.2 from sources on OpenSuse 42.2 (64 Bit) But
unfortunately it crashes (segmentation fault) after reading in the
new images. (See output on console at the end of the mail)
I'm running on that combination without any problems. Can you run it
under gdb to get a stack trace (and preferably compile it as a debug
build)?
Post by Martin Jost
...
[100%] Linking CXX executable kphotoalbum
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libjpeg.so.8, needed by /usr/lib64/libQt5WebKit.so.5, may conflict with libjpeg.so.62
[100%] Built target kphotoalbum
So I uninstalled the RPM for libjpeg.so.62 (keeping the .8). When I
relinked, I didn't get the warning. I installed this one for the
test - same behaviour: crashes.
Do you have libjpeg62-devel installed? If so, you may want to
uninstall it (and just keep libjpeg8-devel). These are the
jpeg-related packages I have installed:

$ rpm -qa |grep -i jpeg |sort
jpegoptim-1.4.4-1.1.x86_64
libjpeg-turbo-1.5.1-106.1.x86_64
libjpeg62-62.2.0-106.1.x86_64
libjpeg62-turbo-1.5.1-106.1.x86_64
libjpeg8-32bit-8.0.2-33.1.x86_64
libjpeg8-8.1.2-106.1.x86_64
libjpeg8-devel-8.1.2-106.1.x86_64
libjpegxr0-1.1-4.36.x86_64
libmjpegutils-2_0-0-2.0.0-18.3.x86_64
libopenjpeg1-1.5.2-48.1.x86_64
libturbojpeg0-8.1.2-106.1.x86_64
mjpegtools-2.0.0-18.3.x86_64
openjpeg-1.5.2-48.1.x86_64
openjpeg-devel-1.5.2-48.1.x86_64
openjpeg2-2.1.2-32.2.x86_64
openjpeg2-devel-2.1.2-32.2.x86_64
--
Robert Krawitz <***@alum.mit.edu>

*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
Loading...