#5 Segfault when permissions incorrect

open-accepted
nobody
None
2
2011-03-24
2011-02-01
No

After installing, the user is notified to copy configuration files into his home directory: "Before using mandelbulber, copy /usr/share/mandelbulber/.mandelbulber to your HOME (even if you installed a previous version)". However, if the permissions/ownership of ~/.mandelbulber are incorrect (after copying from /usr/share/mandelbulber/.mandelbulber, ~/.mandelbulber is owned by root) and Mandelbulber is unable to write to that folder, the program will undergo a segmentation fault when trying to render rather than failing gracefully.

Discussion

  • Danny Burgoyne

    Danny Burgoyne - 2011-02-01
    • priority: 5 --> 2
     
  • Krzysztof Marczak

    • status: open --> pending-accepted
     
  • Krzysztof Marczak

    Please tell me which version of Mandelbulber caused this problem and which Linux distribution did you use.

     
  • Danny Burgoyne

    Danny Burgoyne - 2011-03-24
    • status: pending-accepted --> open-accepted
     
  • Danny Burgoyne

    Danny Burgoyne - 2011-03-24

    This happened with Mandelbulber 0.97 under 64-bit Arch Linux.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-03-25

    Hi, I did the package for archlinux (http://aur.archlinux.org/packages.php?ID=36325),
    permissions are correct, you should have used cp from root account.

     
  • Danny Burgoyne

    Danny Burgoyne - 2011-03-25

    I was able to quickly realize what I had done wrong after the problem occurred; the real problem here is that Mandelbulber segfaults when it is unable to write a file instead of failing verbosely (it should say "Could not write file: Permission denied" or something)

     

Log in to post a comment.