Author Topic: PI 01.08.00.1071 on FreeBSD 10  (Read 3727 times)

Offline Conor

  • Member
  • *
  • Posts: 73
PI 01.08.00.1071 on FreeBSD 10
« on: 2013 December 23 11:48:01 »
Greetings guys

As you might be aware, FreeBSD have made a few changes in 10.0;
 - Dumping gcc for llvm/clang
 - Implementation of iconv functionality into the base libc in 10.0, thus rendering libiconv deprecated.

PixInsight doesn't run on FreeBSD 10, presumably because of the above. Would it be possible to get a PI build for 10.0?

Thanks
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: PI 01.08.00.1071 on FreeBSD 10
« Reply #1 on: 2013 December 24 07:33:14 »
GDB output, using system libc and Qt libraries etc. Similarly crashing loading libraries bundled with PixInsight, and mapping C++ libraries to GCC implementations with libmap.conf.

[New LWP 100503]
[New Thread 80cc06400 (LWP 100503)]

** A previous instance of the PixInsight Core application crashed.
Reusing instance slot #1.
[New Thread 80cc0bc00 (LWP 100895)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 80cc0bc00 (LWP 100895)]
0x0000000808bd84ab in strlen () from /lib/libc.so.7
(gdb) bt
#0  0x0000000808bd84ab in strlen () from /lib/libc.so.7
#1  0x0000000808bcea93 in ?? () from /lib/libc.so.7
#2  0x0000000808b78f22 in vasprintf_l () from /lib/libc.so.7
#3  0x000000080377676a in g_vasprintf () from /usr/local/lib/libglib-2.0.so.0
#4  0x0000000803752c65 in g_strdup_vprintf () from /usr/local/lib/libglib-2.0.so.0
#5  0x0000000803721fab in g_error_new () from /usr/local/lib/libglib-2.0.so.0
#6  0x000000080ab098c6 in iostream_close_cb () from /usr/local/lib/libgio-2.0.so.0
#7  0x000000080aa96fa7 in async_ready_close_callback_wrapper () from /usr/local/lib/libgio-2.0.so.0
#8  0x000000080aab6650 in complete_in_idle_cb () from /usr/local/lib/libgio-2.0.so.0
#9  0x00000008037366f2 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#10 0x0000000803736a93 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.0
#11 0x0000000803736dbf in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
#12 0x000000080ab0940b in gdbus_shared_thread_func () from /usr/local/lib/libgio-2.0.so.0
#13 0x000000080375a68a in g_thread_proxy () from /usr/local/lib/libglib-2.0.so.0
#14 0x00000008039f34a4 in ?? () from /lib/libthr.so.3
#15 0x0000000000000000 in ?? ()
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: PI 01.08.00.1071 on FreeBSD 10
« Reply #2 on: 2013 December 24 07:44:53 »
And here's the truss output, although I'm unsure as to how useful it'll be. Again, this is loading shared objects from the system and not those bundled with PixInsight. The dependency of the libraries bundled with PixInsight on libiconv is a substantial part of the problem. I think, ultimately, a build on 10.0-RC2 will fix the issue outright. The truss output is attached.
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: PI 01.08.00.1071 on FreeBSD 10
« Reply #3 on: 2014 January 07 07:20:25 »
Is there any feedback from the developers on this?

It seems like a no-op to do a build for FreeBSD 10.0.

I'm quite happy to test a build, if necessary.
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: PI 01.08.00.1071 on FreeBSD 10
« Reply #4 on: 2014 January 07 07:58:45 »
Hi Conor,

I'd need to set up a FreeBSD 10 virtual machine. However, since version 10 is still in a RC stage (RC4 has been released just a few days ago), I think we should wait until the 10.0 stable release. AFAIK, PixInsight works on FreeBSD 9.2, which is the current production stable release.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Conor

  • Member
  • *
  • Posts: 73
Re: PI 01.08.00.1071 on FreeBSD 10
« Reply #5 on: 2014 January 07 08:58:46 »
Thanks for the reply, Juan.

That's great to hear.

Yeah, I've been using 10.0 since RC2 on my work machine. It's rock solid. The only 9.2 machines still on my net are headless servers, so I can't use PixInsight there, unfortunately. I'd say 10.0 release should drop any day now, hopefully I'll be able to get back to using PI soon.

Thanks again.
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