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 84134 - Crash when clicking multiple times on the 'add pattern' window
Crash when clicking multiple times on the 'add pattern' window
Status: VERIFIED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Backgrounds Emblems and Themes
0.x.x [obsolete]
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-06-04 15:53 UTC by Anand
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Patch to fix it. (1.22 KB, patch)
2002-06-11 19:08 UTC, Damon Chaplin
none Details | Review

Description Anand 2002-06-04 15:53:48 UTC
I have the 30th May sources from CVS. Not really sure if this bug is there 
in latest snapshots.

Nautilus crashes, when i click the 'OK' button in the 'Add a new pattern' 
browse window.

Steps to reproduce:
1) Open Edit -> Backgrounds and Emblems. And then 'Add a new Pattern'
2) Select a pattern.
3) click multiple times on the OK button (say 6-8 times).
4) Nautilus crashes.

Stack trace:
[New Thread 1024 (LWP 4699)]
[New Thread 2049 (LWP 4702)]
[New Thread 1026 (LWP 4703)]
[New Thread 2051 (LWP 4704)]
[New Thread 3076 (LWP 4705)]
[New Thread 4101 (LWP 4706)]
[New Thread 5126 (LWP 4707)]
0x40d52519 in __wait4 () from /lib/i686/libc.so.6
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 592
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 gtk_widget_destroy
    at gtkwidget.c line 1580
  • #7 widget_destroy_callback
    at eel-gnome-extensions.c line 575
  • #8 g_idle_dispatch
    at gmain.c line 3129
  • #9 g_main_dispatch
    at gmain.c line 1617
  • #10 g_main_context_dispatch
    at gmain.c line 2161
  • #11 g_main_context_iterate
    at gmain.c line 2242
  • #12 g_main_loop_run
    at gmain.c line 2462
  • #13 gtk_main
    at gtkmain.c line 922
  • #14 main
    at nautilus-main.c line 263
  • #15 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 592
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 gtk_widget_destroy
    at gtkwidget.c line 1580
  • #7 widget_destroy_callback
    at eel-gnome-extensions.c line 575

Comment 1 Damon Chaplin 2002-06-07 21:48:58 UTC
I redid some of the code in this area so this may be my fault.
I can take this if you want, Federico.
Comment 2 Luis Villa 2002-06-09 00:23:26 UTC
Reassigning; federico, Damon knows this code, so... we'll find some
more for you this weekend, I'm sure :) 
Comment 3 Damon Chaplin 2002-06-11 19:08:52 UTC
Created attachment 9142 [details] [review]
Patch to fix it.
Comment 4 Alexander Larsson 2002-06-12 15:14:42 UTC
Looks fine, please commit.
Comment 5 Damon Chaplin 2002-06-12 18:29:05 UTC
patch applied.
Comment 6 Anand 2002-06-20 12:35:07 UTC
Verified on latest builds. Working fine. 

Closing Bug. Thanks.