#865 Crash when clicking up from a non-existent folder when focus_previous=1

1.2
closed-fixed
libfm (303)
7
2014-05-17
2014-05-05
No
  • Enable the option "Focus previous folder after coming to its parent" in the "General" preferences.
  • Navigate into a folder.
  • Navigate to the parent folder using the back button, not the up button.
  • Rename the folder.
  • Use the back button to go back into the folder. You will get a dialog: "Error: - The specified directory '/path/to/directory' is not valid" - click OK.
  • Click the up button.
  • Crash!

Program received signal SIGSEGV, Segmentation fault.
0xb73fca08 in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) bt

0 0xb73fca08 in ?? () from /usr/lib/libglib-2.0.so.0

1 0xb7ddffe5 in fm_folder_model_get_path (tree_model=0x8356180,

iter=0xbffff6d0) at gtk/fm-folder-model.c:685

2 0xb7b5e290 in gtk_tree_model_get_path () from /usr/lib/libgtk-x11-2.0.so.0

3 0xb7df5988 in _fm_standard_view_scroll_to_path (fv=0x832e008,

path=0xb2d02f60, focus=1) at gtk/fm-standard-view.c:1799

4 0xb7de574c in fm_folder_view_scroll_to_path (fv=0x832e008,

path=0xb2d02f60, focus=1) at gtk/fm-folder-view.c:1974

5 0x0805df1b in update_scroll (data=0x8366818) at tab-page.c:625

6 0xb78ac838 in ?? () from /usr/lib/libgdk-x11-2.0.so.0

7 0xb73e4951 in ?? () from /usr/lib/libglib-2.0.so.0

8 0xb73e3e17 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0

9 0xb73e41d8 in ?? () from /usr/lib/libglib-2.0.so.0

10 0xb73e44db in g_main_loop_run () from /usr/lib/libglib-2.0.so.0

11 0xb7a70180 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0

12 0x0805526d in main (argc=1, argv=0xbffff994) at pcmanfm.c:284

Discussion

  • Alister Hood

    Alister Hood - 2014-05-05

    Oh dear, I didn't realise they use markdown here now...

    Program received signal SIGSEGV, Segmentation fault.
    0xb73fca08 in ?? () from /usr/lib/libglib-2.0.so.0
    (gdb) bt
    #0  0xb73fca08 in ?? () from /usr/lib/libglib-2.0.so.0
    #1  0xb7ddffe5 in fm_folder_model_get_path (tree_model=0x8356180, 
        iter=0xbffff6d0) at gtk/fm-folder-model.c:685
    #2  0xb7b5e290 in gtk_tree_model_get_path () from /usr/lib/libgtk-x11-2.0.so.0
    #3  0xb7df5988 in _fm_standard_view_scroll_to_path (fv=0x832e008, 
        path=0xb2d02f60, focus=1) at gtk/fm-standard-view.c:1799
    #4  0xb7de574c in fm_folder_view_scroll_to_path (fv=0x832e008, 
        path=0xb2d02f60, focus=1) at gtk/fm-folder-view.c:1974
    #5  0x0805df1b in update_scroll (data=0x8366818) at tab-page.c:625
    #6  0xb78ac838 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
    #7  0xb73e4951 in ?? () from /usr/lib/libglib-2.0.so.0
    #8  0xb73e3e17 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #9  0xb73e41d8 in ?? () from /usr/lib/libglib-2.0.so.0
    #10 0xb73e44db in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #11 0xb7a70180 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #12 0x0805526d in main (argc=1, argv=0xbffff994) at pcmanfm.c:284
    
     
  • Lonely Stranger

    Lonely Stranger - 2014-05-05
    • labels: --> pcmanfm
    • Priority: 5 --> 7
     
  • Lonely Stranger

    Lonely Stranger - 2014-05-17

    I hope this issue is completely fixed in current GIT repository sources. Check it when possible, please. Thank you very much.

     
  • Lonely Stranger

    Lonely Stranger - 2014-05-17
    • labels: pcmanfm --> libfm
    • status: open --> pending-fixed
    • assigned_to: Lonely Stranger
     
  • Alister Hood

    Alister Hood - 2014-05-17

    Yes, fixed.
    Good work with all the fixes this morning!

     
  • Lonely Stranger

    Lonely Stranger - 2014-05-17
    • status: pending-fixed --> closed-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2014-05-17

    It was morning for you but it was deep night for me. :)
    Thank you too.

     


Anonymous

Cancel  Add attachments