-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Original bug ID: 6621
Reporter: bcpierce
Status: closed (set by @xavierleroy on 2016-12-07T10:36:52Z)
Resolution: not a bug
Priority: normal
Severity: crash
Platform: Multiple
OS: Multiple
Version: 4.02.1
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @diml @yallop
Bug description
I've been getting reports that Unison doesn't work when built on some platforms with 4.02 (either 4.02.0 or 4.02.1). Here's what I think I know:
- 4.01 seems to work reliably
- 4.02 seems to work on Mavericks, but not Yosemite
- 4.02 seems not to work on "a almost up-to-date linux system with gcc 4.8.3 and glibc 2.19"
A message about this from a user is in the "additional information"
Steps to reproduce
Grab Unison tarball from
http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.40.102.tar.gz
Unpack. Go inside.
do
make text
./unison
Additional information
I'm also seeing this broken build of unison 2.40.102. It happened when
I upgraded to OS X 10.10 Yosemite and had to rebuild all MacPorts.
Building with either ocaml 4.02.0 (in macports) or 4.02.1 (outside of
macports) results in a nonfunctional unison.
Outputting the version works, but not running unison as usual:
% ./unison -version
unison version 2.40.102
% ./unison
X?8zsh: segmentation fault (core dumped) ./unison
It outputs 15 bytes of junk for some reason:
% ./unison &> output.txt
zsh: segmentation fault (core dumped) ./unison &> output.txt
% xxd output.txt
0000000: 58fc 1200 0100 0000 3803 1300 0100 00 X.......8......
% lldb ./unison -c /cores/core.9045
(lldb) target create "./unison" --core "/cores/core.9045"
w?????????|???????????????????????????????1
}M��5�9Q|????????????????????????????????????????????????????????)?????????????????????????????????????????????????)?????????|???????????????????????????????1
}M��5�9Q|????????????????????????????????????????????????????????(???????????????????????????)
???????????????????????????|????????????)A???????????(???????????????????????????????????????????????????????????M%�MQ=@(?????????????????????????????????(??????????????????????????(???????????????????????????(????????????????????????(????????????????????????????(????????????(??????????????????????????����������6C�2�V?6???�7F?��&V�6??�?�6?v?�?�4?u5D?��?�g&�?R�3�?��?������������6C�2�V?6??����g&�?R�3�?��?��c?c3sCc�c#&C�?????F"?��V?