GNOME Bugzilla – Bug 357456
Crash in spinner
Last modified: 2006-10-01 13:23:33 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 ()
+ Trace 73128
Thread 1 (Thread -1227278144 (LWP 14896))
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.
*** Bug 358008 has been marked as a duplicate of this bug. ***
*** Bug 358015 has been marked as a duplicate of this bug. ***
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.
Which icon theme are you using?
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.
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?
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.
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.
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.
This seems to have been fixed after applying the latest update. Thanks for fixing it so fast developers!!
we still need to get this fixed in gedit. reopening.
So some people still have this bug in gedit? Its not crashing anymore for me.
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)
Ok, chpe fixed the warnings and backported all the changes to 2.16. I synced the gedit code. closing as FIXED.