Glom 1.8.2. freeze when uncheck show grid layout

Bug #303453 reported by Maximiliano
2
Affects Status Importance Assigned to Milestone
glom (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: glom

Glom 1.8.2
Ubuntu 8.10

1) Check "show grid" in print layout menu
2) When uncheck "show grid", Glom freeze.

Related branches

Revision history for this message
Murray Cumming (murrayc) wrote :
Download full text (6.9 KiB)

Confirmed on svn trunk. It seems to be some kind of infinite loop. I get this backtrace when I break:

(gdb) bt
#0 0xb8013430 in __kernel_vsyscall ()
#1 0xb6394c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6266e5f in ?? () from /usr/lib/libxcb.so.1
#3 0xb626756e in ?? () from /usr/lib/libxcb.so.1
#4 0xb6267afb in xcb_send_request () from /usr/lib/libxcb.so.1
#5 0xb6933166 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#6 0xb6933530 in ?? () from /usr/lib/libX11.so.6
#7 0xb69e658c in XRenderCompositeTrapezoids (dpy=0x8f29e00, op=12, src=79714139, dst=79728197, maskFormat=0x8f6af28, xSrc=0, ySrc=0,
    traps=0xbfd1075c, ntrap=0) at ../../src/Trap.c:71
#8 0xb6b5bc22 in _cairo_xlib_surface_composite_trapezoids (op=CAIRO_OPERATOR_ADD, pattern=0xbfd11074, abstract_dst=0x9662138,
    antialias=CAIRO_ANTIALIAS_GRAY, src_x=0, src_y=0, dst_x=0, dst_y=0, width=2, height=337, traps=0xbfd113d8, num_traps=1)
    at cairo-xlib-surface.c:2232
#9 0xb6b3b8f4 in _cairo_surface_composite_trapezoids (op=CAIRO_OPERATOR_ADD, pattern=0xbfd11074, dst=0x9662138,
    antialias=CAIRO_ANTIALIAS_GRAY, src_x=0, src_y=0, dst_x=0, dst_y=0, width=2, height=337, traps=0xbfd113d8, num_traps=1)
    at cairo-surface.c:1724
#10 0xb6b3da43 in _composite_traps_draw_func (closure=0xbfd11354, op=CAIRO_OPERATOR_ADD, src=0xbfd11074, dst=0x9662138, dst_x=0, dst_y=0,
    extents=0xbfd11344) at cairo-surface-fallback.c:501
#11 0xb6b3cf78 in _create_composite_mask_pattern (mask_pattern=0xbfd11190, clip=0x9661084, draw_func=0xb6b3d91f <_composite_traps_draw_func>,
    draw_closure=0xbfd11354, dst=0x9584b08, extents=0xbfd11344) at cairo-surface-fallback.c:130
#12 0xb6b3d02f in _clip_and_composite_with_mask (clip=0x9661084, op=CAIRO_OPERATOR_OVER, src=0x94b7090,
    draw_func=0xb6b3d91f <_composite_traps_draw_func>, draw_closure=0xbfd11354, dst=0x9584b08, extents=0xbfd11344)
    at cairo-surface-fallback.c:168
#13 0xb6b3d5bc in _clip_and_composite (clip=0x9661084, op=CAIRO_OPERATOR_OVER, src=0x94b7090,
    draw_func=0xb6b3d91f <_composite_traps_draw_func>, draw_closure=0xbfd11354, dst=0x9584b08, extents=0xbfd11344)
    at cairo-surface-fallback.c:383
#14 0xb6b3de53 in _clip_and_composite_trapezoids (src=0x94b7090, op=CAIRO_OPERATOR_OVER, dst=0x9584b08, traps=0xbfd113b8, clip=0x9661084,
    antialias=CAIRO_ANTIALIAS_GRAY) at cairo-surface-fallback.c:658
