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 511406 - Zooming In in icon view makes Nautilus crash repeatly
Zooming In in icon view makes Nautilus crash repeatly
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] GIO
2.21.x
Other Linux
: Urgent blocker
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 512671 512696 512698 512699 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-23 00:01 UTC by Cosimo Cecchi
Modified: 2008-01-29 08:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Check thumb_mtime_str exists before parsing (899 bytes, patch)
2008-01-28 00:42 UTC, John Millikin
none Details | Review

Description Cosimo Cecchi 2008-01-23 00:01:16 UTC
When you have the zoom set to 100%, clicking "Zoom In" in the icon view, and setting it to 150% makes Nautilus crash repeatly, i.e. it will keep crashing on next auto-open when you close bug buddy. You need to rm -r ~/.nautilus to make it start again.


Distribution: Gentoo Base System release 2.0.0_rc6-r1
Gnome Release: 2.21.5 2008-01-20 (Gentoo)
BugBuddy Version: 2.20.1

System: Linux 2.6.24-rc4-zen1 #2 PREEMPT Fri Dec 28 14:20:56 CET 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 111480832 vsize: 111480832 resident: 47804416 share: 20787200 rss: 47804416 rss_rlim: 4294967295
CPU usage: start_time: 1201045957 rtime: 185 utime: 168 stime: 17 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb6a9f6d0 (LWP 13852)]
[New Thread 0xb6715b90 (LWP 13861)]
0xb7f9f410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6a9f6d0 (LWP 13852))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 374
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 213
  • #5 check_if_gdb
    at gnome-breakpad.cc line 283
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 225
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 196
  • #8 <signal handler called>
  • #9 *__GI_____strtol_l_internal
    at strtol_l.c line 298
  • #10 *__GI_strtol
    at strtol.c line 110
  • #11 thumbnail_read_callback
    at /usr/include/stdlib.h line 291
  • #12 IA__g_simple_async_result_complete
    at gsimpleasyncresult.c line 553
  • #13 load_contents_close_callback
    at gfile.c line 4476
  • #14 async_ready_close_callback_wrapper
    at ginputstream.c line 487
  • #15 IA__g_simple_async_result_complete
    at gsimpleasyncresult.c line 553
  • #16 complete_in_idle_cb
    at gsimpleasyncresult.c line 563
  • #17 g_idle_dispatch
    at gmain.c line 4142
  • #18 IA__g_main_context_dispatch
    at gmain.c line 2064
  • #19 g_main_context_iterate
    at gmain.c line 2697
  • #20 IA__g_main_loop_run
    at gmain.c line 2905
  • #21 IA__gtk_main
    at gtkmain.c line 1163
  • #22 main
    at nautilus-main.c line 568
  • #23 __libc_start_main
    at libc-start.c line 227
  • #24 _start
  • #0 __kernel_vsyscall

Comment 1 Christian Kirbach 2008-01-27 17:39:51 UTC
I am not able to reproduce this. Can you give us precise instructions?

Basis des Projektarchivs: svn+ssh://ckirbach@svn.gnome.org/svn/nautilus
UUID des Projektarchivs: eed429bf-d525-0410-875a-8b7cced7d6b9
Revision: 13649

Basis des Projektarchivs: svn+ssh://ckirbach@svn.gnome.org/svn/glib
UUID des Projektarchivs: 5bbd4a9e-d125-0410-bf1d-f987e7eefc80
Revision: 6380
Comment 2 Cosimo Cecchi 2008-01-27 17:55:25 UTC
Ok. Steps to reproduce:

rm -r .nautilus
rm -r .gconf/apps/nautilus

Set Nautilus in browser mode and icon view, open your home directory, set the zoom to 150% by clicking the "Zoom In" button on the toolbar.

Watch it crash.
Comment 3 John Millikin 2008-01-28 00:34:20 UTC
I can reproduce this in Ubuntu, here's the backtrace:

  • #0 ____strtol_l_internal
    from /lib/tls/i686/cmov/libc.so.6
  • #1 __strtol_internal
    from /lib/tls/i686/cmov/libc.so.6
  • #2 atol
    from /lib/tls/i686/cmov/libc.so.6
  • #3 thumbnail_done
    at nautilus-directory-async.c line 3664
  • #4 thumbnail_got_pixbuf
    at nautilus-directory-async.c line 3711
  • #5 thumbnail_read_callback
    at nautilus-directory-async.c line 3813
  • #6 IA__g_simple_async_result_complete
    at gsimpleasyncresult.c line 553
  • #7 load_contents_close_callback
    at gfile.c line 4711
  • #8 async_ready_close_callback_wrapper
    at ginputstream.c line 489
  • #9 IA__g_simple_async_result_complete
    at gsimpleasyncresult.c line 553
  • #10 complete_in_idle_cb
    at gsimpleasyncresult.c line 563
  • #11 g_idle_dispatch
    at gmain.c line 4142
  • #12 g_main_dispatch
    at gmain.c line 2064
  • #13 IA__g_main_context_dispatch
    at gmain.c line 2616
  • #14 g_main_context_iterate
    at gmain.c line 2697
  • #15 IA__g_main_loop_run
    at gmain.c line 2905
  • #16 IA__gtk_main
    at gtkmain.c line 1163
  • #17 main
    at nautilus-main.c line 569

Comment 4 John Millikin 2008-01-28 00:42:28 UTC
Created attachment 103847 [details] [review]
Check thumb_mtime_str exists before parsing

Only try to parse thumb_mtime_str if it's not NULL.
Comment 5 Alexander Larsson 2008-01-28 10:58:15 UTC
Good catch!

2008-01-28  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-directory-async.c:
        (thumbnail_done):
	Don't reference thumb_mtime_str if its not
	set, fixing a crash on zoom in. (#511406)
	Patch from John Millikin
Comment 6 Cosimo Cecchi 2008-01-29 00:25:24 UTC
*** Bug 512671 has been marked as a duplicate of this bug. ***
Comment 7 Gianluca Borello 2008-01-29 08:54:25 UTC
*** Bug 512699 has been marked as a duplicate of this bug. ***
Comment 8 Gianluca Borello 2008-01-29 08:54:34 UTC
*** Bug 512698 has been marked as a duplicate of this bug. ***
Comment 9 Gianluca Borello 2008-01-29 08:54:47 UTC
*** Bug 512696 has been marked as a duplicate of this bug. ***