Smyrna 2.34.0-1 SIGABRT on FC19

[[email protected] ~]$ gdb --args smyrna /usr/share/graphviz/smyrna/attr_widgets.dot
GNU gdb (GDB) Fedora (7.6-34.fc19)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/smyrna...Reading symbols from /usr/lib/debug/usr/bin/smyrna.debug...done.
done.
(gdb) run
Starting program: /usr/bin/smyrna /usr/share/graphviz/smyrna/attr_widgets.dot
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffef9b8700 (LWP 4276)]
[New Thread 0x7fffef1b7700 (LWP 4277)]
[New Thread 0x7fffee9b6700 (LWP 4278)]

Program received signal SIGSEGV, Segmentation fault.
bestsearch ([email protected]=0x6ae360 <_Vmdata>, [email protected]=224, [email protected]=0x0)
    at vmbest.c:331
331            RROTATE(r, t);
Missing separate debuginfos, use: debuginfo-install PackageKit-gtk3-module-0.8.9-6.fc19.x86_64 adwaita-gtk2-theme-3.8.3-1.fc19.x86_64 dbus-libs-1.6.12-1.fc19.x86_64 gvfs-1.16.3-2.fc19.x86_64 harfbuzz-0.9.19-1.fc19.x86_64 ibus-gtk2-1.5.3-1.fc19.x86_64 ibus-libs-1.5.3-1.fc19.x86_64 libXau-1.0.8-1.fc19.x86_64 libXcomposite-0.4.4-3.fc19.x86_64 libXcursor-1.1.14-1.fc19.x86_64 libXdamage-1.1.4-3.fc19.x86_64 libXfixes-5.0.1-1.fc19.x86_64 libXi-1.7.2-1.fc19.x86_64 libXinerama-1.1.3-1.fc19.x86_64 libXrandr-1.4.1-1.fc19.x86_64 libXxf86vm-1.1.3-1.fc19.x86_64 libbluray-0.2.3-2.fc19.x86_64 libcanberra-0.30-3.fc19.x86_64 libcanberra-gtk2-0.30-3.fc19.x86_64 libdrm-2.4.46-1.fc19.x86_64 libffi-3.0.13-4.fc19.x86_64 libogg-1.3.0-5.fc19.x86_64 libpng-1.5.13-2.fc19.x86_64 libselinux-2.1.13-15.fc19.x86_64 libtdb-1.2.12-1.fc19.x86_64 libuuid-2.23.2-2.fc19.x86_64 libvorbis-1.3.3-4.fc19.x86_64 libwayland-client-1.2.0-1.fc19.x86_64 libwayland-server-1.2.0-1.fc19.x86_64 libxcb-1.9-3.fc19.x86_64 nss-softokn-freebl-3.15.1-1.fc19.x86_64 pcre-8.32-7.fc19.x86_64 pixman-0.30.0-1.fc19.x86_64 systemd-libs-204-9.fc19.x86_64 xz-libs-5.1.2-4alpha.fc19.x86_64
(gdb) bt
#0  bestsearch ([email protected]=0x6ae360 <_Vmdata>, [email protected]=224, [email protected]=0x0)
    at vmbest.c:331
#1  0x0000000000454845 in bestalloc ([email protected]=0x6ae440 <_Vmheap>, size=224, [email protected]=220)
    at vmbest.c:601
#2  0x0000000000455858 in bestresize (vm=0x6ae440 <_Vmheap>, data=0x902cb0, size=220, type=3)
    at vmbest.c:900
#3  0x0000003e16a4d947 in g_realloc ([email protected]=0x902cb0, n_bytes=168) at gmem.c:224
#4  0x0000003e1761fb06 in g_bsearch_array_grow (bconfig=<optimized out>,
    bconfig=<optimized out>, index_=4, barray=0x902cb0) at ../glib/gbsearcharray.h:216
#5  g_bsearch_array_insert (key_node=0x7fffffffcc10,
    bconfig=0x3e1784e450 <g_signal_hlbsa_bconfig>, barray=0x902cb0)
    at ../glib/gbsearcharray.h:242
#6  handler_list_ensure (instance=0x6c92a0, signal_id=4) at gsignal.c:411
#7  handler_insert ([email protected]=223, [email protected]=0x6c92a0,
    [email protected]=0x7fffe80072d0) at gsignal.c:668
