Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

unison-2.40_2014-10-18-093618_Spindle.crash (8.8 KB) - added by seh@… 10 years ago.
Mac OS crash report for unison

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by seh@…

Mac OS crash report for unison

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:2 Changed 10 years ago by 0815dev@…

Cc: 0815dev@… added

Cc Me!

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.

Last edited 10 years ago by paul.dean.bailey@… (previous) (diff)

comment:4 Changed 10 years ago by gpf@…

Cc: gpf@… added

Cc Me!

comment:5 Changed 10 years ago by jxy (Xiao-Yong)

Cc: jinxiaoyong@… added

Cc Me!

comment:6 Changed 10 years ago by inyeollee

Cc: inyeol.lee@… added

Cc Me!

comment:7 Changed 10 years ago by mni@…

Cc: mni@… added

Cc Me!

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: newclosed

Thanks, r127145

comment:10 Changed 10 years ago by ecronin (Eric Cronin)

Keywords: yosemite removed
Summary: unison fails on Yosemite with segmentation faultunison @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.

comment:11 Changed 10 years ago by kenyon@…

Cc: kenyon@… added

Cc Me!

comment:12 Changed 10 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc@… added

Cc Me!

Note: See TracTickets for help on using tickets.