Re: [graphviz-interest] pseudo-random segfault when using raster image renderers
Sparr <[email protected]> Mon, 24 Feb 2014 17:23:26 -0500
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CANp3UNCO_wSsAtTp5zs8Q76J=4NU+2rzb6vfC5-vLxSWabNxqg@mail.gmail.com> |
On Mon, Feb 24, 2014 at 4:33 PM, Ron Savage <[email protected]> wrote: > Hi > > The (other) explanation for irregular faults is the code using an > uninitialized value. This means the value will vary from run to run, and > hence produce not-quite reproducible effects. > > On 25/02/14 07:15, George Georgalis wrote: >> >> Since you have irregular faults, try testing the hardware with a program >> such as memtest86+ failing memory or motherboard can have intermittent >> issues, heat can exacerbate too. Thanks for the suggestion, George. I've run memtest86 and also some hard drive thrashing tools and found no problems there. Here's some debugging output from lldb running dot and encountering the failure in question: Process 10671 stopped * thread #1: tid = 0x2fcdc4, 0x00007fff92d7af6a libsystem_c.dylib`flockfile + 18, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x68) frame #0: 0x00007fff92d7af6a libsystem_c.dylib`flockfile + 18 libsystem_c.dylib`flockfile + 18: -> 0x7fff92d7af6a: movq 104(%rbx), %rdi 0x7fff92d7af6e: cmpq %r14, 72(%rdi) 0x7fff92d7af72: je 0x7fff92d7af92 ; flockfile + 58 0x7fff92d7af74: addq $8, %rdi (lldb) bt * thread #1: tid = 0x2fcdc4, 0x00007fff92d7af6a libsystem_c.dylib`flockfile + 18, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x68) frame #0: 0x00007fff92d7af6a libsystem_c.dylib`flockfile + 18 frame #1: 0x00007fff92d7cca6 libsystem_c.dylib`fread + 31 frame #2: 0x0000000100111d7f libgvplugin_pango.6.dylib`reader(closure=0x0000000000000000, data=<unavailable>, length=<unavailable>) + 31 at gvloadimage_pango.c:44 frame #3: 0x000000010038ccd5 libcairo.2.dylib`stream_read_func + 43 frame #4: 0x0000000100771b90 libpng15.15.dylib`png_read_sig + 66 frame #5: 0x000000010076baf5 libpng15.15.dylib`png_read_info + 46 frame #6: 0x000000010038c8e0 libcairo.2.dylib`read_png + 186 frame #7: 0x000000010038cc5a libcairo.2.dylib`cairo_image_surface_create_from_png_stream + 25 frame #8: 0x0000000100111cb0 libgvplugin_pango.6.dylib`cairo_loadimage(job=<unavailable>, us=0x000000010485cf30) + 128 at gvloadimage_pango.c:78 frame #9: 0x0000000100111dce libgvplugin_pango.6.dylib`pango_loadimage_cairo(job=<unavailable>, us=0x000000010485cf30, b=boxf at 0x00007fff5fbff4a0, filled=<unavailable>) + 30 at gvloadimage_pango.c:99 frame #10: 0x000000010000ba39 libgvc.6.dylib`gvloadimage(job=<unavailable>, us=<unavailable>, b=boxf at 0x00007fff5fbff580, filled=<unavailable>, target=<unavailable>) + 249 at gvloadimage.c:62 frame #11: 0x000000010000a9a7 libgvc.6.dylib`gvrender_usershape(job=<unavailable>, name=<unavailable>, a=<unavailable>, n=<unavailable>, filled='\0', imagescale=<unavailable>) + 1079 at gvrender.c:777 frame #12: 0x000000010003caa9 libgvc.6.dylib`poly_gencode(job=0x000000010120e600, n=<unavailable>) + 2457 at shapes.c:2926 frame #13: 0x000000010004bf1e libgvc.6.dylib`emit_node(job=0x000000010120e600, n=0x00000001048471d0) + 2286 at emit.c:1908 frame #14: 0x000000010004a582 libgvc.6.dylib`emit_graph [inlined] emit_view(flags=13056, job=<unavailable>, g=<unavailable>) + 486 at emit.c:3338 frame #15: 0x000000010004a39c libgvc.6.dylib`emit_graph [inlined] emit_page(job=0x000000010120e600, g=0x00000001048781e0) + 2792 at emit.c:3439 frame #16: 0x00000001000498b4 libgvc.6.dylib`emit_graph(job=0x000000010120e600, g=0x00000001048781e0) + 2660 at emit.c:3496 frame #17: 0x000000010005075c libgvc.6.dylib`gvRenderJobs(gvc=0x00000001002040a0, g=0x00000001048781e0) + 6108 at emit.c:4100 frame #18: 0x0000000100003d05 dot`main(argc=<unavailable>, argv=<unavailable>) + 1301 at dot.c:192 frame #19: 0x00007fff8addd5fd libdyld.dylib`start + 1 frame #20: 0x00007fff8addd5fd libdyld.dylib`start + 1 _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest