Bug report #13173

Segmentation fault during startup - libpoppler

Added by Angelos Tzotsos over 9 years ago. Updated over 9 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Build/Install
Affected QGIS version:2.10.1 Regression?:No
Operating System:openSUSE Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:21236

Description

I am producing RPM packages for QGIS 2.10.1
During startup, I am getting a segmentation fault.

This is the debug info:
https://dpaste.de/cqcM
and the backtrace:
https://dpaste.de/P3jR

It seems to be related with poppler and gdal pdfdataset, but I am not sure why this PDFDoc::isLinearized(bool) is called during startup.
The crash happens when tips window opens.

QGIS 2.8.x packages are not affected by this issue (we keep separate ltr packages)

https://build.opensuse.org/package/show/Application:Geo/qgis
https://build.opensuse.org/package/show/Application:Geo/qgis-ltr

History

#1 Updated by Jürgen Fischer over 9 years ago

  • Status changed from Open to Feedback

Looks like a GDAL problem. Does gdalinfo also fail on the PDFs QGIS is trying to access?

#2 Updated by Angelos Tzotsos over 9 years ago

The problem is that I have no idea what file is being opened/accessed. The crush happens on first QGIS startup.
Is QGIS initiallizing all GDAL drivers on startup?

#3 Updated by Jürgen Fischer over 9 years ago

Angelos Tzotsos wrote:

The problem is that I have no idea what file is being opened/accessed. The crush happens on first QGIS startup.
Is QGIS initiallizing all GDAL drivers on startup?

Try strace. Looks like it initializing the browser - so it might be scanning your home directory, favorites, last used directories...

#4 Updated by Angelos Tzotsos over 9 years ago

  • Status changed from Feedback to Closed

I could not replicate this issue on another machine.
Thanks for the feedback, I am closing it as invalid.

Also available in: Atom PDF