All pastes #2106417 Raw Edit

Untitled

public text v1 · immutable
#2106417 ·published 2012-01-26 13:06 UTC
rendered paste body
total weight 0 = 263
make_weights src_w=601 x=0 dst_w=1 patch_l=0 patch_r=1 F=0.00166389 window=601
0: centre=300 l=-301 r=901
total weight 0 = 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4cae0490 (LWP 2372)]
0x0f5077e4 in reorder_weights (weights=0x11c76268, j=0, src_w=601) at draw/draw_scale.c:423
423             int min = weights->index[idx++];
(gdb) info locals
idx = 1131911086
min = 0
len = 0
max = 0
tmp = 1
i = 1127219200
off = -2147483648
__PRETTY_FUNCTION__ = "reorder_weights"
(gdb) info args
weights = 0x11c76268
j = 0
src_w = 601
(gdb) p *weights
$1 = {
  flip = 0, 
  count = 0, 
  max_len = 601, 
  n = 4, 
  new_line = 1, 
  patch_l = 256, 
  index = {1}
}
(gdb) bt
#0  0x0f5077e4 in reorder_weights (weights=0x11c76268, j=0, src_w=601) at draw/draw_scale.c:423
#1  0x0f508128 in make_weights (ctx=0x1008cf78, src_w=601, x=0, dst_w=1, filter=0xf64529c, vertical=1, dst_w_int=1, patch_l=0, patch_r=1, n=4, flip=0) at draw/draw_scale.c:539
#2  0x0f50a5f8 in fz_scale_pixmap (ctx=0x1008cf78, src=0x1106ea80, x=0, y=0, w=1, h=1, clip=0x4cadf7f8) at draw/draw_scale.c:1344
#3  0x0f4f42a4 in fz_transform_pixmap (ctx=0x1008cf78, image=0x1106ea80, ctm=0x4cadf8d0, x=0, y=0, dx=0, dy=0, gridfit=1, clip=0x4cadf7f8) at draw/draw_device.c:835
#4  0x0f4f4b68 in fz_draw_fill_image (devp=0x11faffe8, image=0x1106ea80, ctm=..., alpha=1) at draw/draw_device.c:930
#5  0x0f4d11c4 in fz_fill_image (dev=0x11faffe8, image=0x10864c48, ctm=value has been optimized out
) at fitz/dev_null.c:110
#6  0x0f4d0300 in fz_execute_display_list (list=0x11a1b2b0, dev=0x11faffe8, top_ctm=..., scissor=..., cookie=0x0) at fitz/dev_list.c:712
#7  0x0f05add4 in rendertile (unused=<value optimized out>) at /home/malc/xsrc/llpp/link.c:695
#8  mainloop (unused=<value optimized out>) at /home/malc/xsrc/llpp/link.c:1322
#9  0x0fe7b28c in start_thread () from /lib/libpthread.so.0
#10 0x0fdd9d28 in clone () from /lib/libc.so.6