After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151493 - nautilus crashes upon changing folder view from list view to something else
nautilus crashes upon changing folder view from list view to something else
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.7.x
Other Linux
: Urgent critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 151698 151843 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-08-31 09:26 UTC by Jürg Billeter
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: 2.8.0
GNOME version: 2.7/2.8


Attachments
Proposed Patch (Don't commit cell renderer on NULL model) (1.48 KB, patch)
2004-09-03 15:51 UTC, Martin Wehner
none Details | Review

Description Jürg Billeter 2004-08-31 09:26:42 UTC
Steps to reproduce the crash:
1. open a folder with nautilus
2. view it with the list view
3. change view to something else, for example icon view

Expected Results:
Just displaying the folder in icon view or whatever has been selected.

How often does this happen?
Always.

Additional Information:
The change in src/file-manager/fm-list-view.c (fm_list_view_clear) of
2004-08-19 seems to be the cause of the problem.


Debugging Information:

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1091204592 (LWP 24476)]
[New Thread 1105009584 (LWP 24480)]
[Thread debugging using libthread_db enabled]
[New Thread 1091204592 (LWP 24476)]
[New Thread 1105009584 (LWP 24480)]
[Thread debugging using libthread_db enabled]
[New Thread 1091204592 (LWP 24476)]
[New Thread 1105009584 (LWP 24480)]
[New Thread 1104743344 (LWP 24479)]
[New Thread 1104477104 (LWP 24478)]
[New Thread 1104198576 (LWP 24477)]
0xffffe410 in ?? ()
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #6 <signal handler called>
  • #7 fm_list_view_clear
    at fm-list-view.c line 1290
  • #8 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #9 g_type_class_meta_marshal
    at gclosure.c line 514
  • #10 g_closure_invoke
    at gclosure.c line 437
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2473
  • #12 g_signal_emit_valist
    at gsignal.c line 2194
  • #13 g_signal_emit
    at gsignal.c line 2238
  • #14 fm_directory_view_clear
    at fm-directory-view.c line 2738
  • #15 fm_directory_view_destroy
    at fm-directory-view.c line 1617
  • #16 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2551
  • #20 g_signal_emit_valist
    at gsignal.c line 2194
  • #21 g_signal_emit
    at gsignal.c line 2238
  • #22 gtk_object_dispose
    at gtkobject.c line 376
  • #23 gtk_widget_dispose
    at gtkwidget.c line 6384
  • #24 fm_list_view_dispose
    at fm-list-view.c line 1960
  • #25 g_object_last_unref
    at gobject.c line 557
  • #26 bonobo_control_destroy
    from /usr/lib/libbonoboui-2.so.0
  • #27 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #28 g_type_class_meta_marshal
    at gclosure.c line 514
  • #29 g_closure_invoke
    at gclosure.c line 437
  • #30 signal_emit_unlocked_R
    at gsignal.c line 2473
  • #31 g_signal_emit_valist
    at gsignal.c line 2194
  • #32 g_signal_emit
    at gsignal.c line 2238
  • #33 bonobo_object_destroy_T
    from /usr/lib/libbonobo-2.so.0
  • #34 bonobo_object_unref
    from /usr/lib/libbonobo-2.so.0
  • #35 impl_Bonobo_Unknown_unref
    from /usr/lib/libbonobo-2.so.0
  • #36 _ORBIT_skel_small_Bonobo_Unknown_unref
    from /usr/lib/libbonobo-activation.so.4
  • #37 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #38 Bonobo_Unknown_unref
    from /usr/lib/libbonobo-activation.so.4
  • #39 Bonobo_Unknown__iinterface
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 __after_morecore_hook
    from /lib/libc.so.6
  • #49 ??
  • #50 ??
  • #51 ??
    from /usr/lib/libbonobo-2.so.0
  • #52 ??
  • #53 bonobo_object_release_unref
    from /usr/lib/libbonobo-2.so.0

Comment 1 Kjartan Maraas 2004-09-01 11:28:09 UTC
Can't reproduce this here using nautilus-2.7.92, could you try a newer version
and see if that fixes it?
Comment 2 Jürg Billeter 2004-09-01 11:36:04 UTC
Sorry for not providing the exact nautilus version, but I was / am using 2.7.92,
too. Martin Wehner is taking care of the problem:
http://mail.gnome.org/archives/nautilus-list/2004-August/msg00157.html
Comment 3 Martin Wehner 2004-09-03 15:41:55 UTC
*** Bug 151698 has been marked as a duplicate of this bug. ***
Comment 4 Martin Wehner 2004-09-03 15:47:16 UTC
I introduced this crash with my patch to fix bug 143830. Reopening.
Comment 5 Martin Wehner 2004-09-03 15:51:11 UTC
Created attachment 31242 [details] [review]
Proposed Patch (Don't commit cell renderer on NULL model)

This patch prevents cell_renderer_edited to be called on a NULL model. The
patch was accepted by Alex and forwarded to the release-team for freeze break
approval.
Comment 6 Alexander Larsson 2004-09-06 09:02:15 UTC
Fixed in cvs HEAD.
Comment 7 Martin Wehner 2004-09-07 01:09:17 UTC
*** Bug 151843 has been marked as a duplicate of this bug. ***