#8  0x0000003e17626723 in g_signal_connect_data (instance=<optimized out>,
    [email protected]=0x3d890fd18f "retrieve-surrounding",
    [email protected]=0x3d88f295e0 <gtk_im_multicontext_retrieve_surrounding_cb>,
    [email protected]=0x848b00, [email protected]=0x0,
    [email protected]=(unknown: 0)) at gsignal.c:2464
#9  0x0000003d88f29446 in gtk_im_multicontext_set_slave (
    [email protected]=0x848b00, [email protected]=0x6c92a0,
    [email protected]=0) at gtkimmulticontext.c:204
#10 0x0000003d88f29769 in gtk_im_multicontext_get_slave (
    [email protected]=0x848b00) at gtkimmulticontext.c:255
#11 0x0000003d88f299f7 in gtk_im_multicontext_set_cursor_location (context=<optimized out>,
    area=0x7fffffffcdf0) at gtkimmulticontext.c:396
#12 0x0000003d89003d5b in gtk_text_view_update_im_spot_location (
    [email protected]=0x84a330) at gtktextview.c:2120
#13 0x0000003d8900464a in gtk_text_view_update_im_spot_location (text_view=0x84a330)
    at gtktextview.c:2107
#14 gtk_text_view_value_changed (adj=<optimized out>, text_view=0x84a330)
    at gtktextview.c:7392
#15 0x0000003e1760fa28 in g_closure_invoke ([email protected]=0x8a4ba0,
    [email protected]=0x0, n_param_values=3,
    [email protected]=0x7fffffffd060,
    [email protected]=0x7fffffffd000) at gclosure.c:777
#16 0x0000003e176207fb in signal_emit_unlocked_R ([email protected]=0x8a4bf8,
    [email protected]=0, [email protected]=0x84a330,
    [email protected]=0x0,
    [email protected]=0x7fffffffd060) at gsignal.c:3622
#17 0x0000003e17628829 in g_signal_emit_valist (instance=<optimized out>,
    signal_id=<optimized out>, detail=<optimized out>, [email protected]=0x7fffffffd218)
    at gsignal.c:3328
#18 0x0000003e17628a72 in g_signal_emit ([email protected]=0x84a330,
    [email protected]=214, [email protected]=0) at gsignal.c:3384
#19 0x0000003d8906932c in IA__gtk_widget_set_scroll_adjustments (
    [email protected]=0x84a330, hadjustment=0x846450,
    [email protected]=0x848d40) at gtkwidget.c:5102
#20 0x0000003d88faad16 in gtk_scrolled_window_add (container=<optimized out>, child=0x84a330)
    at gtkscrolledwindow.c:1686
#21 0x0000003e17612af7 in g_cclosure_marshal_VOID__OBJECTv (closure=0x7f8458,
    return_value=<optimized out>, instance=<optimized out>, args=<optimized out>,
    marshal_data=0x3d88faac50 <gtk_scrolled_window_add>, n_params=<optimized out>,
    param_types=0x7f7ed8) at gmarshal.c:1312
#22 0x0000003e1760fc57 in _g_closure_invoke_va ([email protected]=0x7f8458,
    [email protected]=0x0, [email protected]=0x6c21e0,
    [email protected]=0x7fffffffd5c8, n_params=1, param_types=0x7f7ed8) at gclosure.c:840
#23 0x0000003e17627d87 in g_signal_emit_valist (instance=0x6c21e0, signal_id=<optimized out>,
    detail=0, [email protected]=0x7fffffffd5c8) at gsignal.c:3234
#24 0x0000003e17628a72 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    [email protected]=0) at gsignal.c:3384
---Type <return> to continue, or q <return> to quit---
#25 0x0000003d88ebc769 in IA__gtk_container_add (container=<optimized out>,
    [email protected]=0x84a330) at gtkcontainer.c:1208
#26 0x00007ffff7071a3d in glade_standard_build_children (self=0x6c90a0, parent=0x6c21e0,
    info=0x870638) at glade-xml.c:1756
#27 0x00007ffff7070d2b in glade_xml_set_common_params ([email protected]=0x6c90a0,
    [email protected]=0x6c21e0, [email protected]=0x870638) at glade-xml.c:2075
#28 0x00007ffff7071165 in glade_xml_build_widget ([email protected]=0x6c90a0, info=0x870638)
    at glade-xml.c:1865
#29 0x00007ffff70719fa in glade_standard_build_children (self=0x6c90a0, parent=0x83d270,
    info=0x86e408) at glade-xml.c:1751
