Discussion:
[KPhotoAlbum] current git master crashes ..
Andreas Schleth
2017-08-28 19:50:59 UTC
Permalink
Hi Hackers,

I just tried the current git master and it crashes in --demo mode if I
start a slide show (double click on any image in thumbnail view - also
when clicking the icon).

Version is: v5.2-22-gdf17f543

System: suse leap 42.2 with all current patches.


Andreas
Tobias Leupold
2017-08-28 19:55:20 UTC
Permalink
I can't reproduce this with current git master on Gentoo … could you post a
backtrace?
Post by Andreas Schleth
Hi Hackers,
I just tried the current git master and it crashes in --demo mode if I
start a slide show (double click on any image in thumbnail view - also
when clicking the icon).
Version is: v5.2-22-gdf17f543
System: suse leap 42.2 with all current patches.
Andreas
Andreas Schleth
2017-08-29 20:43:40 UTC
Permalink
Hi Tobias,

my actions in KPA:

1. rund demo mode
2. show thumbnails
3. doubleclick on any image
4. -

Here is my gdb session - after installing 167 debug packages still
pretty useless (?):

***@wshome5:/home/usr/src/kphotoalbum-git/kphotoalbum/build> gdb
./kphotoalbum
GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./kphotoalbum...done.
(gdb) run
Starting program:
/home/usr/src/kphotoalbum-git/kphotoalbum/build/kphotoalbum
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fe879139700 (LWP 31345)]
[New Thread 0x7fe872912700 (LWP 31346)]
Detaching after fork from child process 31348.
[Thread 0x7fe879139700 (LWP 31345) exited]
[Thread 0x7fe872912700 (LWP 31346) exited]
[Inferior 1 (process 31341) exited normally]
Missing separate debuginfos, use: zypper install
liblcms2-2-debuginfo-2.8-89.1.x86_64 libraw15-debuginfo-0.17.2-89.4.x86_64
(gdb) libkdcraw: Failed to load embedded RAW preview
libkdcraw: Failed to load embedded RAW preview
libkdcraw: Failed to load embedded RAW preview
bt full
No stack.
(gdb) q
***@wshome5:/home/usr/src/kphotoalbum-git/kphotoalbum/build>


OK, I should build KPA with the appropriate cmake-parameter:
-DCMAKE_BUILD_TYPE=RelWithDebInfo ..

Done that, run KPA within gdb and - bingo - does not crash!

run cmake .. & make again without parameters and ... no crash!

remove all C* c* files in the build directory, rinse and repeat: ... no
crash!

So I added the 4th line (with the rm) to my build script (hey, I already
had the debug info):

git pull
export CMAKE_BUILD_TYPE=RelWithDebInfo
cd build
rm -rf C* c*
cmake ..
make -j8
./kphotoalbum --demo

So, what do we learn here:
* Remove all remnants from previous cmake runs when doing a fresh build!
* And: *KPA does not crash if built properly*

This crash seems to have been the result of an inconsistent build
directory (?)

Best regards, Andreas
Post by Tobias Leupold
I can't reproduce this with current git master on Gentoo … could you post a
backtrace?
Post by Andreas Schleth
Hi Hackers,
I just tried the current git master and it crashes in --demo mode if I
start a slide show (double click on any image in thumbnail view - also
when clicking the icon).
Version is: v5.2-22-gdf17f543
System: suse leap 42.2 with all current patches.
Andreas
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Loading...