[QGIS-Developer] QtCreator does not start QGIS?

Alessandro Pasotti apasotti at gmail.com
Sat Nov 14 11:16:48 PST 2020


Hi hit this issue today on one of my machines with QT 5.15.1 and
freshly installed latest qt creator from QT official website, I was
able to debug using lldb, it is an annoying bug the workaround works
almost fine (I cannot see the enum values in lldb but for the rest it
is working fine).

It is not clear to me why on another machine QT 5.15.1 with an older
qtcreator I've never had this issue with gdb.

Cheers

On Sat, Nov 14, 2020 at 4:57 PM Richard Duivenvoorde
<rdmailings at duif.net> wrote:
>
> For Debian I created an issue:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974602
>
> Regards,
>
> Richard Duivenvoorde
>
> On 11/12/20 7:29 PM, Sandro Mani wrote:
> > As for Fedora, F33 and F34 have fixed packages, but I see that the F33 update was never submitted by the maintainer - I've done so now [1].
> >
> > Best
> > Sandro
> >
> > [1] https://bodhi.fedoraproject.org/updates/FEDORA-2020-1893aa323f
> >
> >
> > On 12.11.20 19:17, Alessandro Pasotti wrote:
> >> I switched to QT binaries and sources provided by the QT maintenance tool and that's my way to Nirvana.
> >>
> >> I self-build PyQt all the others dependencies.
> >>
> >> Cheers
> >>
> >>
> >>
> >> On Thu, Nov 12, 2020, 18:51 Richard Duivenvoorde <rdmailings at duif.net <mailto:rdmailings at duif.net>> wrote:
> >>
> >>     Ough, yes, that looks like it (5.15.1)...
> >>
> >>     Thanks Sandro for checking.
> >>
> >>     The 'random' qtcreator crashes at startup indeed all show 'sigtraps'...
> >>     And I also thought that it has something todo with the process.start stuff.
> >>
> >>     I see QProcess in a lot of places, so I do not think I can disable parts of QGIS compile?
> >>
> >>     Mmm this is bad (for me & other Testing Debianista's). Hoping there will be a fixed version (qt) soon..
> >>     Other options?
> >>     Downgrade Qt?
> >>     Compile Qt myself?
> >>     Install Fedora on another machine (which Qt is there?)?
> >>
> >>     Sigh 0o.
> >>
> >>     Richard
> >>
> >>     On 11/12/20 6:00 PM, Sandro Mani 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 <mailto: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 <mailto: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 <mailto: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 <mailto: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



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:   www.itopen.it


More information about the QGIS-Developer mailing list