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 398330 - nautilus crashes when switching from View as Icon to View as List
nautilus crashes when switching from View as Icon to View as List
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2007-01-19 11:48 UTC by padraig.obriain
Modified: 2007-02-07 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (509 bytes, patch)
2007-01-19 11:50 UTC, padraig.obriain
none Details | Review
patch (1.13 KB, patch)
2007-01-22 08:50 UTC, Li Yuan
committed Details | Review

Description padraig.obriain 2007-01-19 11:48:58 UTC
vermillion 57 development build (gnome2.18) installed on snv_55, sparc and x86

Launch nautilus, browse to a directory containing a few directories/files.
From the top right corner of the UI select 'View as list' - 
Result - nautilus hangs

2803:   nautilus
 fef4787b lwp_park (0, 0, 0)
 fef409c4 slow_lock (fe3e2000, 818cd7c, 0) + 40
 fef40b1b mutex_lock_impl (818cd7c, 0) + 14b
 fef40c02 mutex_lock (818cd7c) + 1d
 08101646 lock     (fef935e0, fef934c0, 8189ccc, fe46f3d0, 8044280, 0) + 62
 08101761 nautilus_debug_logv (1, 815ce1c, 0, 815cdd0, 8044258) + 1d
 081016e3 nautilus_debug_log (1, 815ce1c, 815cdd0, 6) + 27
 080b0c88 sigfatal_handler (6, 0, 804430c) + 1c
 fef4791f __sighndlr (6, 0, 804430c, 80b0c6c) + f
 fef3cf9b call_user_handler (6, 0, 804430c) + 2b8
 fef3d142 sigacthandler (6, 0, 804430c) + c2
 --- called from signal handler with signal 6 (SIGABRT) ---
 fef49db6 __systemcall (3, fe3e2158, 0) + 6
 fef3d86a pthread_sigmask (2, 80445b0, 0) + 134
 fef3d901 sigprocmask (2, 80445b0, 0) + 31
 fef29c0a sigrelse (6) + 58
 feee0d66 abort    (816bb6c, 816bb88, fe5a1e0c, fef130e5, 80453f4, 8) + 96
 fe53b1b4 g_logv   (fe58d5b8, 8, fe58d398, 8044ad0) + 340
 fe53b1dd g_log    (fe58d5b8, 8, fe58d398, 816bb6c) + 25
 fe52d3c7 g_key_file_set_value (8630d78, 816bb88, 816bb6c, 8682260) + a3
 fe52e89e g_key_file_set_integer (8630d78, 816bb88, 816bb6c, 3e8) + 3e
 08102398 nautilus_debug_log_dump (84da820, 0) + 2d4
 080b0bc6 dump_debug_log (fef8f000, 3, 20, 8044bcc, fef4791f, 6) + 26
 080b0c90 sigfatal_handler (6, 0, 8044c60) + 24
 fef4791f __sighndlr (6, 0, 8044c60, 80b0c6c) + f
 fef3cf9b call_user_handler (6, 0, 8044c60) + 2b8
 fef3d142 sigacthandler (6, 0, 8044c60) + c2
 --- called from signal handler with signal 6 (SIGABRT) ---
 fef48567 _lwp_kill (1, 6) + 7
 fef020f2 raise    (6) + 22
 feee0d34 abort    (80453f0, 81b02a0, fe5a1e0c, 1, 1, fe5cb2f8) + 64
 fe53b1b4 g_logv   (fe927330, 8, fe9277cc, 8045398) + 340
 fe53b1dd g_log    (fe927330, 8, fe9277cc, fe9277bc, 4fa, fe92751c) + 25
 fe82347a gtk_tree_model_iter_nth_child (81b02a0, 80453f0, 0, ffffffff) + de
 fbebdf77 gail_item_get_name (877e748) + 21b
 fbe6a8ee atk_object_get_name (877e748) + 36
 fb9b373e spi_atk_emit_eventv (877e748, 0, 0, 0, 83f6f78) + e6
 fb9b3e8f spi_atk_bridge_state_event_listener (804552c, 3, 80455cc, 81cc918) + 77
 fe5d1b28 signal_emit_unlocked_R (81c0008, 873, 877e748, 0, 80455cc) + 5a0
 fe5d0fe0 g_signal_emit_valist (877e748, 69, 873, 8045844) + 8c4
 fe5d1175 g_signal_emit (877e748, 69, 873, fbe74174, 0, 0) + 25
 fbe6b197 atk_object_notify_state_change (877e748, 15, 0, 0, 86805e0) + 3f
 fbec1ab2 menu_item_selection (86805e0, 0) + 3a
 fbec1a70 menu_item_deselect (86805e0, 0) + 10
 fe5d2449 g_cclosure_marshal_VOID__VOID (87804e0, 0, 1, 8045a0c, 804596c, 0) + 55
 fe5be073 g_closure_invoke (87804e0, 0, 1, 8045a0c, 804596c) + 107
 fe5d1cce signal_emit_unlocked_R (81c22a0, 0, 86805e0, 0, 8045a0c) + 746
 fe5d0fe0 g_signal_emit_valist (86805e0, 52, 0, 8045c7c) + 8c4
 fe5d1175 g_signal_emit (86805e0, 52, 0) + 25
 fe746457 gtk_item_deselect (86805e0) + 23
 fe76bfc7 gtk_menu_shell_remove (8306e68, 86805e0) + 6f
 fe761c5a gtk_menu_remove (8306e68, 86805e0, 81b3a78) + 6a
 fe5d2d5f g_cclosure_marshal_VOID__OBJECT (81c17a0, 0, 2, 8045e7c, 8045ddc, fe761bf0) + 5b
 fe5be354 g_type_class_meta_marshal (81c17a0, 0, 2, 8045e7c, 8045ddc, 170) + 40
 fe5be073 g_closure_invoke (81c17a0, 0, 2, 8045e7c, 8045ddc) + 107
 fe5d199c signal_emit_unlocked_R (81c21e0, 0, 8306e68, 0, 8045e7c) + 414
 fe5d0fe0 g_signal_emit_valist (8306e68, 4e, 0, 80460f4) + 8c4
 fe5d1175 g_signal_emit (8306e68, 4e, 0, 86805e0) + 25
 fe6de67d gtk_container_remove (8306e68, 86805e0) + 99
 fe6d7fe0 gtk_combo_box_menu_row_deleted (81b02a0, 845ae68, 82708f0) + 4c
 fe6d7a33 gtk_combo_box_model_row_deleted (81b02a0, 845ae68, 82708f0) + 5f
 fe5d2c3f g_cclosure_marshal_VOID__BOXED (8354918, 0, 2, 80462dc, 804623c, 0) + 5b
 fe5be073 g_closure_invoke (8354918, 0, 2, 80462dc, 804623c) + 107
 fe5d1cce signal_emit_unlocked_R (834e030, 0, 81b02a0, 0, 80462dc) + 746
 fe5d0fe0 g_signal_emit_valist (81b02a0, 119, 0, 8046548) + 8c4
 fe5d1175 g_signal_emit (81b02a0, 119, 0, 845ae68) + 25
 fe823e24 gtk_tree_model_row_deleted (81b02a0, 845ae68) + 40
 fe75861f gtk_list_store_remove (81b02a0, 80465a0) + c7
 fe758c5a gtk_list_store_clear (81b02a0) + 5e
 080b418e load_view_as_menu (82464f0) + 6e
 080b45cf real_set_content_view_widget (82464f0, 87c5030) + 117
 080cb162 nautilus_window_set_content_view_widget (82464f0, 87c5030) + 52
 080c6c7b nautilus_window_report_load_underway (82464f0, 87c5030) + a7
 081474d4 nautilus_window_info_report_load_underway (82464f0, 87c5030) + 58
 080db88f finish_loading_if_all_metadata_loaded (87c5030) + 4f
 080dbb32 metadata_for_files_in_directory_ready_callback (8646dd0, 0, 87c5030) + c6
 0810665d ready_callback_call (8646dd0, 95c6a10) + 69
 0810743d call_ready_callbacks_at_idle (8646dd0) + 69
 fe53670b g_idle_dispatch (8794918, 81073d4, 8646dd0) + 1f
 fe5336dd g_main_dispatch (81b2bd8) + 1d9
 fe5347cd g_main_context_dispatch (81b2bd8) + 85
 fe534bea g_main_context_iterate (81b2bd8, 1, 1, 8190790) + 3ce
 fe5351ec g_main_loop_run (8248350) + 1b8
 fe75aa02 gtk_main (8046c18, 8046a94, feffa7c0, 0, 0, 815cd7c) + b2
 080b15e9 main     (1, 8046ad8, 8046ae0) + 8b1
 080a07d6 _start   (1, 8046c80, 0, 8046c89, 8046ca0, 8046cc7) + 7a
Comment 1 padraig.obriain 2007-01-19 11:50:33 UTC
Created attachment 80687 [details] [review]
Patch

This patch works for me.
Comment 2 Harry Lu 2007-01-19 14:07:09 UTC
add cc to gnome-a11y-bugs-ext@sun.com
Comment 3 Li Yuan 2007-01-22 07:55:48 UTC
Hi Padraig,
Can we use the following one?

if (index < 0 || index > g_list_length (list) )
  return NULL;
Comment 4 padraig.obriain 2007-01-22 08:11:27 UTC
Sure.
Comment 5 Li Yuan 2007-01-22 08:50:28 UTC
Created attachment 80864 [details] [review]
patch
Comment 6 Rich Burridge 2007-02-06 19:54:13 UTC
The fix for this problem causes problems with combo boxes in GNOME 2.17.
See gail/atk bug #404664 and Orca bug #403631.

Reopening.
Comment 7 Li Yuan 2007-02-07 08:31:06 UTC
please see bug #403138.