Request testing for new OSX client

118 views
Skip to first unread message

Cédric Krier

unread,
Oct 31, 2017, 8:05:06 PM10/31/17
to Tryton
Hi,

Long story short, the new build platform for OSX to test at
http://www.b2ck.com/~ced/tryton-4.6.0.dmg


Yesterday, when I built the OSX client for the release 4.6, I made the
simple test to launch it and connect to the demo server. But it did not
launch, indeed it just bounced few times on the dock and it vanish
without any error message.
As there was an update few weeks before of the OS, I tried an older
client (4.4.2) and it started normally. So I suspected that the GTK
libraries were too old for what we use in the series so I tried to
update the libraries. And it was the mistakes which I would discover 48
hours after. The GTK+ libraries are build using the official jhbuild
tool: https://wiki.gnome.org/Projects/GTK+/OSX/Building
The update did not go well, it crashed multiple times, to the point that
the environment was no more usable. So I decided to rebuild everything
from scratch. I skip the part where openssl does not compile, some
patches did not apply etc. I finally got a new environment that seemed
to work. I could launch the client from command line, connect to demo
server etc. So I built a new bundler and it crashed exactly the same
way. But this time launching the application from command line failed
also. I found that 'gdk.pixbuf_new_from_file' was not returning a pixbuf
for the 'png' files. So I started to debug this behaviour slowly because
it required to make a new bundle for each changes. I could not find an
explanation to this behaviour. But I remembered that I had to install
manually an header from glib 'gio/gdesktopappinfo.h' so I investigate
this issue because it may be that libraries were wrongly linked.
I discover that the libraries glib and pygobject from jhbuild are not
compatible anymore. I could not find a set of version that allowed
jhbuild to build both. I think jhbuild is no more used for Gtk+-2 but
only for Gtk+-3. 24 hours have already passed since the first attempt to
build release 4.6, I was closed to give up and declare that we can no
more support OSX until we migrate fully to Gtk+-3 and Python-3.
In a last attempt to find a solution, I tried https://brew.sh/. And I
think it is a good choice, it is like when we switched to MSYS2.
I installed every dependencies from brew and some with pip like
python-dateutil and cx_Freeze. And so I build again a bundle to discover
that it crashes exactly like all the previous one but only from the
launcher, at least it works from command line. So I'm back at the point
as the beginning.
I finally found by change this bug report:
https://github.com/GNS3/gns3-gui/issues/495
And it is exactly the problem, the stupid Apple is appending a random
argument "-psn_" to the program. So I made a similar fix at
https://bugs.tryton.org/issue6899 and build a final bundle which starts
from launcher: http://www.b2ck.com/~ced/tryton-4.6.0.dmg

The result is that I broke the old build system and I can not rebuild it
because of incompatible dependencies.
I have a brew environment on which I can build new series starting from
4.2. But the brew environment is global to the system so I can not test
if it works on a vanilla setup. So I'm requesting from user who has a
vanilla OSX without brew (python, gtk+ etc) to test this new bundle
before I publish it.
Do not report that calender view is not working, it is expected because
brew does not have goocanvas library that works with Gtk+-2.

Thanks,
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Jon Levy

unread,
Nov 1, 2017, 8:08:08 PM11/1/17
to tryton-dev
On Tuesday, October 31, 2017 at 8:05:06 PM UTC-4, Cédric Krier wrote:
> So I'm requesting from user who has a
> vanilla OSX without brew (python, gtk+ etc) to test this new bundle
> before I publish it.