#15 0xb6b3e3a9 in _cairo_surface_fallback_stroke (surface=0x9584b08, op=CAIRO_OPERATOR_OVER, source=0x94b7090, path=0x96605d0,
    stroke_style=0x9661010, ctm=0xbfd114d0, ctm_inverse=0xbfd114a0, tolerance=0.10000000000000001, antialias=CAIRO_ANTIALIAS_GRAY)
    at cairo-surface-fallback.c:833
#16 0xb6b3b608 in _cairo_surface_stroke (surface=0x9584b08, op=CAIRO_OPERATOR_OVER, source=0xbfd1175c, path=0x96605d0,
    stroke_style=0x9661010, ctm=0x96610cc, ctm_inverse=0x96610fc, tolerance=0.10000000000000001, antialias=CAIRO_ANTIALIAS_GRAY)
    at cairo-surface.c:1641
#17 0xb6b1e030 in _cairo_gstate_stroke (gstate=0x9661000, path=0x96605d0) at cairo-gstate.c:928
#18 0xb6b17a7f in *INT_cairo_stroke_preserve (cr=0x9660448) at cairo.c:2115
#19 0xb6b17a47 in *INT_cairo_stroke (cr=0x9660448) at cairo.c:2088
#20 0xb7abeb35 in...

Read more...

Revision history for this message
Murray Cumming (murrayc) wrote :

And valgrind gives me nothing. I suspect this a goocanvas bug but we will have to break it down to a simple test case.

Changed in glom:
status: New → Confirmed
Revision history for this message
Murray Cumming (murrayc) wrote :

I filed a GooCanvas patch to fix this at least for Glom's svn trunk:
http://bugzilla.gnome.org/show_bug.cgi?id=563487

Revision history for this message
Murray Cumming (murrayc) wrote :

Fixed with this commit in the svn 1.8 branch:

2008-12-08 Murray Cumming <email address hidden>

 * glom/utility_widgets/canvas/canvas_group_grid.cc: create_lines():
 Do not create the grid lines with 0 steps, to avoid a hang.
 Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/303453
 (elmergato)

and this commit in the svn branch:

2008-12-08 Murray Cumming <email address hidden>

 * glom/utility_widgets/canvas/canvas_group_grid.cc: create_lines():
 Do not create a GooCanvasGrid with 0 steps, so Glom works with versions
 of GooCanvas without the bug fix.
 Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/303453
 (elmergato)

Changed in glom:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glom - 1.8.5-0ubuntu1

---------------
glom (1.8.5-0ubuntu1) jaunty; urgency=low

  * New upstream release (LP: #256701), fixes LP bugs:
    + Clear the text in property dialogs for text items (LP: #309147)
    + Don't crash when showing and then hiding the grid (LP: #303453)
    + Temporarily remember the sort order so it is the same when navigating
      away and back (LP: #303422)
    + Use the list's sort order for the top-level records in the report
      (LP: #303425)
    + Users/Groups: Disable drag-and-drop for the treeview, because it is
      useless and confusing (LP: #299573)
    + Import: Sort the fields list alphabetically (LP: #306593)
    + delete primary key make unusuable the database (LP: #299549)
    + Spanish translate incomplete (LP: #299556)
    + import date format error (LP: #299591)
    + can't delete data from table list view (LP: #299853)
    + Field definition: default value not saved (LP: #299896)
    + reports crashing (LP: #300054)
    + Year error with date fields (LP: #300057)
    + list view: 2 records added instead of 1 (LP: #300819)
  * debian/control: Refreshed dependencies for libglom-dev.
  * debian/control: Updated build-deps to match configure checks. goocavnasmm
    build-dep bumped to version without .la files.
  * debian/rules: Don't delete the directory containing the templates.
  * debian/control, debian/rules, debian/glom-doc.*: Split out
    arch-independent manual and examples into separate package glom-doc, which
    is now recommended by glom (glom will still work if they're not available)
  * debian/copyright: Rewritten to new machine-readable format.

 -- Iain Lane <email address hidden> Sun, 11 Jan 2009 17:12:01 +0000

Changed in glom:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.