[Qgis-user] QGIS Segmentation fault

Matthias Kuhn matthias at opengis.ch
Wed Nov 18 23:04:54 PST 2015


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(QgsApplication::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




More information about the Qgis-user mailing list