#30 0x00007ffff7070d2b in glade_xml_set_common_params ([email protected]=0x6c90a0,
    [email protected]=0x83d270, [email protected]=0x86e408) at glade-xml.c:2075
#31 0x00007ffff7071165 in glade_xml_build_widget ([email protected]=0x6c90a0, info=0x86e408)
    at glade-xml.c:1865
#32 0x00007ffff70719fa in glade_standard_build_children (self=0x6c90a0, parent=0x83d1e0,
    info=0x86e300) at glade-xml.c:1751
#33 0x00007ffff7070d2b in glade_xml_set_common_params ([email protected]=0x6c90a0,
    [email protected]=0x83d1e0, [email protected]=0x86e300) at glade-xml.c:2075
#34 0x00007ffff7071165 in glade_xml_build_widget ([email protected]=0x6c90a0, info=0x86e300)
    at glade-xml.c:1865
#35 0x00007ffff70719fa in glade_standard_build_children (self=0x6c90a0, parent=0x83d0c0,
    info=0x86cc78) at glade-xml.c:1751
#36 0x00007ffff7070d2b in glade_xml_set_common_params ([email protected]=0x6c90a0,
    [email protected]=0x83d0c0, [email protected]=0x86cc78) at glade-xml.c:2075
#37 0x00007ffff7071165 in glade_xml_build_widget ([email protected]=0x6c90a0, info=0x86cc78)
    at glade-xml.c:1865
#38 0x00007ffff70719fa in glade_standard_build_children (self=0x6c90a0, parent=0x8381b0,
    info=0x86c7e8) at glade-xml.c:1751
#39 0x00007ffff7070d2b in glade_xml_set_common_params ([email protected]=0x6c90a0,
    [email protected]=0x8381b0, [email protected]=0x86c7e8) at glade-xml.c:2075
#40 0x00007ffff7071165 in glade_xml_build_widget ([email protected]=0x6c90a0, info=0x86c7e8)
    at glade-xml.c:1865
#41 0x00007ffff70713b9 in glade_xml_build_interface (self=0x6c90a0, iface=0x8618f0, root=0x0)
    at glade-xml.c:1178
#42 0x00007ffff7071463 in glade_xml_construct ([email protected]=0x6c90a0,
    [email protected]=0x82f800 "/usr/share/graphviz/smyrna/smyrna.glade",
    [email protected]=0x0, [email protected]=0x0) at glade-xml.c:154
#43 0x00007ffff7071508 in glade_xml_new (
    fname=0x82f800 "/usr/share/graphviz/smyrna/smyrna.glade", [email protected]=0x0,
    [email protected]=0x0) at glade-xml.c:117
#44 0x0000000000412f0f in windowedMode (argv=0x7fffffffe038, argc=2) at main.c:200
#45 main (argc=2, argv=0x7fffffffe038) at main.c:307

 

..from under valgrind..

..hmm, this looks suspiciously like a buggy driver in F19..

