Menu

#1 Segmentation fail on Archlinux

open-fixed
None
7
2009-10-26
2009-08-10
No

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.

Discussion

  • Viktor Nordell

    Viktor Nordell - 2009-09-25
    • priority: 5 --> 7
    • assigned_to: nobody --> voidvektor
    • status: open --> open-accepted
     
  • Viktor Nordell

    Viktor Nordell - 2009-09-25

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

     
  • Viktor Nordell

    Viktor Nordell - 2009-09-25

    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.

     
  • Viktor Nordell

    Viktor Nordell - 2009-10-26
    • status: open-accepted --> open-fixed
     
  • Viktor Nordell

    Viktor Nordell - 2009-10-26

    Fixed in revision 190.

     
  • Anonymous

    Anonymous - 2012-04-30

    Thanks! Getting the latest source code from SVN fixex this issue on my Arch Linux

     

Log in to post a comment.

MongoDB Logo MongoDB