Segmentation fail happened if I compile hamachi-gui on Archlinux (gcc-4.4). hamachi-gui compiled on Ubuntu 9.04 (gcc-4.3) works perfectly on both systems (Archlinux and Ubuntu).
Problem is sscanf doesn't work properly in io_misc.c:35.
The problem is probably because of this change in glibc:
Version 2.7:
Implement 'm' modifier for scanf. Add stricter C99/SUS compliance
by not recognizing 'a' as a modifier when those specs are requested.
Implemented by Jakub Jelinek.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looked at the code and could not find any obvious error in it.
GCC 4.4 is not yet release for Ubuntu 9.04, will look in to it when Ubuntu 9.10 is released (which is soon).
The problem is probably because of this change in glibc:
Version 2.7:
Implement 'm' modifier for scanf. Add stricter C99/SUS compliance
by not recognizing 'a' as a modifier when those specs are requested.
Implemented by Jakub Jelinek.
Fixed in revision 190.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks! Getting the latest source code from SVN fixex this issue on my Arch Linux