Hi All,
As per
https://trac.macports.org/ticket/39719 I have created a Portfile and some (trivial) patches to get linphone 3.7.0 (and belle-sip 1.3.0, and antlr3c 3.4.0) building on Mac OS 10.10 using tools of Xcode 6.1.
At the moment, as per that ticket, both linphone and linphonec crash at startup.
Stack trace looks like this (sorry, no symbols yet, I need to rebuild everything with symbols switched on in order to achieve that … if somebody would give me the configure arguments to switch symbols on for antlr3c, belle-sip and linphone, that would save me some time discovering them!):
(lldb) run
Process 83792 launched: '/opt/local/bin/linphone' (x86_64)
2014-11-13 14:01:25.956 linphone[83792:6684466] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
** (linphone:83792): WARNING **: Couldn't find pixmap file: linphone.png
(linphone:83792): Gtk-WARNING **: Could not find signal handler 'linphone_gtk_internet_kind_changed'
belle-sip-warning-There is no object pool created in thread [140735145972480]. Use belle_sip_object_pool_push() to create one. Unowned objects not unref'd will be leaked.
Process 83792 stopped
* thread #1: tid = 0x65ff32, 0x00007fff8d116056 libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 182, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x744e400)
frame #0: 0x00007fff8d116056 libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 182
libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 182:
-> 0x7fff8d116056: movb (%rsi,%r8), %cl
0x7fff8d11605a: movb %cl, (%rdi,%r8)
0x7fff8d11605e: subq $0x1, %rdx
0x7fff8d116062: je 0x7fff8d116078 ; _platform_memmove$VARIANT$Unknown + 216
(lldb) bt
* thread #1: tid = 0x65ff32, 0x00007fff8d116056 libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 182, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x744e400)
* frame #0: 0x00007fff8d116056 libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 182
frame #1: 0x00000001023cdc6d libantlr3c.dylib`newPtr8 + 61
frame #2: 0x00000001023cf859 libantlr3c.dylib`toStringSS + 137
frame #3: 0x0000000102258ec8 libbellesip.0.dylib`sip_schema + 577
frame #4: 0x000000010225878a libbellesip.0.dylib`uri + 89
frame #5: 0x000000010224eaa2 libbellesip.0.dylib`addr_spec + 150
frame #6: 0x000000010224e7b3 libbellesip.0.dylib`header_address_base + 138
frame #7: 0x000000010224e6df libbellesip.0.dylib`header_address + 55
frame #8: 0x0000000102215956 libbellesip.0.dylib`belle_sip_header_address_parse + 112
frame #9: 0x000000010007722d liblinphone.6.dylib`sal_address_new + 16
frame #10: 0x0000000100062186 liblinphone.6.dylib`linphone_address_new + 15
frame #11: 0x0000000100053b41 liblinphone.6.dylib`linphone_core_set_primary_contact + 24
frame #12: 0x0000000100052d81 liblinphone.6.dylib`linphone_configuring_terminated + 2619
frame #13: 0x0000000100053b03 liblinphone.6.dylib`linphone_core_new_with_config + 1257
frame #14: 0x000000010000fbdb linphone`main + 1349
frame #15: 0x000000010000cd70 linphone`start + 52
Any hints regarding this crash, or assistance in fixing it, would be very welcome! :)