I can do this. (Coincidentally, I just got a new macbook a couple days ago but haven't switched over to it due to work challenges.) I can try it on that (after restoring it to factory to remove brew). Will try to get to it in the next day.

lists.j...@symetrie.com

unread,
Nov 2, 2017, 9:33:26 AM11/2/17
to Tryton

Hi Cédric,

On 1 Nov 2017, at 1:03, Cédric Krier wrote:

Long story short, the new build platform for OSX to test at
http://www.b2ck.com/~ced/tryton-4.6.0.dmg

Sees nothing (hangs before menu bar appears).
In console :
Nov 2 14:25:13 mbpjcm com.apple.launchd.peruser.501353: Exited with code: 1

OS X 10.9 on MacBookPro (2013)
with macports & python installed.

Jean-Christophe Michel
--

SYMÉTRIE, livres et partitions

30 rue Jean-Baptiste Say
69001 LYON
FRANCE

www.symetrie.com

www.facebook.com/symetrie | www.twitter.com/symetriecom | www.linkedin.com/company/symetrie-music-publisher

tél : +33 (0) 478 29 52 14

Cédric Krier

unread,
Nov 2, 2017, 10:15:06 AM11/2/17
to Tryton
On 2017-11-02 14:33, lists.j...@symetrie.com wrote:
> Hi Cédric,
>
> On 1 Nov 2017, at 1:03, Cédric Krier wrote:
> > Long story short, the new build platform for OSX to test at
> > http://www.b2ck.com/~ced/tryton-4.6.0.dmg
>
> Sees nothing (hangs before menu bar appears).
> In console :
> Nov 2 14:25:13 mbpjcm com.apple.launchd.peruser.501[353]
> ([0x0-0xef0ef].Tryton[37993]): Exited with code: 1
>
> OS X 10.9 on MacBookPro (2013)
> with macports & python installed.

Unfortunately, it is no more supported since 1 year:
https://en.wikipedia.org/wiki/OS_X_Mavericks

Jon Levy

unread,
Nov 2, 2017, 10:36:26 AM11/2/17
to tryton-dev
On Wednesday, November 1, 2017 at 8:08:08 PM UTC-4, Jon Levy wrote:
> On Tuesday, October 31, 2017 at 8:05:06 PM UTC-4, Cédric Krier wrote:
> > So I'm requesting from user who has a
> > vanilla OSX without brew (python, gtk+ etc) to test this new bundle
> > before I publish it.

This 4.6 build won't open on new, factory-settings macbook pro. (Prior 4.4 build does work--which confirms of the problem.)

Cédric Krier

unread,
Nov 2, 2017, 12:30:07 PM11/2/17
to Tryton
On 2017-11-01 01:03, Cédric Krier wrote:
> Hi,
>
> Long story short, the new build platform for OSX to test at
> http://www.b2ck.com/~ced/tryton-4.6.0.dmg

I have uploaded a new build, please retry with this last one.
I was affected by https://github.com/anthony-tuininga/cx_Freeze/pull/304
so some libraries where not correctly re-referenced.

Jon Levy

unread,
Nov 2, 2017, 4:49:44 PM11/2/17
to tryton-dev
On Thursday, November 2, 2017 at 12:30:07 PM UTC-4, Cédric Krier wrote:
> I have uploaded a new build, please retry with this last one.

It works now. Successfully opened, connected to demo, navigated several screens, read and wrote some records. Way to go!

Fabien Castarède

unread,
Nov 4, 2017, 8:35:50 AM11/4/17
to tryton-dev
Le jeudi 2 novembre 2017 17:30:07 UTC+1, Cédric Krier a écrit :
> On 2017-11-01 01:03, Cédric Krier wrote:
> > Hi,
> >
> > Long story short, the new build platform for OSX to test at
> > http://www.b2ck.com/~ced/tryton-4.6.0.dmg
>
> I have uploaded a new build, please retry with this last one.
> I was affected by https://github.com/anthony-tuininga/cx_Freeze/pull/304
> so some libraries where not correctly re-referenced.

It works for me (macOS Sierra 10.12.6).

Thanks a lot for the efforts.

José Arturo García

unread,
Dec 23, 2017, 9:55:06 PM12/23/17
to tryton-dev
Hi Cédric,

im receiving this error in several machines with sierra and high sierra:

Process: tryton [1048]
Path: /Volumes/VOLUME/*/Tryton.app/Contents/MacOS/tryton
Identifier: tryton
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: tryton [1048]
User ID: 501

Date/Time: 2017-12-23 06:53:03.551 -0800
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 5CA42C78-0622-F504-3ABA-507C7E913D71


Time Awake Since Boot: 8100 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Python 0x000000010066cc29 _PyRandom_Init + 260
1 Python 0x000000010066a1aa Py_InitializeEx + 345
2 tryton 0x00000001005b89c7 main + 247
3 libdyld.dylib 0x00007fffa4b33255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000100714cf8 rbx: 0x00000001005b90f0 rcx: 0x000000000000002f rdx: 0x0000000000000000
rdi: 0x0000000000000001 rsi: 0x000000000000002f rbp: 0x00007fff5f647600 rsp: 0x00007fff5f6475f0
r8: 0x00007fffa4d4322c r9: 0x0000000000000cd0 r10: 0x00000001034c7100 r11: 0x000000010066a898
r12: 0x0000000000000002 r13: 0x00007fff5f647cf8 r14: 0x0000000000000001 r15: 0x00007fff5f647b98
rip: 0x000000010066cc29 rfl: 0x0000000000010246 cr2: 0x000000010066cb25

Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6


Binary Images:
0x1005b8000 - 0x1005b8ffb +tryton (0) <868F42C9-83E0-323A-810F-5BE01B1A419E> /var/folders/*/Tryton.app/Contents/MacOS/tryton
0x1005bf000 - 0x1006bbfe7 +Python (0) <C049CA94-2C3A-3F14-8AAE-BB783308B2B3> /var/folders/*/Tryton.app/Contents/MacOS/Python
0x103488000 - 0x1034c51c7 dyld (421.1) <A525EAEA-AF86-30C2-B360-3D093B4F0828> /usr/lib/dyld
0x7fff8f9dd000 - 0x7fff8fe70ff7 com.apple.CoreFoundation (6.9 - 1348.1) <2A35BE4F-BA5B-3C22-BCF1-CFBBA2786081> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fffa32fd000 - 0x7fffa32feff3 libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fffa353b000 - 0x7fffa353cff3 libSystem.B.dylib (1238) <168B3C56-081B-3998-9A44-681EB4C6828F> /usr/lib/libSystem.B.dylib
0x7fffa36b2000 - 0x7fffa36b2ff3 libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
0x7fffa36d3000 - 0x7fffa3729ff7 libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
0x7fffa372a000 - 0x7fffa3754fff libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
0x7fffa3c90000 - 0x7fffa3eb5fff libicucore.A.dylib (57131.0.1) <72594943-D25E-3F70-A4AC-8E9F9F442B7E> /usr/lib/libicucore.A.dylib
0x7fffa4243000 - 0x7fffa4618127 libobjc.A.dylib (706) <47104A1B-13E8-369F-BC36-27FF465809FD> /usr/lib/libobjc.A.dylib
0x7fffa4a37000 - 0x7fffa4a48ff3 libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
0x7fffa4a57000 - 0x7fffa4a5bff7 libcache.dylib (79) <84E55656-FDA9-3B29-9E4F-BE31B2C0AA3C> /usr/lib/system/libcache.dylib
0x7fffa4a5c000 - 0x7fffa4a66fff libcommonCrypto.dylib (60092.1.2) <79F738D8-0AD7-3DEA-AF80-E0F8B90B74E3> /usr/lib/system/libcommonCrypto.dylib
0x7fffa4a67000 - 0x7fffa4a6efff libcompiler_rt.dylib (62) <486BDE52-81B4-3446-BD72-23977CAE556F> /usr/lib/system/libcompiler_rt.dylib
0x7fffa4a6f000 - 0x7fffa4a77fff libcopyfile.dylib (138) <0DA49B77-56EC-362D-98FF-FA78CFD986D6> /usr/lib/system/libcopyfile.dylib
0x7fffa4a78000 - 0x7fffa4afaff3 libcorecrypto.dylib (442.1.3) <1CA8B679-810E-3C04-945A-4AC19372CDC7> /usr/lib/system/libcorecrypto.dylib
0x7fffa4afb000 - 0x7fffa4b2dfff libdispatch.dylib (703.1.4) <12B1D95B-283D-325D-85AB-29A2FFD36987> /usr/lib/system/libdispatch.dylib
0x7fffa4b2e000 - 0x7fffa4b33ff3 libdyld.dylib (421.1) <CDFBDC9C-418C-369D-B433-F64B0630E640> /usr/lib/system/libdyld.dylib
0x7fffa4b34000 - 0x7fffa4b34ffb libkeymgr.dylib (28) <09CD7CA6-46D2-3A9F-B9F1-7C4CA5CA0D68> /usr/lib/system/libkeymgr.dylib
0x7fffa4b42000 - 0x7fffa4b42fff liblaunch.dylib (972.1.5) <DC31FDEA-FD81-335E-BAA8-5A7395D20772> /usr/lib/system/liblaunch.dylib
0x7fffa4b43000 - 0x7fffa4b48fff libmacho.dylib (894) <1EAE5ADD-490C-3B1F-9F97-447BA8E0E90F> /usr/lib/system/libmacho.dylib
0x7fffa4b49000 - 0x7fffa4b4bff3 libquarantine.dylib (85) <78EF62D8-C890-3FC0-937A-C2FD8CEF8992> /usr/lib/system/libquarantine.dylib
0x7fffa4b4c000 - 0x7fffa4b4dffb libremovefile.dylib (45) <C4FC07FF-ED86-382E-B06F-33C34718080C> /usr/lib/system/libremovefile.dylib
0x7fffa4b4e000 - 0x7fffa4b66ff7 libsystem_asl.dylib (349.1.1) <F0987490-8427-367F-B302-A05A7D61FEBF> /usr/lib/system/libsystem_asl.dylib
0x7fffa4b67000 - 0x7fffa4b67ff7 libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
0x7fffa4b68000 - 0x7fffa4bf5fe7 libsystem_c.dylib (1158.1.2) <5F260836-48E4-3F57-8553-62D2DA228A1F> /usr/lib/system/libsystem_c.dylib
0x7fffa4bf6000 - 0x7fffa4bf9ffb libsystem_configuration.dylib (888.1.2) <67BB9D8B-2430-38AD-81A7-F0EC924B2590> /usr/lib/system/libsystem_configuration.dylib
0x7fffa4bfa000 - 0x7fffa4bfdfff libsystem_coreservices.dylib (41.1) <11F22E6C-0DCB-3699-A4F0-C99E301E56E9> /usr/lib/system/libsystem_coreservices.dylib
0x7fffa4bfe000 - 0x7fffa4c16ffb libsystem_coretls.dylib (121.1.1) <8F7E9B12-400D-3276-A9C5-4546B0258554> /usr/lib/system/libsystem_coretls.dylib
0x7fffa4c17000 - 0x7fffa4c1dfff libsystem_dnssd.dylib (765.1.2) <C5FF2025-C60B-39C6-B205-6BF1BC51D1B3> /usr/lib/system/libsystem_dnssd.dylib
0x7fffa4c1e000 - 0x7fffa4c47fff libsystem_info.dylib (503) <C686B834-5E7D-382C-AF6E-44AB78EE83E2> /usr/lib/system/libsystem_info.dylib
0x7fffa4c48000 - 0x7fffa4c6aff7 libsystem_kernel.dylib (3789.1.32) <5C68A0D7-C3C9-3E52-B983-EDE9A28AB6FC> /usr/lib/system/libsystem_kernel.dylib
0x7fffa4c6b000 - 0x7fffa4cb2fe7 libsystem_m.dylib (3121.4) <E3370D16-EBAA-3C7F-AC56-2D6EAD7DB0A4> /usr/lib/system/libsystem_m.dylib
0x7fffa4cb3000 - 0x7fffa4cd1ff7 libsystem_malloc.dylib (116) <3DD17B88-B7A4-38B9-9E95-AB88E1C3B647> /usr/lib/system/libsystem_malloc.dylib
0x7fffa4cd2000 - 0x7fffa4d28fff libsystem_network.dylib (856.1.8) <A8973360-956A-33BF-9971-14D59C84E0D1> /usr/lib/system/libsystem_network.dylib
0x7fffa4d29000 - 0x7fffa4d32ff3 libsystem_networkextension.dylib (563.1.11) <1C551832-9360-36DD-A7BA-52B55A171720> /usr/lib/system/libsystem_networkextension.dylib
0x7fffa4d33000 - 0x7fffa4d3cffb libsystem_notify.dylib (165) <AF77D471-6B13-36BA-B144-7E7DDB9DBA9F> /usr/lib/system/libsystem_notify.dylib
0x7fffa4d3d000 - 0x7fffa4d45fe7 libsystem_platform.dylib (126.1.2) <884DDF42-3CAE-334A-82CE-965617130FB1> /usr/lib/system/libsystem_platform.dylib
0x7fffa4d46000 - 0x7fffa4d50fff libsystem_pthread.dylib (218.1.3) <050AE77B-4F4B-334A-A5BA-CF0D10AF5304> /usr/lib/system/libsystem_pthread.dylib
0x7fffa4d51000 - 0x7fffa4d54fff libsystem_sandbox.dylib (592.1.3) <90FEF628-316D-3F84-9EF4-F7F510A4FBBB> /usr/lib/system/libsystem_sandbox.dylib
0x7fffa4d55000 - 0x7fffa4d56fff libsystem_secinit.dylib (24) <A54B8FEF-E792-3C54-8E0B-E80A376662F2> /usr/lib/system/libsystem_secinit.dylib
0x7fffa4d57000 - 0x7fffa4d5efff libsystem_symptoms.dylib (532.1.1) <B26F656E-94F9-3834-9B03-51C4FF11D1BF> /usr/lib/system/libsystem_symptoms.dylib
0x7fffa4d5f000 - 0x7fffa4d7fff7 libsystem_trace.dylib (518.1.16) <C3CDF7BC-CA3D-34F5-ADF8-46AAAB0B47F8> /usr/lib/system/libsystem_trace.dylib
0x7fffa4d80000 - 0x7fffa4d85ffb libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
0x7fffa4d86000 - 0x7fffa4dafff7 libxpc.dylib (972.1.5) <2A901937-48E1-3BF2-83F1-2431156D82B7> /usr/lib/system/libxpc.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 3115
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=127.2M resident=0K(0%) swapped_out_or_unallocated=127.2M(100%)
Writable regions: Total=30.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=30.6M(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 2
MALLOC 22.2M 12
MALLOC guard page 16K 4
STACK GUARD 56.0M 2
Stack 8192K 2
VM_ALLOCATE 4K 2
__DATA 3272K 49
__LINKEDIT 111.5M 5
__TEXT 15.7M 47
__UNICODE 556K 2
shared memory 8K 3
=========== ======= =======
TOTAL 217.2M 119

thanks advanced

Cédric Krier

unread,
Dec 25, 2017, 8:10:05 AM12/25/17
to tryton-dev
On 2017-12-23 08:35, José Arturo García wrote:
> im receiving this error in several machines with sierra and high sierra:

Please fill an issue at https://bugs.tryton.org/
And add console output when you launch from the console with:

$ DYLD_PRINT_LIBRARIES="1" Tryton.app/Contents/MacOS/tryton
Reply all
Reply to author
Forward
0 new messages