#15 segfault on save

open
nobody
None
5
2012-09-24
2012-09-24
Renato
No

petri-foo 0.1.51 (not sure of the exact version) seg faulted when I did save or save as, so i upgraded to 0.1.87 and I have same behaviour. I'm on archlinux and using xfce 4.10. I'd give you a gdb backtrace but I can't figure out how to turn on debugging symbols with cmake (right now I'm compiling it with the PKGBUILD avaible in archlinux's AUR [1])

Discussion

  • James W Morris
    James W Morris
    2012-09-24

    Yeah you'll need to give a backtrace for this. I've downloaded it from AUR to build and haven't seen a seg-fault running two very simple test cases.

    Using the AUR, say Y to "Edit PKGBUILD..." and find the following line:

    cmake -DCMAKE_INSTALL_PREFIX=/usr -DUpdateMime:BOOL=OFF .

    add -DBuildForDebug=1 to it like so:

    cmake -DBuildForDebug=1 -DCMAKE_INSTALL_PREFIX=/usr -DUpdateMime:BOOL=OFF .

    (it doesn't actually matter where on the line you add -DBuildForDebug=1 to).

     
  • Renato
    Renato
    2012-09-24

    can't reproduce it anymore, on both binaries (with and without debug support). Will come back if it happens again

     
  • lieven
    lieven
    2012-11-15

    Same problem here (also on Arch), adding -DBuildForDebug=1 works around the problem,
    but it would be great if this could be fixed...

     
  • James W Morris
    James W Morris
    2012-11-22

    Hello lievenmoors,
    Please confirm you are using an up to date version and try to reproduce the error and post any/all messages displayed Thanks.