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 357456 - Crash in spinner
Crash in spinner
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.16.x
Other All
: High critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 358008 358015 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-24 13:55 UTC by Sukarn Maini
Modified: 2006-10-01 13:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch (790 bytes, patch)
2006-09-29 09:14 UTC, Paolo Borelli
reviewed Details | Review
Epiphany Web Bookmarks crash report (28.37 KB, text/plain)
2006-09-30 08:07 UTC, Sukarn Maini
  Details

Description Sukarn Maini 2006-09-24 13:55:10 UTC
Version: 2.16.0

What were you doing when the application crashed?
I just typed sudo gedit /usr/share/icons/hicolor/index.theme in terminal


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.0 2006-09-04 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 77549568 vsize: 0 resident: 77549568 share: 0 rss: 20234240 rss_rlim: 0
CPU usage: start_time: 1159106081 rtime: 0 utime: 121 stime: 0 cutime:105 cstime: 0 timeout: 16 it_real_value: 0 frequency: 0

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1227278144 (LWP 14896)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1227278144 (LWP 14896))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 gdk_pixbuf_get_width
    from /usr/lib/libgdk_pixbuf-2.0.so.0
  • #5 gedit_spinner_stop
  • #6 gedit_spinner_stop
  • #7 gedit_spinner_new
  • #8 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #14 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gtk_hbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #24 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 gtk_event_box_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #34 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 gtk_hbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #44 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 gtk_notebook_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #48 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #52 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #53 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #54 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #56 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #57 gtk_vpaned_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #58 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #60 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #61 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #62 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #64 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #65 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #66 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #67 gtk_hpaned_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #68 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #69 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #70 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #71 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #72 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #73 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #74 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #75 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #76 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #77 gtk_vbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #78 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #79 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #80 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #81 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #82 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #83 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #84 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #85 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #86 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #87 gtk_window_get_group
    from /usr/lib/libgtk-x11-2.0.so.0
  • #88 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #89 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #90 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #91 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #92 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #93 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #94 _gtk_size_group_get_child_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #95 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #96 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #97 gtk_window_get_group
    from /usr/lib/libgtk-x11-2.0.so.0
  • #98 gtk_window_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #99 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #100 g_value_set_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #101 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #102 g_signal_chain_from_overridden
    from /usr/lib/libgobject-2.0.so.0
  • #103 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #104 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #105 gtk_widget_show
    from /usr/lib/libgtk-x11-2.0.so.0
  • #106 main
  • #0 __kernel_vsyscall

Comment 1 Sukarn Maini 2006-09-24 17:27:21 UTC
I dont know what the error was, but gedit has not been working with sudo command since this happened. Its working as a normal user, but not with sudo or gksudo.
Comment 2 Elijah Newren 2006-09-27 18:59:34 UTC
*** Bug 358008 has been marked as a duplicate of this bug. ***
Comment 3 Karsten Bräckelmann 2006-09-27 21:02:42 UTC
*** Bug 358015 has been marked as a duplicate of this bug. ***
Comment 4 Sukarn Maini 2006-09-28 16:34:53 UTC
Just wanted to tell you all that gedit has not been opening/closing correctly as well. I dont know whether its a related bug or a different one.

Running gedit from gnome-terminal, I get -
[code]$ gedit Desktop/Results 

** (gedit:17720): WARNING **: Could not load spinner rest icon.
sys:1: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
sys:1: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
[/code]
and then bug-buddy starts up.

Starting gedit without any file opens gedit. Closing an empty un-edited file also works, but closing a non-empty file (either opened from within gedit or made by writing in the default "Unsaved Document 1") whether the file has been saved or not, hangs gedit and I am forced to kill the process.
Comment 5 Paolo Borelli 2006-09-29 08:56:38 UTC
Which icon theme are you using?
Comment 6 Paolo Borelli 2006-09-29 09:14:19 UTC
Created attachment 73618 [details] [review]
patch

This patch should make things more robust when freeing the list with a broken theme which does not provide all the frames. It also plugs a leak.
Comment 7 Paolo Borelli 2006-09-29 09:17:34 UTC
CC'ing chpe since we share this code with epiphany.

Christian: did you had this kind of issue in epi? Does the patch looks good to you?
Comment 8 Christian Persch 2006-09-29 21:37:26 UTC
I think that patch isn't really correct, the problem is that it can get into this state at all.

I (think I) fixed this in epiphany's copy of ephy-spinner now, along with the fix for the new g-i-t.
Comment 9 Sukarn Maini 2006-09-30 08:07:27 UTC
Created attachment 73691 [details]
Epiphany Web Bookmarks crash report

I am using the Human icon theme from Ubuntu Edgy (I think its the same as it is in Ubuntu Dapper).

You did mean the icon theme that contains the icons of directories and all that, right?

I do not use epiphany much, but I started it up just now to check whether it was causing any problems or not. It opened fine with the default welcome page of Edgy, clicking the x icon closed the window (unlike in gedit where it used to hang the process with the option of Kill process or Cancel), but bug-buddy started up as soon as epiphany closed telling me that Epiphany Web Bookmarks had crashed.
I am attaching the crash report with this message.
Comment 10 Christian Persch 2006-09-30 10:35:45 UTC
The epiphany problem should be fixed in version 2.16.1 (to be released), if not, please file a separate bug.
Gedit should sync its copy of ephy-spinner from epiphany gnome-2-16 branch.
Comment 11 Sukarn Maini 2006-10-01 09:33:14 UTC
This seems to have been fixed after applying the latest update.
Thanks for fixing it so fast developers!!
Comment 12 Sukarn Maini 2006-10-01 09:36:21 UTC
This seems to have been fixed after applying the latest update.
Thanks for fixing it so fast developers!!
Comment 13 Paolo Borelli 2006-10-01 09:38:53 UTC
we still need to get this fixed in gedit. reopening.
Comment 14 Sukarn Maini 2006-10-01 10:20:26 UTC
So some people still have this bug in gedit? Its not crashing anymore for me.
Comment 15 Paolo Borelli 2006-10-01 11:24:13 UTC
sukarnmaini: we didn't change anything it in gedit yet, I am working on backporting chpe patch to gedit


chpe: it looks like your patch has many warnings:

ephy-spinner.c: In function 'ephy_spinner_images_load':
ephy-spinner.c:244: warning: unused variable 'w'
ephy-spinner.c:244: warning: unused variable 'h'
ephy-spinner.c: In function 'ephy_spinner_cache_get_images':
ephy-spinner.c:424: warning: unused variable 'w'
ephy-spinner.c:424: warning: unused variable 'h'
ephy-spinner.c:423: warning: unused variable 'l'
ephy-spinner.c:423: warning: unused variable 'element'
ephy-spinner.c:422: warning: unused variable 'scaled_pixbuf'
ephy-spinner.c:422: warning: unused variable 'pixbuf'
ephy-spinner.c:421: warning: unused variable 'settings'
ephy-spinner.c: In function 'bump_spinner_frame_cb':
ephy-spinner.c:723: warning: unused variable 'frame'


also I saw you committed a patch both to HEAD and 2.16, while a later patch just to HEAD... do you think I should do the same? or apply both patches? (we haven't branched yet)
Comment 16 Paolo Borelli 2006-10-01 13:23:33 UTC
Ok, chpe fixed the warnings and backported all the changes to 2.16.

I synced the gedit code. closing as FIXED.