Author Topic: FreeBSD sigabort  (Read 1388 times)

Offline Conor

  • Member
  • *
  • Posts: 73
FreeBSD sigabort
« on: 2017 November 13 10:16:43 »
OS: FreeBSD 11.0-RELEASE-p1
PI:  PI-freebsd-x86_64-01.08.04.1198-20160304

Starting PixInsight via the PixInsight.sh script segfaults immediately. Terminal output:
[conor@monolith] /home/conor/bin/PixInsight/bin
$ ./PixInsight.sh 

PixInsight Core 01.08.04.1198 Ripley (x64)
Copyright (c) 2003-2016 Pleiades Astrophoto

This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: minimal (from /home/conor/bin/PixInsight/bin/./lib/qt-plugins/platforms), offscreen (from /home/conor/bin/PixInsight/bin/./lib/qt-plugins/platforms), xcb (from /home/conor/bin/PixInsight/bin/./lib/qt-plugins/platforms), minimal, offscreen.

Reinstalling the application may fix this problem.
./PixInsight.sh: line 29: 94278 Abort trap              (core dumped) /home/conor/bin/PixInsight/bin/./PixInsight



Backtrace from gdb:
Thread 1 received signal SIGABRT, Aborted.
0x0000000809b0050a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x0000000809b0050a in thr_kill () from /lib/libc.so.7
#1  0x0000000809b004db in __raise (s=6) at /usr/src/lib/libc/gen/raise.c:52
#2  0x0000000809b00449 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x0000000808696199 in ?? () from /home/conor/bin/PixInsight/bin/./lib/libQt5Core.so.5
#4  0x00000008086978f7 in QMessageLogger::fatal(char const*, ...) const ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Core.so.5
#5  0x00000008080f768f in QGuiApplicationPrivate::createPlatformIntegration() ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Gui.so.5
#6  0x00000008080f76b0 in QGuiApplicationPrivate::createEventDispatcher() ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Gui.so.5
#7  0x0000000808848f94 in QCoreApplication::init() ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Core.so.5
#8  0x0000000808848d97 in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Core.so.5
#9  0x00000008080f4d2e in QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Gui.so.5
#10 0x0000000807968758 in QApplication::QApplication(int&, char**, int) ()
   from /home/conor/bin/PixInsight/bin/./lib/libQt5Widgets.so.5
#11 0x00000000005c02e1 in ?? ()
#12 0x00000000005dc649 in ?? ()
#13 0x00000000004c84bf in ?? ()
#14 0x0000000801b44000 in ?? ()
#15 0x0000000000000000 in ?? ()
(gdb) quit


Looks like this bug:
https://bugreports.qt.io/browse/QTBUG-48015

Let me know if I can provide further details. Juan has mentioned that there are problems with recent Qt on FreeBSD, but PI is unusable for me at the moment with this bug, naturally, so I can't even use old versions (port dependencies). Any chance we (FreeBSD users) could get a version built against a Qt with this problem fixed?

Thanks!

Edit: re-titled to reflect actual issue i.e. not a segfault, but rather sigabort...
« Last Edit: 2017 November 15 01:00:37 by Conor »
Takahashi FSQ 106 EDX III w/ QE Reducer
William Optics 110FLT Apo Triplet
William Optics Megrez 72 Apo Doublet
iOptron CEM60
QSI 583ws & 3nm Ha/OIII/SII filters
SBIG ST-i
Trying to use PixInsight on FreeBSD

Offline Conor

  • Member
  • *
  • Posts: 73
Re: FreeBSD sigabort
« Reply #1 on: 2017 November 27 04:25:56 »
Well, with radio silence on this issue, I have another question. Is FreeBSD support dead, now? The last release was 4th of March, 2016, and I don't think anyone running FreeBSD without freezing their ports/packages (with all of the security vulnerabilities) at that point would be able to run it. I'm aware there are Qt framework problems, but with Qt 5.7.x running fine on FreeBSD, can any developers clarify what the issues are?
Takahashi FSQ 106 EDX III w/ QE Reducer
William Optics 110FLT Apo Triplet
William Optics Megrez 72 Apo Doublet
iOptron CEM60
QSI 583ws & 3nm Ha/OIII/SII filters
SBIG ST-i
Trying to use PixInsight on FreeBSD

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: FreeBSD sigabort
« Reply #2 on: 2017 November 27 11:51:08 »
Hi Conor,

Quote
Is FreeBSD support dead, now?

No, not at all. Some family and personal issues are keeping me out of my usual work for a few weeks, that's all. Recall that I am alone with this. Please be patient, I am working (slowly at present, for the reasons noted) on a new version of PixInsight, and I hope it will include FreeBSD this time.

Quote
with Qt 5.7.x running fine on FreeBSD, can any developers clarify what the issues are?

I need Qt 5.9. Qt 5.7 lacks some important features that I need for the current PixInsight core version. The problem has been that 5.9, and more specifically QtWebEngine, was not buildable on FreeBSD when I developed the current 1.8.5 version of PixInsight. It seems this has changed recently, so I think this should not be a problem anymore.

Sorry for the trouble and for the long delay in releasing a new version.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Conor

  • Member
  • *
  • Posts: 73
Re: FreeBSD sigabort
« Reply #3 on: 2017 November 27 12:08:44 »
Hey Juan,

First of all, I'm sorry to hear about the personal issues on your plate at the moment. It's completely understandable that you don't have much time to work on PixInsight with other stuff going on. I'm content to go into a holding pattern for the next release, now that I know it's in the works.

Secondly, thanks for the heads up. I'm aware that the Qt problems are ever present, since the project don't really seem to care about BSD, so naturally this has an impact on PixInsight. If I can lend a hand in the interim to lighten the load, let me know.

Apologies if this thread came across as my being impatient.
Takahashi FSQ 106 EDX III w/ QE Reducer
William Optics 110FLT Apo Triplet
William Optics Megrez 72 Apo Doublet
iOptron CEM60
QSI 583ws & 3nm Ha/OIII/SII filters
SBIG ST-i
Trying to use PixInsight on FreeBSD