Menu

#453 Crashing when using .. in file path

1.0
closed-fixed
PCMan
None
6
2012-06-05
2011-06-06
sadam36
No

When I try to go 'up' entering /.. in file path program close. Using 'up' button is ok, everything works.
I'm using fedora 15 spin with lxde. PcManFM version is 0.9.9.

Discussion

  • Sérgio Cipolla

    Sérgio Cipolla - 2011-06-06

    Here's the backtrace for that:

    $ gdb pcmanfm
    GNU gdb (GDB) 7.2-debian
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/pcmanfm...done.
    (gdb) run
    Starting program: /usr/bin/pcmanfm
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb2ae7b70 (LWP 1860)]

    (pcmanfm:1857): GLib-GObject-WARNING **: /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2275: signal `mode-changed' is invalid for instance `0x80d9018'
    [New Thread 0xb21e6b70 (LWP 1861)]
    ** (pcmanfm:1857): DEBUG: 0x80901e8, fs-info: 0
    ** (pcmanfm:1857): DEBUG: 0x80901e8, fs-info: -1
    [New Thread 0xb171ab70 (LWP 1862)]
    [New Thread 0xb0f19b70 (LWP 1863)]
    [Thread 0xb171ab70 (LWP 1862) exited]
    [Thread 0xb0f19b70 (LWP 1863) exited]
    [New Thread 0xb0f19b70 (LWP 1864)]
    [New Thread 0xb171ab70 (LWP 1865)]
    [Thread 0xb0f19b70 (LWP 1864) exited]
    [New Thread 0xb0f19b70 (LWP 1866)]
    [Thread 0xb0f19b70 (LWP 1866) exited]
    [New Thread 0xb0718b70 (LWP 1867)]
    ** (pcmanfm:1857): DEBUG: 0x80901e8, fs-info: -1
    [Thread 0xb0718b70 (LWP 1867) exited]
    [Thread 0xb171ab70 (LWP 1865) exited]
    [Thread 0xb21e6b70 (LWP 1861) exited]
    [New Thread 0xb21e6b70 (LWP 1868)]
    ** (pcmanfm:1857): DEBUG: 0x80901e8, fs-info: -1
    [Thread 0xb21e6b70 (LWP 1868) exited]
    [New Thread 0xb21e6b70 (LWP 1869)]
    ** (pcmanfm:1857): DEBUG: 0x823f4b8, fs-info: 0
    [New Thread 0xb171ab70 (LWP 1870)]

    (pcmanfm:1857): Gtk-CRITICAL **: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed

    Program received signal SIGSEGV, Segmentation fault.
    0xb75b42c2 in ?? () from /lib/libglib-2.0.so.0
    (gdb) bt
    #0 0xb75b42c2 in ?? () from /lib/libglib-2.0.so.0
    #1 0xb75b4913 in g_utf8_normalize () from /lib/libglib-2.0.so.0
    #2 0xb7b46532 in gtk_entry_completion_complete ()
    from /usr/lib/libgtk-x11-2.0.so.0
    #3 0xb7b32d9c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #4 0xb7658f1c in ?? () from /usr/lib/libgobject-2.0.so.0
    #5 0xb763b9f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #6 0xb7658fb7 in ?? () from /usr/lib/libgobject-2.0.so.0
    #7 0xb757aa41 in ?? () from /lib/libglib-2.0.so.0
    #8 0xb757f252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    #9 0xb757fa30 in ?? () from /lib/libglib-2.0.so.0
    #10 0xb75800f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
    #11 0xb7bb7bd9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #12 0x080532aa in main (argc=1, argv=0xbffff604) at pcmanfm.c:199
    (gdb)

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2011-06-06

    Note: I'm using the tab-rework branch. But it crashed too.

     
  • sgfault

    sgfault - 2011-06-06

    I have the same issue too (fedora 15).

    Here is my bt:

    (gdb) t a a bt

    Thread 4 (Thread 0xb18a2b70 (LWP 10768)):
    #0 0x00a8a424 in __kernel_vsyscall ()
    #1 0x4a448332 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:98
    #2 0x4a442ae2 in _L_lock_2975 () from /lib/libpthread.so.0
    #3 0x4a441e7b in start_thread (arg=0xb18a2b70) at pthread_create.c:294
    #4 0x4a385b4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

    Thread 3 (Thread 0xb7472b70 (LWP 10767)):
    #0 0x00a8a424 in __kernel_vsyscall ()
    #1 0x4a44575c in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
    #2 0x4a6d39eb in g_io_scheduler_job_send_to_mainloop (job=0x83cfd18, func=0x42248420 <on_dir_list_finished>,
    user_data=0x83ce260, notify=0) at gioscheduler.c:400
    #3 0x42247ef9 in list_sub_dirs (job=0x83cfd18, cancellable=0x8344f40 [GCancellable], user_data=0x83ce260)
    at gtk/fm-path-entry.c:343
    #4 0x4a6d33ec in io_job_thread (data=0x83cfd18, user_data=0x0) at gioscheduler.c:181
    #5 0x4a55acc7 in g_thread_pool_thread_proxy (data=0x836ad68) at gthreadpool.c:319
    #6 0x4a558755 in g_thread_create_proxy (data=0x83cbaa0) at gthread.c:1897
    #7 0x4a441c5e in start_thread (arg=0xb7472b70) at pthread_create.c:305
    #8 0x4a385b4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

    Thread 1 (Thread 0xb77ad840 (LWP 10702)):
    #0 0x4a563cf9 in _g_utf8_normalize_wc (str=0x0, max_len=-1, mode=G_NORMALIZE_ALL) at gunidecomp.c:364
    #1 0x4a564357 in g_utf8_normalize (str=0x0, len=-1, mode=G_NORMALIZE_ALL) at gunidecomp.c:525
    #2 0x441b10ab in IA__gtk_entry_completion_complete (completion=0x83c60c8 [GtkEntryCompletion])
    at gtkentrycompletion.c:1177
    #3 0x4419af1b in check_completion_callback (completion=0x83c60c8 [GtkEntryCompletion]) at gtkentry.c:9651
    #4 0x4a657044 in source_closure_marshal_BOOLEAN__VOID (closure=0x8297518, return_value=0xbfb005cc,
    n_param_values=0, param_values=0x0, invocation_hint=0x0, marshal_data=0x0) at gsourceclosure.c:71
    #5 0x4a639ff5 in g_closure_invoke (closure=0x8297518, return_value=0xbfb005cc, n_param_values=0, param_values=
    0x0, invocation_hint=0x0) at gclosure.c:767
    #6 0x4a656faf in source_closure_callback (data=0x8297518) at gsourceclosure.c:113
    #7 0x4a52c851 in g_idle_dispatch (source=0x83cdf40, callback=0x4a656f30 <source_closure_callback>, user_data=
    0x8297518) at gmain.c:4545
    #8 0x4a5307ff in g_main_dispatch (context=0x8234c00) at gmain.c:2440
    #9 g_main_context_dispatch (context=0x8234c00) at gmain.c:3013
    #10 0x4a530f70 in g_main_context_iterate (context=0x8234c00, block=1, dispatch=1, self=0x820f720)
    at gmain.c:3091
    ---Type <return> to continue, or q <return> to quit---
    #11 0x4a531697 in g_main_loop_run (loop=0x82986b0) at gmain.c:3299
    #12 0x44230f1f in IA__gtk_main () at gtkmain.c:1256
    #13 0x0805211a in main (argc=1, argv=0xbfb00864) at pcmanfm.c:199
    (gdb)

     
  • PCMan

    PCMan - 2011-06-11
    • assigned_to: nobody --> pcmanx
    • priority: 5 --> 6
     
  • PCMan

    PCMan - 2011-11-18

    I'll try to fix this before 1.0 release, but there is no guarantee since till now I'm not able to reproduce the bug here.

     
  • PCMan

    PCMan - 2011-11-18
    • milestone: --> 1.0
     
  • PCMan

    PCMan - 2012-05-08

    I believed that it has been fixed in our git repo previously.
    I repeatedly test this part and can no longer reproduce the problem
    So I'm now closing the bug report.

    Please test the latest source code in our git repo.
    If the bug still exists, please re-open the bug report.
    Thank you very much.

     
  • PCMan

    PCMan - 2012-05-08
    • status: open --> closed-fixed
     
  • sadam36

    sadam36 - 2012-06-02

    I just downloaded fedora 17 (0.9.10 version there) and ran it on kvm. Everything seems to be ok. Sorry for late response.

     
  • sadam36

    sadam36 - 2012-06-02
    • status: closed-fixed --> open-fixed
     
  • Lonely Stranger

    Lonely Stranger - 2012-06-05
    • status: open-fixed --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel