[Qgis-user] QGIS Segmentation fault

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu Nov 19 00:05:55 PST 2015


Yes I did. Now I also tried

export CMAKE_BUILD_TYPE=Debug

Befor running (earlier I specified Debug in the cmake gui):
ccmake ..
make
gdb ./output/bin/qgis

Cheers
Stefan

-----Original Message-----
From: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Matthias Kuhn
Sent: 19. november 2015 08:05
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] QGIS Segmentation fault

Did you make after cmake with buld type Debug and before running? Sorry, I forgot to write that...

On 11/19/2015 07:05 AM, Blumentrath, Stefan wrote:
> He, he, thanks for the hint...
>
> Running QGIS through gdb ("gdb ./output/bin/qgis") and then calling "bt" gave "No stack".
>
> However, when I ran  just "./output/bin/qgis" I got:
>
> src/app/main.cpp: 428: (main) [0ms] Starting qgis main No protocol 
> specified
> Warning: qgis: cannot connect to X server :4 Stacktrace (piped through 
> c++filt):
> ./output/bin/qgis[0x40573d]
> ./output/bin/qgis[0x405923]
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, 
> char const*)+0x21)[0x7f5a2f8eabb1] 
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70ff9)[0x7f5a2f8eaff9]
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(qWarning(char const*, 
> ...)+0x94)[0x7f5a2f8eb244] 
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x23db42)[0x7f5a2ee04b42]
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::construct
> (_XDisplay*, unsigned long, unsigned long)+0xc8)[0x7f5a2ed94a78] 
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::QApplication(int
> &, char**, bool, int)+0x69)[0x7f5a2ed94e19] 
> /data/src/QGIS/qgis-2.12/output/lib/libqgis_core.so.2.12.0(QgsApplicat
> ion::QgsApplication(int&, char**, bool, QString 
> const&)+0x3c)[0x7f5a3094ab70] ./output/bin/qgis[0x4072ea] 
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f5a2e309ec5
> ]
> ./output/bin/qgis[0x405179]
> src/core/qgsmessagelog.cpp: 45: (logMessage) [60ms] 
> 2015-11-19T06:56:36 Qt[1] qgis: cannot connect to X server :4
>
> I am running QGIS through VNC (which X Server :4 refers to). Yet, maybe the issue is due to missing restart after kernel update?
>
> Cheers,
> Sefan
>
> -----Original Message-----
> From: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf 
> Of Jürgen E. Fischer
> Sent: 19. november 2015 00:52
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] QGIS Segmentation fault
>
> On Wed, 18. Nov 2015 at 23:26:25 +0000, Blumentrath, Stefan wrote:
>> Thanks for the instruction. Here is my backtrace:
>>
>> pdb ./output/bin/qgis
> gdb not pdb.
>
>> From: Matthias Kuhn [mailto:matthias at opengis.ch]
>>
>> cd build
>> gdb ./output/bin/qgis
>> run
>> ... wait for the crash
>> bt
>> ... copy paste
>
> Jürgen
>

--
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list