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 695228 - GdkPixbuf:ERROR:gdk-pixbuf-animation.c:242:gdk_pixbuf_animation_new_from_file: assertion failed: (animation)
GdkPixbuf:ERROR:gdk-pixbuf-animation.c:242:gdk_pixbuf_animation_new_from_file...
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-05 16:22 UTC by sangu
Modified: 2013-03-13 01:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sangu 2013-03-05 16:22:38 UTC
$ gdb emacs
**
GdkPixbuf:ERROR:gdk-pixbuf-animation.c:242:gdk_pixbuf_animation_new_from_file: assertion failed: (animation)

Program received signal SIGABRT, Aborted.
0x00007ffff10f8829 in raise () from /lib64/libc.so.6

(gdb) bt
  • #0 raise
    from /lib64/libc.so.6
  • #1 abort
    from /lib64/libc.so.6
  • #2 g_assertion_message
    at gtestutils.c line 1912
  • #3 g_assertion_message_expr
    at gtestutils.c line 1923
  • #4 gdk_pixbuf_animation_new_from_file
    at gdk-pixbuf-animation.c line 242
  • #5 gtk_image_set_from_file
    at gtkimage.c line 777
  • #6 gtk_image_new_from_file
  • #7 xg_get_image_for_pixmap
    at /usr/src/debug/emacs-24.3.50/src/gtkutil.c line 411
  • #8 update_frame_tool_bar
    at /usr/src/debug/emacs-24.3.50/src/gtkutil.c line 4891
  • #9 redisplay_window
    at /usr/src/debug/emacs-24.3.50/src/xdisp.c line 11833
  • #10 redisplay_window_0
    at /usr/src/debug/emacs-24.3.50/src/xdisp.c line 13688
  • #11 internal_condition_case_1
    at /usr/src/debug/emacs-24.3.50/src/eval.c line 1231
  • #12 redisplay_windows
    at /usr/src/debug/emacs-24.3.50/src/xdisp.c line 13668
  • #13 redisplay_internal
    at /usr/src/debug/emacs-24.3.50/src/xdisp.c line 13274
  • #14 redisplay
    at /usr/src/debug/emacs-24.3.50/src/xdisp.c line 12555
  • #15 read_char
  • #16 read_key_sequence
    at /usr/src/debug/emacs-24.3.50/src/keyboard.c line 9065
  • #17 command_loop_1
    at /usr/src/debug/emacs-24.3.50/src/keyboard.c line 1458
  • #18 internal_condition_case
    at /usr/src/debug/emacs-24.3.50/src/eval.c line 1193
  • #19 command_loop_2
    at /usr/src/debug/emacs-24.3.50/src/keyboard.c line 1173
  • #20 internal_catch
    at /usr/src/debug/emacs-24.3.50/src/eval.c line 964
  • #21 command_loop
    at /usr/src/debug/emacs-24.3.50/src/keyboard.c line 1152
  • #22 recursive_edit_1
    at /usr/src/debug/emacs-24.3.50/src/keyboard.c line 785
  • #23 Frecursive_edit
  • #24 main
    at /usr/src/debug/emacs-24.3.50/src/emacs.c line 1530

1. launch emacs
2. ctrl + h and click i (info)
toolbar with xpm icon 

gdk-pixbuf2-2.27.2-1.fc19.x86_64
Comment 1 David Ronis 2013-03-11 17:05:50 UTC
I can confirm this.  Moreover, I'm running gnome in a garnome envrionment which can be broken out of; when I do (and hence, am running the system, here slackware 13.78, gdk_pixbuf) the problem doesn't happen.
Comment 2 David Ronis 2013-03-12 22:18:23 UTC
How has this been resolved?  Has something been committed that I can use as a patch?
Comment 3 Benjamin Otte (Company) 2013-03-12 22:27:03 UTC
https://git.gnome.org/browse/gdk-pixbuf/commit/?id=ff7e0f385b4c3f63b43b474a0a43e975c1881ebb is the commit fixing this.

Sorry, git bz by default doesn't say anything...
Comment 4 Benjamin Otte (Company) 2013-03-13 01:07:42 UTC
Applied the patch from bug 679291.
Comment 5 Benjamin Otte (Company) 2013-03-13 01:09:18 UTC
Ignore that last comment. I still suck with git-bz. :)

I added a test to GTK for this: See https://git.gnome.org/browse/gtk+/commit/?id=b7aa15f505ebc9bfd13060db73717deee254d959