#47 crash when saving

v0.8
closed-works-for-me
Mezomish
Plugins (2)
5
2011-05-25
2010-12-19
James Buren
No

I get a crash when I save under reproducable conditions. I debugged it with valgrind to determine the source, and it is present in the libfm.so (file manager) plugin. I will attach the valgrind log. But here is what I did to reproduce it with 0.8.1 series:

1) Ensure all plugins that are built by default are enabled
2) Make sure the file manager window is hidden.
3) Save settings, close all files, and exit juffed.
4) Restart juffed with a single file buffer (command line or via the file dialog).
5) Modify buffer, save.
6) Modify buffer again, save.
7) Segmentation fault.

Discussion

  • James Buren

    James Buren - 2010-12-19
     
  • Petr Vaněk

    Petr Vaněk - 2010-12-20

    cannot reproduce with Qt 4.7.

    Can you compile juffed in the debug mode (cmake -DCMAKE_BUILD_TYPE=Debug) and post the output of gdb (gdb /path/to/juffed then "run"), please?

     
  • Petr Vaněk

    Petr Vaněk - 2010-12-20

    doh, sorry. My wrong understanding - I thought it's about 0.9.x svn trunk, not 0.8... 0.9.x seems fixed.

     
  • Mezomish

    Mezomish - 2010-12-28

    Did you install JuffEd from a package or compiled manually?

     
  • James Buren

    James Buren - 2010-12-28

    I packaged it myself for frugalware, so it may as well be "compiled manually".

     
  • Mezomish

    Mezomish - 2011-01-02

    I can't reproduce it on Ubuntu 10.04 (with Qt 4.6.2). Anyways, I've added an additional check for model index validity when updating the tree, so please update your plugins and try again. Please attach Valgrind log (or GDB call stack) if it crashes again.

     
  • Mezomish

    Mezomish - 2011-05-25
    • status: open --> closed-works-for-me
     

Log in to post a comment.