Menu

#185 3.9.55 Configure fails on ARM

Developer
closed-fixed
5
2011-12-15
2011-12-07
Tom Wallace
No

On ARM under Ubuntu 11.10 (gcc 4.6.1), both ../configure and ../configure -Si archdef 0 segfault with the following output:

Maximum number of threads configured as 2
Parallel make command configured as '$(MAKE) -j 2'
Segmentation fault
xconfig exited with 139

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2011-12-07

    Tom,

    It works on my older ubuntu using gcc 4.4.5. However, I tested 3.9.56, which I hope to release later today. It has an additional possible buffer overrun fixed that might be helping.

    Let me get 3.9.56 out, and then I'd like to ask you to try again with that on your system.

    I can't do much work on the ARM right now: my students are using the machine for finals, and so I can't screw up their timings by doing too much stuff . . .

    Thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-07
    • assigned_to: nobody --> rwhaley
    • status: open --> open-works-for-me
     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-07

    Tom,

    I just released 3.9.56. Can you see if you are still getting the config seg fault?

    Thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-08

    Tom,

    If you are willing, you should be able to track this down directly. Do a screen capture on your configure command that seg faults, and you should be able to see the arguments that xconfig is being called with. After the seg fault, run xconfig with those args under gdb, and see what lines it is coming from. Usually this is enough for me to figure out the bug.

    Thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-08

    Tom found a bug in config.c:
    ****
    Found it. In CONFIG/src/config.c line 706, ln is declared as char,
    rather than as char *. This causes a segfault when it is passed to
    sprintf on line 711.

    I have no idea why this doesn't fail on other platforms, unless
    ProbePtrbits doesn't get called for all of them.
    ****

    Fixed in basefiles, can close after confirmation of 3.9.57.

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-08
    • milestone: 148063 -->
    • labels: 320139 -->
    • status: open-works-for-me --> open-accepted
     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-08
    • milestone: --> Developer
    • labels: --> Install problem
     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-10

    Tom,

    Can you confirm this is fixed in 3.9.57, and close this report if so?

    Thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-15
    • status: open-accepted --> closed-fixed
     
  • R. Clint Whaley

    R. Clint Whaley - 2011-12-15

    fixed in 3.9.58

     

Log in to post a comment.

MongoDB Logo MongoDB