[[email protected] ~]$ valgrind smyrna /usr/share/graphviz/smyrna/attr_widgets.dot==4411== Memcheck, a memory error detector
==4411== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==4411== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==4411== Command: smyrna /usr/share/graphviz/smyrna/attr_widgets.dot
==4411==
==4411== Conditional jump or move depends on uninitialised value(s)
==4411==    at 0x10331B3F: ??? (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x10331F7F: ??? (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x104C22D5: llvm::FPPassManager::runOnFunction(llvm::Function&) (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x104C26EA: llvm::FPPassManager::runOnModule(llvm::Module&) (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x104C28E7: llvm::MPPassManager::runOnModule(llvm::Module&) (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x104C2ACB: llvm::PassManagerImpl::run(llvm::Module&) (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x108D204B: ??? (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0x108D2795: LLVMTargetMachineEmitToMemoryBuffer (in /usr/lib64/llvm/libLLVM-3.3.so)
==4411==    by 0xF1AA415: radeon_llvm_compile (radeon_llvm_emit.c:124)
==4411==    by 0xF19FAC4: si_compile_llvm (radeonsi_shader.c:1384)
==4411==    by 0xF1A0248: si_pipe_shader_create (radeonsi_shader.c:1526)
==4411==    by 0xF1A646D: si_shader_select (si_state.c:2100)
==4411==
==4411== Conditional jump or move depends on uninitialised value(s)
==4411==    at 0xFA1D1F8: ??? (in /usr/lib64/libdrm_radeon.so.1.0.1)
==4411==    by 0xFA1D6BE: ??? (in /usr/lib64/libdrm_radeon.so.1.0.1)
==4411==    by 0xF1A0FBF: si_texture_create (r600_texture.c:547)
==4411==    by 0xF0132C4: st_texture_create (st_texture.c:96)
==4411==    by 0xEFE20E8: reset_cache (st_cb_bitmap.c:566)
==4411==    by 0xEFF08D4: st_create_context (st_context.c:146)
==4411==    by 0xF00A3AA: st_api_create_context (st_manager.c:622)
==4411==    by 0xF1AD266: dri_create_context (dri_context.c:132)
==4411==    by 0xEEE5EDF: dri2CreateContextAttribs (dri_util.c:288)
==4411==    by 0xEEE6084: dri2CreateNewContext (dri_util.c:306)
==4411==    by 0x3D8763F8E6: dri2_create_context (dri2_glx.c:236)
==4411==    by 0x3D8761A232: CreateContext (glxcmds.c:301)
==4411==
==4411== Invalid read of size 8
==4411==    at 0x454CCE: bestfree (vmbest.c:756)
==4411==    by 0xEFC84F0: vbo_use_buffer_objects (vbo_exec_api.c:993)
==4411==    by 0xEFF0955: st_create_context (st_context.c:169)
==4411==    by 0xF00A3AA: st_api_create_context (st_manager.c:622)
==4411==    by 0xF1AD266: dri_create_context (dri_context.c:132)
==4411==    by 0xEEE5EDF: dri2CreateContextAttribs (dri_util.c:288)
==4411==    by 0xEEE6084: dri2CreateNewContext (dri_util.c:306)
==4411==    by 0x3D8763F8E6: dri2_create_context (dri2_glx.c:236)
==4411==    by 0x3D8761A232: CreateContext (glxcmds.c:301)
==4411==    by 0x3D8761A514: glXCreateContext (glxcmds.c:430)
==4411==    by 0x52C8555: _gdk_x11_gl_context_new (gdkglcontext-x11.c:247)
==4411==    by 0x5083F69: gtk_widget_create_gl_context (gtkglwidget.c:453)
==4411==  Address 0x11d514f8 is 8 bytes before a block of size 65,536 alloc'd
==4411==    at 0x4A084D5: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4411==    by 0x4A0859A: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4411==    by 0xEF4E240: _mesa_align_malloc (imports.c:86)
==4411==    by 0xEFC85ED: vbo_exec_vtx_init (vbo_exec_api.c:1036)
==4411==    by 0xEFB8C7F: vbo_exec_init (vbo_exec.c:49)
==4411==    by 0xEFB8919: _vbo_CreateContext (vbo_context.c:191)
==4411==    by 0xEFF085B: st_create_context (st_context.c:123)
==4411==    by 0xF00A3AA: st_api_create_context (st_manager.c:622)
==4411==    by 0xF1AD266: dri_create_context (dri_context.c:132)
==4411==    by 0xEEE5EDF: dri2CreateContextAttribs (dri_util.c:288)
==4411==    by 0xEEE6084: dri2CreateNewContext (dri_util.c:306)
==4411==    by 0x3D8763F8E6: dri2_create_context (dri2_glx.c:236)
==4411==
==4411== Invalid write of size 8
==4411==    at 0x454CE1: bestfree (vmbest.c:756)
==4411==    by 0xEFC84F0: vbo_use_buffer_objects (vbo_exec_api.c:993)
==4411==    by 0xEFF0955: st_create_context (st_context.c:169)
==4411==    by 0xF00A3AA: st_api_create_context (st_manager.c:622)
==4411==    by 0xF1AD266: dri_create_context (dri_context.c:132)
==4411==    by 0xEEE5EDF: dri2CreateContextAttribs (dri_util.c:288)
==4411==    by 0xEEE6084: dri2CreateNewContext (dri_util.c:306)
==4411==    by 0x3D8763F8E6: dri2_create_context (dri2_glx.c:236)
==4411==    by 0x3D8761A232: CreateContext (glxcmds.c:301)
==4411==    by 0x3D8761A514: glXCreateContext (glxcmds.c:430)
==4411==    by 0x52C8555: _gdk_x11_gl_context_new (gdkglcontext-x11.c:247)
==4411==    by 0x5083F69: gtk_widget_create_gl_context (gtkglwidget.c:453)
==4411==  Address 0x11d514f8 is 8 bytes before a block of size 65,536 alloc'd
==4411==    at 0x4A084D5: memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4411==    by 0x4A0859A: posix_memalign (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==4411==    by 0xEF4E240: _mesa_align_malloc (imports.c:86)
==4411==    by 0xEFC85ED: vbo_exec_vtx_init (vbo_exec_api.c:1036)
==4411==    by 0xEFB8C7F: vbo_exec_init (vbo_exec.c:49)
==4411==    by 0xEFB8919: _vbo_CreateContext (vbo_context.c:191)
==4411==    by 0xEFF085B: st_create_context (st_context.c:123)
==4411==    by 0xF00A3AA: st_api_create_context (st_manager.c:622)
==4411==    by 0xF1AD266: dri_create_context (dri_context.c:132)
==4411==    by 0xEEE5EDF: dri2CreateContextAttribs (dri_util.c:288)
==4411==    by 0xEEE6084: dri2CreateNewContext (dri_util.c:306)
==4411==    by 0x3D8763F8E6: dri2_create_context (dri2_glx.c:236)
==4411==
==4411== Conditional jump or move depends on uninitialised value(s)
==4411==    at 0xFA1D1F8: ??? (in /usr/lib64/libdrm_radeon.so.1.0.1)
==4411==    by 0xFA1D6BE: ??? (in /usr/lib64/libdrm_radeon.so.1.0.1)
==4411==    by 0xF1A0FBF: si_texture_create (r600_texture.c:547)
==4411==    by 0xF1AFA55: dri2_allocate_textures (dri2.c:359)
==4411==    by 0xF1ADEF9: dri_st_framebuffer_validate (dri_drawable.c:81)
==4411==    by 0xF00975A: st_framebuffer_validate.isra.4 (st_manager.c:192)
==4411==    by 0xF00A212: st_api_make_current (st_manager.c:718)
==4411==    by 0xF1AD5C9: dri_make_current (dri_context.c:263)
==4411==    by 0xEEE5C95: driBindContext (dri_util.c:382)
==4411==    by 0x3D8764071E: dri2_bind_context (dri2_glx.c:172)
==4411==    by 0x3D8761B1F2: MakeContextCurrent (glxcurrent.c:269)
==4411==    by 0x52C947F: gdk_gl_window_impl_x11_make_context_current (gdkglwindow-x11.c:250)

 

..and a SEGV going there.. memory corruption?

Looks like a memory corruption..

[[email protected] ~]$ gdb -ex run -ex bt -ex quit --args smyrna /usr/share/graphviz/smyrna/attr_widgets.dot
GNU gdb (GDB) Fedora (7.6-34.fc19)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/smyrna...Reading symbols from /usr/lib/debug/usr/bin/smyrna.debug...done.
done.
Starting program: /usr/bin/smyrna /usr/share/graphviz/smyrna/attr_widgets.dot
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffef9b8700 (LWP 4396)]
[New Thread 0x7fffef1b7700 (LWP 4397)]
[New Thread 0x7fffee9b6700 (LWP 4398)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee9b6700 (LWP 4398)]
0x0000003e16a86f9a in g_mutex_get_impl (mutex=0x10000002) at gthread-posix.c:121
121      pthread_mutex_t *impl = g_atomic_pointer_get (&mutex->p);
#0  0x0000003e16a86f9a in g_mutex_get_impl (mutex=0x10000002) at gthread-posix.c:121
#1  0x0000003e16a87249 in g_mutex_lock ([email protected]=0x10000002) at gthread-posix.c:210
#2  0x0000003e16a46460 in g_source_set_priority (source=0x90d258, priority=200)
    at gmain.c:1699
#3  0x0000003e16a48e62 in g_idle_source_new () at gmain.c:5227
#4  0x0000003e17e77f38 in g_task_return (task=0x841ed0, type=<optimized out>) at gtask.c:1165
#5  0x0000003e17e780ad in g_task_thread_pool_thread (thread_data=0x841ed0,
    pool_data=<optimized out>) at gtask.c:1244
#6  0x0000003e16a6cb46 in g_thread_pool_thread_proxy (data=<optimized out>)
    at gthreadpool.c:309
#7  0x0000003e16a6c185 in g_thread_proxy (data=0x850b70) at gthread.c:798
#8  0x0000003e14e07c53 in start_thread (arg=0x7fffee9b6700) at pthread_create.c:308
#9  0x0000003e146f5d3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113