[Bug 828074] New: cairo: eog started to abort with _cairo_mempool_init assertion
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c0 Summary: cairo: eog started to abort with _cairo_mempool_init assertion Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Critical Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: sbrabec@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- After one of the latest online update, eog started to crash on some images: sb@utx:/home/jana/Obrázky/2013/07/03> LANG=C eog p1050349.jpg eog: cairo-mempool.c:289: _cairo_mempool_init: Assertion `(((unsigned long) base) & ((1 << min_bits) - 1)) == 0' failed. Aborted This problem started to appear now, but it seems that downgrade of all libraries that are listed by "ldd /usr/bin/eog" to 12.3 versions and changed in last two weeks does not help. But it maybe affects frequency of crashes. With the latest update of 12.3 and images from Panasonic DMC-FS30, it crashes in about 70% of attempts (it crashes only sometime even on the same image). Backtrace: Program received signal SIGABRT, Aborted. 0x00007ffff3e6b3d5 in raise () from /lib64/libc.so.6 Thread 5 (Thread 0x7fffe9af1700 (LWP 12751)): #0 0x00007ffff41eed11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff469cde5 in g_cond_wait_until (cond=cond@entry=0x80ecc8, mutex=mutex@entry=0x80ecc0, end_time=end_time@entry=32470061396) at gthread-posix.c:857 #2 0x00007ffff4636411 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x80ecc0, wait=wait@entry=1, end_time=end_time@entry=32470061396) at gasyncqueue.c:424 #3 0x00007ffff4636a5a in g_async_queue_timeout_pop (queue=0x80ecc0, timeout=timeout@entry=15000000) at gasyncqueue.c:545 #4 0x00007ffff4683b22 in g_thread_pool_wait_for_new_pool () at gthreadpool.c:169 #5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:366 #6 0x00007ffff4683345 in g_thread_proxy (data=0x8088a0) at gthread.c:797 #7 0x00007ffff41eae0f in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff3f1e7dd in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fffea7fe700 (LWP 12750)): #0 0x00007ffff3f1587d in poll () from /lib64/libc.so.6 #1 0x00007ffff465faa4 in g_main_context_poll (n_fds=1, fds=0x7fffe00010c0, timeout=-1, context=0x7f0460, priority=<optimized out>) at gmain.c:3584 #2 g_main_context_iterate (context=context@entry=0x7f0460, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285 #3 0x00007ffff465fbc4 in g_main_context_iteration (context=0x7f0460, may_block=1) at gmain.c:3351 #4 0x00007fffec2a791d in ?? () from /usr/lib64/gio/modules/libdconfsettings.so #5 0x00007ffff4683345 in g_thread_proxy (data=0x7ee8a0) at gthread.c:797 #6 0x00007ffff41eae0f in start_thread () from /lib64/libpthread.so.0 #7 0x00007ffff3f1e7dd in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fffeafff700 (LWP 12749)): #0 0x00007ffff41ee964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff469ccef in g_cond_wait (cond=cond@entry=0x67d7f0 <render_cond>, mutex=mutex@entry=0x67d7e0 <eog_queue_mutex>) at gthread-posix.c:748 #2 0x00000000004282a4 in eog_render_thread (data=<optimized out>) at eog-job-queue.c:137 #3 0x00007ffff4683345 in g_thread_proxy (data=0x7e3a80) at gthread.c:797 #4 0x00007ffff41eae0f in start_thread () from /lib64/libpthread.so.0 #5 0x00007ffff3f1e7dd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffeba05700 (LWP 12748)): #0 0x00007ffff3f1587d in poll () from /lib64/libc.so.6 #1 0x00007ffff465faa4 in g_main_context_poll (n_fds=3, fds=0x7fffe40010c0, timeout=-1, context=0x6f9120, priority=<optimized out>) at gmain.c:3584 #2 g_main_context_iterate (context=0x6f9120, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285 #3 0x00007ffff465ff02 in g_main_loop_run (loop=0x6f90b0) at gmain.c:3484 #4 0x00007ffff5f72ba6 in ?? () from /usr/lib64/libgio-2.0.so.0 #5 0x00007ffff4683345 in g_thread_proxy (data=0x6f38f0) at gthread.c:797 #6 0x00007ffff41eae0f in start_thread () from /lib64/libpthread.so.0 #7 0x00007ffff3f1e7dd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7fbd940 (LWP 12744)): #0 0x00007ffff3e6b3d5 in raise () from /lib64/libc.so.6 #1 0x00007ffff3e6c858 in abort () from /lib64/libc.so.6 #2 0x00007ffff3e642e2 in __assert_fail_base () from /lib64/libc.so.6 #3 0x00007ffff3e64392 in __assert_fail () from /lib64/libc.so.6 #4 0x00007ffff59bf5b6 in _cairo_mempool_init (pool=pool@entry=0xc12170, base=<optimized out>, bytes=bytes@entry=536870912, min_bits=min_bits@entry=13, num_sizes=num_sizes@entry=14) at cairo-mempool.c:289 #5 0x00007ffff5a18fa7 in _cairo_xlib_shm_pool_create (ptr=<synthetic pointer>, size=55987200, display=<optimized out>) at cairo-xlib-surface-shm.c:557 #6 _cairo_xlib_shm_info_create (will_sync=0, size=55987200, display=0xc11200) at cairo-xlib-surface-shm.c:595 #7 _cairo_xlib_shm_surface_create (format=PIXMAN_a8r8g8b8, width=4320, height=3240, will_sync=0, create_pixmap=create_pixmap@entry=1, other=0xc7a8e0, other=0xc7a8e0) at cairo-xlib-surface-shm.c:764 #8 0x00007ffff5a192ea in _cairo_xlib_surface_get_shm (surface=surface@entry=0xc7a8e0, overwrite=overwrite@entry=1) at cairo-xlib-surface-shm.c:952 #9 0x00007ffff5a0fda7 in draw_image_boxes (_dst=0xc7a8e0, image=0xc07e10, boxes=0x7fffffffcf20, dx=0, dy=0) at cairo-xlib-render-compositor.c:248 #10 0x00007ffff59fa2db in upload_boxes (boxes=0x7fffffffcf20, extents=0x7fffffffd190, compositor=<optimized out>) at cairo-traps-compositor.c:1331 #11 clip_and_composite_boxes (compositor=compositor@entry=0x7ffff5c813a0 <compositor.16115>, extents=extents@entry=0x7fffffffd190, boxes=boxes@entry=0x7fffffffcf20) at cairo-traps-compositor.c:1725 #12 0x00007ffff59fadbb in _cairo_traps_compositor_paint (_compositor=0x7ffff5c813a0 <compositor.16115>, extents=0x7fffffffd190) at cairo-traps-compositor.c:2036 #13 0x00007ffff59a8371 in _cairo_compositor_paint (compositor=0x7ffff5c813a0 <compositor.16115>, surface=0xc7a8e0, op=<optimized out>, source=<optimized out>, clip=<optimized out>) at cairo-compositor.c:65 #14 0x00007ffff59e86a1 in _cairo_surface_paint (clip=0x0, source=0x7fffffffd4c0, op=CAIRO_OPERATOR_OVER, surface=0xc7a8e0) at cairo-surface.c:2006 #15 _cairo_surface_paint (surface=0xc7a8e0, op=CAIRO_OPERATOR_OVER, source=0x7fffffffd4c0, clip=0x0) at cairo-surface.c:1981 #16 0x00007ffff59afb9c in _cairo_gstate_paint (gstate=0x7289d0) at cairo-gstate.c:1067 #17 0x00007ffff59a2f07 in INT_cairo_paint (cr=0x7289a0) at cairo.c:1999 #18 0x000000000044d40a in create_surface_from_pixbuf (pixbuf=0xb19f20, view=0xb19f20 [GdkPixbuf]) at eog-scroll-view.c:204 #19 update_pixbuf (view=view@entry=0xae8050 [EogScrollView], pixbuf=<optimized out>) at eog-scroll-view.c:2026 #20 0x00000000004503ab in eog_scroll_view_set_image (view=0xae8050 [EogScrollView], image=image@entry=0x6ea680 [EogImage]) at eog-scroll-view.c:2338 #21 0x0000000000438a50 in eog_window_display_image (window=window@entry=0x8de010 [EogWindow], image=0x6ea680 [EogImage]) at eog-window.c:899 #22 0x0000000000439603 in eog_job_load_cb (job=0x6fea00 [EogJobLoad], data=<optimized out>) at eog-window.c:1348 #23 0x00007ffff491ecf7 in _g_closure_invoke_va (closure=0xb7ddc0, return_value=0x0, instance=0x6fea00, args=0x7fffffffda68, n_params=0, param_types=0x0) at gclosure.c:840 #24 0x00007ffff4937416 in g_signal_emit_valist (instance=0x6fea00, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffda68) at gsignal.c:3211 #25 0x00007ffff4937f82 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3356 #26 0x000000000042a0eb in eog_job_finished (job=<optimized out>) at eog-jobs.c:136 #27 0x000000000042835c in notify_finished (job=0x6fea00 [EogJobLoad]) at eog-job-queue.c:66 #28 0x00007ffff465f7d5 in g_main_dispatch (context=0x6b4800) at gmain.c:2715 #29 g_main_context_dispatch (context=context@entry=0x6b4800) at gmain.c:3219 #30 0x00007ffff465fb08 in g_main_context_iterate (context=context@entry=0x6b4800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290 #31 0x00007ffff465fbc4 in g_main_context_iteration (context=0x6b4800, may_block=1) at gmain.c:3351 #32 0x00007ffff5f40e5c in g_application_run () from /usr/lib64/libgio-2.0.so.0 #33 0x0000000000420a70 in main (argc=2, argv=0x7fffffffddb8) at main.c:187 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c1 --- Comment #1 from Stanislav Brabec <sbrabec@suse.com> 2013-07-04 18:19:47 CEST --- The same problem was experienced in Fedora 18: https://bugzilla.redhat.com/show_bug.cgi?id=893071 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c2 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |bnc-team-gnome@forge.provo. | |novell.com AssignedTo|bnc-team-gnome@forge.provo. |sbrabec@suse.com |novell.com | --- Comment #2 from Stanislav Brabec <sbrabec@suse.com> 2013-07-04 22:45:39 CEST --- I just found a fix in upstream git: a0fb1391315033de54368715a8855aedea258e67 https://build.opensuse.org/package/view_file/home:sbrabec:branches:openSUSE:12.3:Update/cairo.openSUSE_12.3_Update?expand=1&file=cairo-reduce-assertion.patch 10 of 10 attempts of previously crashing image in eog now succeeded. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c3 --- Comment #3 from Stanislav Brabec <sbrabec@suse.com> 2013-07-05 20:02:03 CEST --- The image now opens correctly, but pressing space (next image) causes another similar crash: eog: cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << bits) <= pool->num_blocks' failed. Neúspěšně ukončen (SIGABRT) This time, the crash is reproducible with cs_CZ.UTF-8 locale, but not C locale. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c4 --- Comment #4 from Stanislav Brabec <sbrabec@suse.com> 2013-07-06 01:12:47 CEST --- Now Fedora developers were faster: https://bugzilla.redhat.com/show_bug.cgi?id=893071#c16 Confirming that it is a correct fix. Both hover over Next button and pressing Space now works and no more crash was experienced. Submitting another update for 12.3. 12.2 is not affected (assert code is new) and Factory will either get new fixed version or will need a fix for the second issue, which was fixed upstream after cairo-1.12.14. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c5 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Stanislav Brabec <sbrabec@suse.com> 2013-07-08 19:54:23 CEST --- Update for 12.3 is running: https://build.opensuse.org/package/show/openSUSE:Maintenance:1847/cairo.open... There is no new release of cairo yet, so submitting the second fix to GNOME:Factory as well (OBS request id 182537). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828074 https://bugzilla.novell.com/show_bug.cgi?id=828074#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-09 00:00:08 CEST --- This is an autogenerated message for OBS integration: This bug (828074) was mentioned in https://build.opensuse.org/request/show/182565 Factory / cairo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com