[QGIS-Developer] QtCreator does not start QGIS?

Luigi Pirelli luipir at gmail.com
Mon Nov 23 09:55:56 PST 2020


poposted workaround works with GDB... but I've different crashes using gdb
and lldb, probably more similar to that in runtime that caught by LLDB.
I'll investigate more

cheers

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Book: Mastering QGIS3 - 3rd Edition
<https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
* Hire a team: http://www.qcooperative.net
**************************************************************************************************


On Mon, 23 Nov 2020 at 18:30, Matthias Kuhn <matthias at opengis.ch> wrote:

> Hi Luigi,
>
> This is an older issue, workaround here:
>
>
> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Qtcreator-debug-issues-tp5389889p5389905.html
>
> Hope this helps and best wishes
> Matthias
>
> On Mon, Nov 23, 2020 at 6:26 PM Luigi Pirelli <luipir at gmail.com> wrote:
>
>> hmmmm... seems the same error happen with qt 5.12.8 (eg.. version with
>> ubuntu 20.04 LTR)
>>
>> src/core/qgsproviderregistry.cpp:261 : (init) [0ms] Checking ogr:
>> ...loaded OK (59 file filters)
>> src/core/auth/qgsauthmanager.cpp:180 : (init) [0ms] Initializing QCA...
>>
>> Thread 5 "QDBusConnection" received signal SIG33, Real-time event 33.
>> [Switching to Thread 0x7fffdaffd700 (LWP 285949)]
>> 0x00007ffff1e4baff in __GI___poll (fds=0x7fffd000eaf0, nfds=5,
>> timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
>> 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
>>
>>
>> there is a workaround? I need to debug some crashes
>>
>> regards
>> Luigi Pirelli
>>
>>
>> **************************************************************************************************
>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>> * GitHub: https://github.com/luipir
>> * Book: Mastering QGIS3 - 3rd Edition
>> <https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
>> * Hire a team: http://www.qcooperative.net
>>
>> **************************************************************************************************
>>
>>
>> On Thu, 12 Nov 2020 at 18:00, Sandro Mani <manisandro at gmail.com> wrote:
>>
>>> Hi Richard
>>>
>>> If you are using Qt5.15.{0,1} and are getting random SIGTRAPS, or the
>>> process segfaulting straight after starting through gdb, this might be
>>> [1].
>>>
>>> Sandro
>>>
>>> [1] https://bugreports.qt.io/browse/QTBUG-86319
>>>
>>> On 12.11.20 15:45, Richard Duivenvoorde wrote:
>>> > Still having troubles starting QGIS in debug in QtCreator in my setup
>>> today.
>>> >
>>> > See https://duif.net/qc.png
>>> >
>>> > So QGIS (in QtCreator) starts, and during startup it stops and shows
>>> me the dissassembler(?) view. Sometimes I can see something (like in this
>>> screendump: something with libnss ?) sometimes all is white/empty.
>>> >
>>> > Last this I in the log is: "Destroyed while process ("whoami"), which
>>> according to git is recently changed but... does not seem related to me:
>>> >
>>> https://github.com/qgis/QGIS/commit/7a38388a8762503b0bdba55065fffea2ff24137a
>>> >
>>> > Regards,
>>> >
>>> > Richard
>>> >
>>> >
>>> >
>>> > On 11/11/20 9:16 AM, Richard Duivenvoorde wrote:
>>> >> Hi,
>>> >>
>>> >> Currently in my Qt build I cannot debug QGIS in qtcreator because it
>>> hangs/stops when showing the splash.
>>> >> After some time the Application Output shows:
>>> >>
>>> >> ../../src/core/qgsmessagelog.cpp:29 : (logMessage) [60891ms]
>>> [thread:0x5555560d9d00] 2020-11-11T08:58:15 [1] HTTP fetch
>>> https://feed.qgis.org/?after=1605081272&lang=en failed with error
>>> Operation canceled
>>> >> ../../src/core/qgsmessagelog.cpp:29 : (logMessage) [0ms]
>>> [thread:0x5555560d9d00] 2020-11-11T08:58:15 Network[1] Network request
>>> https://feed.qgis.org/?after=1605081272&lang=en timed out
>>> >>
>>> >> I am connected, and https://feed.qgis.org/?after=1605081272&lang=en
>>> is available from my browser.
>>> >>
>>> >> Disabling: 'Show QGIS news feed on welcome page' and 'Check QGIS
>>> version at startup' fix this.
>>> >>
>>> >> Others have this issue currently?
>>> >>
>>> >> (I hit my head also with this sometimes when in mixed/http proxied
>>> environments
>>> >> I still think we should use 'opt in' for these 'QGIS phoning home
>>> stuff' instead of 'opt out')
>>> >>
>>> >> Regards,
>>> >>
>>> >> Richard Duivenvoorde
>>> >>
>>> >> _______________________________________________
>>> >> QGIS-Developer mailing list
>>> >> QGIS-Developer at lists.osgeo.org
>>> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> >>
>>> > _______________________________________________
>>> > QGIS-Developer mailing list
>>> > QGIS-Developer at lists.osgeo.org
>>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201123/d299e6a9/attachment.html>


More information about the QGIS-Developer mailing list