#45442 closed defect (fixed)
unison @2.40.102_1 fails when built with OCaml 4.02 with segmentation fault
Reported by: | seh@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | 0815dev@…, gpf@…, jxy (Xiao-Yong), inyeollee, mni@…, kenyon@…, majoc-at-astro (majoc-at-astro) | |
Port: | unison |
Description
After upgrading to Mac OS Yosemite, I reinstalled all my ports, and found that unison version 2.40.102_1 crashes immediately upon trying to synchronize. I can start unison and get it to dump its usage and help messages, but supplying a profile name and asking it to synchronize cause it to fail with a segmentation fault.
Using a profile name of "gnus":
% unison gnus ??hzsh: segmentation fault unison gnus
Trying again with debug output enabled:
% unison gnus -debug all [startup] Preferences: ui = graphic [...] addprefsto = ??hzsh: segmentation fault unison gnus -debug all
Find a crash report attached.
Attachments (1)
Change History (13)
Changed 10 years ago by seh@…
Attachment: | unison-2.40_2014-10-18-093618_Spindle.crash added |
---|
comment:1 Changed 10 years ago by 0815dev@…
I can confirm the problem.
Starting 'unison -ui text' results to:
???Segmentation fault: 11
Here is someone who compiled unison manual:
http://www.outofbounds.gr/blog/posts/how-to-build-unison-command-line-on-yosemite
comment:3 Changed 10 years ago by paul.dean.bailey@…
http://www.outofbounds.gr/blog/posts/how-to-build-unison-command-line-on-yosemiteThis blogger claims to have compiled Unison for Yosemite
Sorry, just realized that the second comment I skimmed over has the exact same link.
comment:8 Changed 10 years ago by gpf@…
Looks like there is a fix for this, I manually downloaded the unison source bundle unison-2.40.102.tar.gz, fixed the file ubase/util.ml
and compiled with make UISTYLE=text
and I now have a working unison binary.
comment:9 Changed 10 years ago by ecronin (Eric Cronin)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks, r127145
comment:10 Changed 10 years ago by ecronin (Eric Cronin)
Keywords: | yosemite removed |
---|---|
Summary: | unison fails on Yosemite with segmentation fault → unison @2.40.102_1 fails when built with OCaml 4.02 with segmentation fault |
Also note that OCaml 4.02 changed the network marshaling format again, so both client and server need to be built with the same OCaml release.
Mac OS crash report for unison