Discussion:
[KPhotoAlbum] Segfault when opening search window
Tobias Leupold
2015-04-05 07:51:44 UTC
Permalink
Hi Harald!
If this is a memory leak in pn2runner/marble, can I disable marble
(what does it add to kphotoalbum?)
We use libkgeomap (which uses Marble as a backend) to display image's GPS
coordinates on a map. When KPA is built with libkgeomap, you'll get a map dock
in the annotation dialog. I think you can exclude the libkgeomap inclusion by
some cmake parameter, even if the library is found.

This odd behavior though; I can't reproduce it. If there's actually a memory
leak in Marble or libkgeomap, we should try to track it down ...

Tobias
Johannes Zarl
2015-04-10 16:35:10 UTC
Permalink
Hi,

Sorry for the late reply.

Assuming this comes from marble you should definitely report a bug for marble
in the Mint bug-tracker.

As a workaround, it should be sufficient to disable the map widget in the
dialog, if this is possible before KPA crashes:
(1) Open the annotation dialog (or the search dialog)
(2) Disable the Map widget under Options | Configure window layout...
(3) Save the window setup under Options | Configure window layout...

After this, the map widget should not be loaded anymore when you open the
search window.

The other option would be to compile KPhotoAlbum with the cmake option
"WITH_Marble" set to off. You'd have to recompile KPA for this, though...

HTH,
Johannes
* Mint 17.1
* Kphotoalbum 4.6.1 from the PPA
* Kphotoalbum started OK and build thumbnails a long time
* Watching thumbnail view OK
* Kphotoalbum starts and I open the search dialog. While still in the
search dialog, without touching anything Kphotoalbum goes into a
run-away RAM situation (consumes >16GB including all swap) and
crashes with segfault. There might have been a dialog box which was
started to draw but not completed because of the segfault.
See stack trace below
* It is reproducable and the message is
"Errors occured while parsing the .pn2 file!"
This messages seems to come from pn2runner?????
But this time no stack trace in KDE Crash handler.
Not completely happy about this behaviour.
If this is a memory leak in pn2runner/marble, can I disable marble
(what does it add to kphotoalbum?)
Harald.
Loading...