<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">By the way poking around with it a bit more it seems to be crashing on this line @Nyal:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">39fbc2ac331 src/core/qgsproject.cpp (Nyall Dawson               2020-08-31 10:30:20 +1000)   mMainAnnotationLayer->setTransformContext( context );</div></div><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Regards</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Tim</div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 10:02 PM Tim Sutton <<a href="mailto:tim@kartoza.com">tim@kartoza.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">Dear QGIS Developers<br><br>I am trying to run QGIS in debug mode in Qt-Creator. When I launch the QGIS executable from QtCreator, I can see the application starting up but then after a short time it crashes out. This happens both when I press the green 'Run' triangle icon and when I press the green 'Start Debugging of Target Project' triangle icon.<br><br>I am building on pop_os! (essentially Ubuntu 20.04, 64 bit) using GCC without CCache and I have CMAKE_BUILD_TYPE set to Debug.<br><br>After starting QGIS it thinks for a while and then dies with the following (full log of messages here [1]).<br><br>21:21:14: Debugging starts<br>src/app/main.cpp:505 : (main) [0ms] Starting qgis main<br>src/core/qgsmessagelog.cpp:29 : (logMessage) [379ms] 2020-09-03T21:21:45 [1] Successfully loaded globalsettingsfile path: /home/timlinux/dev/cpp/QGIS-Debug-Build/output/data/resources/qgis_global_settings.ini<br>src/core/qgscolorramp.cpp:732 : (loadFile) [103ms] filename= /home/timlinux/dev/cpp/QGIS-Debug-Build/output/data/resources/cpt-city-qgis-min/grass/elevation.svg loaded=0<br>QGIS died on signal 11Could not attach to process.  If your uid matches the uid of the target<br>process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try<br>again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf<br>warning: process 223467 is already traced by process 223447<br>ptrace: Operation not permitted.<br>No thread selected<br>No stack.<br>gdb returned 256<br>21:30:39: Debugging has finished<br><br><br><br>When I googled the ptrace error message above I found this StackOverflow post[2] which seems to address the same issue. However, even after trying all the various hints listed there, I still have the crash whenever I try to launch QGIS in debug mode, or outside of a debugger.<br><br>Has anyone else experienced this? Can you help me fix it?<br><br>Many thanks!<br><br>Regards<br><br>Tim<br><br><br>[1] <a href="https://gist.github.com/timlinux/ac7468675e08f18428e3fe60d7e9633c" target="_blank">https://gist.github.com/timlinux/ac7468675e08f18428e3fe60d7e9633c</a><br>[2]<a href="https://stackoverflow.com/questions/22120711/qt-creator-ptrace-operation-not-permitted-what-is-the-permanent-solution/30486572" target="_blank">https://stackoverflow.com/questions/22120711/qt-creator-ptrace-operation-not-permitted-what-is-the-permanent-solution/30486572</a><br><br><br></div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">------------------------------------------------------------------------------------------</div><div style="text-align:center"><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div><img src="https://mail.google.com/mail/u/0/?ui=2&ik=7ebbf93252&view=fimg&th=15a9e43c0bbf93ca&attid=0.1&disp=emb&realattid=9436e64174762963_0.1.1&attbid=ANGjdJ-WL_J24nvBiYidJ0V0xpdsYqRwswi5nq5oywcJEHC7twYVMrxG0y-GNPu_ahJthV8ktXwYuHoVm5DI2FrRAtPzelTRHrsE2wweR9uu8wT-zz2hNRqFwi4SorQ&sz=s0-l75-ft&ats=1488721675176&rm=15a9e43c0bbf93ca&atsh=1" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><br></div><div style="text-align:center">Tim Sutton</div><div style="text-align:center"><span style="text-align:start">Visit </span><a href="http://kartoza.com/" style="text-align:start" target="_blank">http://kartoza.com</a><span style="text-align:start"> to find out about open source:</span><br style="text-align:start"><span style="text-align:start"> * Desktop GIS programming services</span><br style="text-align:start"><span style="text-align:start"> * Geospatial web development</span></div><div style="text-align:center"><span style="text-align:start">* GIS Training</span></div><div style="text-align:center"><span style="text-align:start">* Consulting Services</span></div><div style="text-align:center"><div style="text-align:center">Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net/" target="_blank">freenode.net</a></div><div style="text-align:start"><div style="text-align:center">Tim is a member of the QGIS Project Steering Committee</div><div style="text-align:center">-------------------------------------------------------------------------------------------</div><div style="text-align:center">Kartoza is a merger between Linfiniti and Afrispatial</div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">------------------------------------------------------------------------------------------</div><div style="text-align:center"><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div><img src="https://mail.google.com/mail/u/0/?ui=2&ik=7ebbf93252&view=fimg&th=15a9e43c0bbf93ca&attid=0.1&disp=emb&realattid=9436e64174762963_0.1.1&attbid=ANGjdJ-WL_J24nvBiYidJ0V0xpdsYqRwswi5nq5oywcJEHC7twYVMrxG0y-GNPu_ahJthV8ktXwYuHoVm5DI2FrRAtPzelTRHrsE2wweR9uu8wT-zz2hNRqFwi4SorQ&sz=s0-l75-ft&ats=1488721675176&rm=15a9e43c0bbf93ca&atsh=1" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><br></div><div style="text-align:center">Tim Sutton</div><div style="text-align:center"><span style="text-align:start">Visit </span><a href="http://kartoza.com/" style="text-align:start" target="_blank">http://kartoza.com</a><span style="text-align:start"> to find out about open source:</span><br style="text-align:start"><span style="text-align:start"> * Desktop GIS programming services</span><br style="text-align:start"><span style="text-align:start"> * Geospatial web development</span></div><div style="text-align:center"><span style="text-align:start">* GIS Training</span></div><div style="text-align:center"><span style="text-align:start">* Consulting Services</span></div><div style="text-align:center"><div style="text-align:center">Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net/" target="_blank">freenode.net</a></div><div style="text-align:start"><div style="text-align:center">Tim is a member of the QGIS Project Steering Committee</div><div style="text-align:center">-------------------------------------------------------------------------------------------</div><div style="text-align:center">Kartoza is a merger between Linfiniti and Afrispatial</div></div></div></div></div></div></div></div>