[Gambas-user] IDE Crashes - nss_ocsp is the culprit

bb adamnt42 at gmail.com
Sun Aug 8 16:59:38 CEST 2021


Inline

On Sun, 2021-08-08 at 03:01 +0300, Jussi Lahtinen wrote:
> No crash here, but some of the components are missing, so that may
> influence the test.
Damn, I removed all the things that need the ph. components but forgot
to update the project properties. Just delete the ph. Components. You
would also need to change all the hardcoded paths as well.

> Can you test with the latest Gambas (via PPA or by compiling) on your
> system?
> 
Tried that, no improvement.

> What is the installed Qt version?
> 
5.11.3

b

> 
> Jussi
> 
> On Sat, Aug 7, 2021 at 7:08 AM bb <adamnt42 at gmail.com> wrote:
> 
> > On Fri, 2021-08-06 at 22:32 +0300, Jussi Lahtinen wrote:
> > > For clarification, when the IDE crashes you will get an error
> > > message
> > > and
> > > backtrace from the interpreter. IE the place in the code written
> > > in
> > > Gambas,
> > > where the error occurs. When the interpreter crashes you will get
> > > backtrace
> > > pointing to its sources or the components it is using.
> > > 
> > > Not sure NSS has anything to do with this. It only gives an error
> > > message
> > > related to PKCS #11.
> > > 
> > > Can you try this with the latest Gambas? Maybe it is fixed
> > > already.
> > > 
> > > 
> > > Jussi
> > > 
> > > On Fri, Aug 6, 2021 at 4:37 PM Jussi Lahtinen <
> > > jussi.lahtinen at gmail.com>
> > > wrote:
> > > 
> > > > Also, again, I don't see anything suggesting the IDE crashes.
> > > > Only
> > > > the
> > > > interpreter.
> > > > 
> > > > 
> > > > Jussi
> > > > 
> > > > On Fri, Aug 6, 2021 at 4:35 PM Jussi Lahtinen <
> > > > jussi.lahtinen at gmail.com>
> > > > wrote:
> > > > 
> > > > > From what you give us to see, it seems to be Qt related. Can
> > > > > you
> > > > > isolate
> > > > > the problem to some small runnable (crashable) project?
> > > > > 
> > > > > Jussi
> > > > > 
> > > > > On Fri, Aug 6, 2021 at 10:46 AM bb <adamnt42 at gmail.com>
> > > > > wrote:
> > > > > 
> > > > > > Gambas 16.2 Stable on MX Linux
> > > > > > 
> > > > > > As well as intepreter crashes mentioned in the other
> > > > > > thread, I
> > > > > > am now
> > > > > > getting IDE crashes with some projects within the IDE. They
> > > > > > all
> > > > > > seem to
> > > > > > do with code completion. I have disabled near every code
> > > > > > completion
> > > > > > feature ( help popups, offline help, etc etc ) but they are
> > > > > > still
> > > > > > occurring.
> > > > > > 
> > > > > > The crash is with a similar dump as before, i.e. no stack
> > > > > > trace. But
> > > > > > here is what happens.
> > > > > > 
> > > > > > 1) On starting the IDE (in a terminal) the IDE starts and
> > > > > > displays the
> > > > > > project selector screen OK but this warning appears in the
> > > > > > terminal:
> > > > > > "[26563:26598:0806/165458.706936:ERROR:nss_util.cc(727)]
> > > > > > After
> > > > > > loading
> > > > > > Root Certs, loaded==false: NSS error code: -8018"
> > > > > > 
> > > > > > 2) I select a project and it loads without any problem.
> > > > > > 3) As a check I do a "Compile All" which succeeds without
> > > > > > any
> > > > > > boogeymen.
> > > > > > 4) I then close the IDE down and the following is output in
> > > > > > the
> > > > > > terminal (slightly editted for readability, the original is
> > > > > > attached.)
> > > > > > 
> > > > > > "Received signal 11 SEGV_MAPERR 000000000008"
> > > > > > then 61 lines of object references, then the register dump,
> > > > > > then
> > > > > > "[end of stack trace]
> > > > > > Calling _exit(1). Core file will not be generated."
> > > > > > 
> > > > > > Information gleaned from elsewhere is that the message is
> > > > > > that
> > > > > > some nss
> > > > > > (GNU Name Service Switch) library installed in MX Linux is
> > > > > > causing the
> > > > > > output. I have three such libraries installed (libxmlsec1-
> > > > > > nss,
> > > > > > libnss-
> > > > > > mdns, libnss-myhostname) and have no others that I can find
> > > > > > installed.
> > > > > > 
> > > > > > Now to the question.
> > > > > > 
> > > > > > 
> > > > > > Does anyone know WHY and/or WHERE the gambas3 IDE would
> > > > > > call
> > > > > > any nss
> > > > > > library on exit?
> > > > > > 
> > > > > > 
> > > > > > This is driving me crazy!
> > > > > > 
> > > > > > tia
> > > > > > bruce
> > > > > > 
> > > > > > 
> > > > > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > > > > > 
> > > 
> > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > Yep, lets forget nss at the moment. This is all coming from a much
> > lower level.
> > 
> > b
> > 
> > 
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----




More information about the User mailing list