Okay, I get the same problem from evince trying to view output from the
pcal program.

I've attached the pcal calendar input file. I generate the .ps file via:

pcal -f dates.cal -o 2009.ps -P a4 -F 1 -n /12 2009

Run "evince 2009.ps" and get the following output:

evince: /build/buildd/cairo-1.8.0/src/cairo-xlib-surface.c:934:
_draw_image_surface: Assertion `ret != 0' failed.

Run gdb on the evince binary and do a backtrace:

#0  0xb7ffe430 in __kernel_vsyscall ()
#1  0xb7313880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7315248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb730c72e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7806bb6 in _draw_image_surface (surface=0x86c64b0, image=0x0, src_x=0, 
    src_y=0, width=1035, height=731, dst_x=0, dst_y=0)
    at /build/buildd/cairo-1.8.0/src/cairo-xlib-surface.c:966
#5  0xb780a83a in _cairo_xlib_surface_clone_similar (
    abstract_surface=0x86c0d00, src=0xb621ae00, src_x=0, src_y=0, width=1035, 
    height=731, clone_out=0xbfbfd538)
    at /build/buildd/cairo-1.8.0/src/cairo-xlib-surface.c:1171
#6  0xb77ef7f3 in _cairo_surface_clone_similar (surface=0x86c0d00, 
    src=0xb621ae00, src_x=0, src_y=0, width=1035, height=731, 
    clone_out=0xbfbfd538) at /build/buildd/cairo-1.8.0/src/cairo-surface.c:1144
#7  0xb77e5939 in _cairo_pattern_acquire_surface (pattern=0xbfbfd33c, 
    dst=0x86c0d00, x=8, y=6, width=1035, height=731, surface_out=0xbfbfd538, 
    attributes=0xbfbfd4e4)
    at /build/buildd/cairo-1.8.0/src/cairo-pattern.c:1831
#8  0xb77e6fac in _cairo_pattern_acquire_surfaces (src=0x86c5dd0, mask=0x0, 
    dst=0x86c0d00, src_x=8, src_y=6, mask_x=8, mask_y=6, width=1035, 
    height=731, src_out=0xbfbfd538, mask_out=0xbfbfd534, 
    src_attributes=0xbfbfd4e4, mask_attributes=0xbfbfd49c)
    at /build/buildd/cairo-1.8.0/src/cairo-pattern.c:2019
#9  0xb780a327 in _cairo_xlib_surface_composite (op=CAIRO_OPERATOR_OVER, 
    src_pattern=0x86c5dd0, mask_pattern=0x0, abstract_dst=0x86c0d00, src_x=8, 
    src_y=6, mask_x=8, mask_y=6, dst_x=8, dst_y=6, width=1035, height=731)
    at /build/buildd/cairo-1.8.0/src/cairo-xlib-surface.c:1662
#10 0xb77ef549 in _cairo_surface_composite (op=CAIRO_OPERATOR_OVER, 
    src=0x86c5dd0, mask=0x0, dst=0x86c0d00, src_x=8, src_y=6, mask_x=8, 
    mask_y=6, dst_x=8, dst_y=6, width=1035, height=731)
    at /build/buildd/cairo-1.8.0/src/cairo-surface.c:1275
#11 0xb77f1b0f in _clip_and_composite_trapezoids (src=0x86c5dd0, 
    op=CAIRO_OPERATOR_OVER, dst=0x86c0d00, traps=0xbfbfd794, clip=0x0, 
    antialias=CAIRO_ANTIALIAS_NONE)
    at /build/buildd/cairo-1.8.0/src/cairo-surface-fallback.c:449
#12 0xb77f213a in _cairo_surface_fallback_paint (surface=0x86c0d00, 
    op=CAIRO_OPERATOR_OVER, source=0x86c5dd0)
    at /build/buildd/cairo-1.8.0/src/cairo-surface-fallback.c:704
#13 0xb77eeca6 in _cairo_surface_paint (surface=0x86c0d00, 
    op=CAIRO_OPERATOR_OVER, source=0xbfbfd884)
    at /build/buildd/cairo-1.8.0/src/cairo-surface.c:1480
#14 0xb77d656e in _cairo_gstate_paint (gstate=0x86c0e98)
    at /build/buildd/cairo-1.8.0/src/cairo-gstate.c:857
#15 0xb77d0893 in *INT_cairo_paint (cr=0x86c6120)
    at /build/buildd/cairo-1.8.0/src/cairo.c:1936
#16 0x0807b150 in ?? ()
#17 0xb7d00036 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8333718, 
    return_value=0xbfbfdc40, n_param_values=2, param_values=0xb6212118, 
    invocation_hint=0xbfbfdc2c, marshal_data=0x86c6120)
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmarshalers.c:84
#18 0xb75253c9 in g_type_class_meta_marshal (closure=0x8333718, 
    return_value=0xbfbfdc40, n_param_values=2, param_values=0xb6212118, 
    invocation_hint=0xbfbfdc2c, marshal_data=0xc8)
    at /build/buildd/glib2.0-2.18.2/gobject/gclosure.c:878
#19 0xb7526c4b in IA__g_closure_invoke (closure=0x8333718, 
    return_value=0xbfbfdc40, n_param_values=2, param_values=0xb6212118, 
    invocation_hint=0xbfbfdc2c)
    at /build/buildd/glib2.0-2.18.2/gobject/gclosure.c:767
#20 0xb753cd3d in signal_emit_unlocked_R (node=0x83323a8, detail=0, 
    instance=0x85e6020, emission_return=0xbfbfdd78, 
    instance_and_params=0xb6212118)
    at /build/buildd/glib2.0-2.18.2/gobject/gsignal.c:3282
#21 0xb753e62b in IA__g_signal_emit_valist (instance=0x85e6020, signal_id=51, 
    detail=0, var_args=0xbfbfddd0 "�ݿ�\204޿� `^\bv��� `^\bP�2\b")
    at /build/buildd/glib2.0-2.18.2/gobject/gsignal.c:2987
#22 0xb753ec26 in IA__g_signal_emit (instance=0x85e6020, signal_id=51, 
    detail=0) at /build/buildd/glib2.0-2.18.2/gobject/gsignal.c:3034
#23 0xb7e1533e in gtk_widget_event_internal (widget=0x85e6020, 
    event=0xbfbfde84) at /build/buildd/gtk+2.0-2.14.4/gtk/gtkwidget.c:4745
#24 0xb7cfa13d in IA__gtk_main_do_event (event=0xbfbfde84)
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1553
#25 0xb79379b5 in gdk_window_process_updates_internal (window=0x867f418)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkwindow.c:2598
#26 0xb7937fcf in IA__gdk_window_process_all_updates ()
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdkwindow.c:2664
#27 0xb7c76ecf in gtk_container_idle_sizer (data=0x0)
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkcontainer.c:1309
#28 0xb791b46b in gdk_threads_dispatch (data=0x86b0dc0)
    at /build/buildd/gtk+2.0-2.14.4/gdk/gdk.c:473
#29 0xb74977c1 in g_idle_dispatch (source=0x86b2800, callback=0, 
    user_data=0x86b0dc0) at /build/buildd/glib2.0-2.18.2/glib/gmain.c:4235
#30 0xb74996f8 in IA__g_main_context_dispatch (context=0x830eb40)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2144
#31 0xb749cda3 in g_main_context_iterate (context=0x830eb40, block=1, 
    dispatch=1, self=0x82e73e8)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2778
#32 0xb749d2c2 in IA__g_main_loop_run (loop=0x82f15b0)
    at /build/buildd/glib2.0-2.18.2/glib/gmain.c:2986
#33 0xb7cfa3a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.14.4/gtk/gtkmain.c:1200
#34 0x080917fb in ?? ()
#35 0xb72fe685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#36 0x0805e071 in ?? ()


** Attachment added: "2009.ps"
   http://launchpadlibrarian.net/20621312/2009.ps

-- 
evince crashes on .ps file
https://bugs.launchpad.net/bugs/296701
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to