[Bug 232149] graph/graphviz: (Pixman) Segmentation Fault (FreeBSD12)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 10 13:28:21 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232149

            Bug ID: 232149
           Summary: graph/graphviz: (Pixman) Segmentation Fault
                    (FreeBSD12)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: stefanrink at yahoo.com

Trying to get graphviz to make an image results in a segmentation fault.
# cat /tmp/test.dot | dot -Tpng
Segmentation fault (core dumped)


Already at latest base and kernel (FreeBSD 12)
# uname -a
FreeBSD NODE001 12.0-ALPHA8 FreeBSD 12.0-ALPHA8 #3 r339012M: Mon Oct  8
20:23:15 UTC 2018     freebsd at NODE005:/usr/obj/usr/src/arm64.aarch64/sys/sopine
 arm64

Started troubleshooting myself but got a bit stuck at this weird curthread
pointer.


# gdb /usr/local/bin/dot dot.core
GNU gdb (GDB) 8.1 [GDB v8.1 for FreeBSD]
Copyright (C) 2018 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 "aarch64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/dot...done.
[New LWP 100082]
Core was generated by `dot -v -Tpng'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  _thr_rtld_rlock_acquire (lock=0x411dec80) at
/usr/src/lib/libthr/thread/thr_rtld.c:125
125             THR_CRITICAL_ENTER(curthread);
(gdb) bt full
#0  _thr_rtld_rlock_acquire (lock=0x411dec80) at
/usr/src/lib/libthr/thread/thr_rtld.c:125
        l = 0x411dec80
        curthread = 0x801800000000001
        errsave = <error reading variable errsave (Cannot access memory at
address 0x80180000000018d)>
#1  0x00000000402390c4 in rlock_acquire (lock=0x40270090 <rtld_locks>,
lockstate=0xffffffffab40) at /usr/src/libexec/rtld-elf/rtld_lock.c:209
No locals.
#2  0x0000000040232bec in _rtld_bind (obj=0x409bf000, reloff=96) at
/usr/src/libexec/rtld-elf/rtld.c:789
        lockstate = {lockstate = 1, env = {{_sjb =
{5192296858134625181781816927844096, 3541774862153317871616, 281474976688960, 
                5192296858162646120099333491982448,
5192296858205737714255517928390658, 0, 19849560668804171569190382992, 
                85264437479619916114209298589211951104, 13844966854071681024,
4624070917402656768, 0, 20249735019133469358624320736, 
                5192296858152168369465466474459136, 85, 36893769622395796048,
36893488147419103233, 19951829344161559554618773900, 
                19999637623203440009873805312, 20147593866117581453433744528,
1084182528, 20147734725455328299569884368, 19851772949927161933322518824, 
                19995557498562240636417077544, 20250678256497908875248176320,
19849563546496247067880435504, 36893488147419103233, 
                5192296858142299027316480101316352, 11510768301995844169728,
281474976689376, 5192296858162646120099333491982448, 
                5192296858205737714255517928390658, 0}}}}
        rel = <optimized out>
        defobj = <optimized out>
        def = <optimized out>
        where = <optimized out>
        target = <optimized out>
#3  0x000000004023007c in _rtld_bind_start () at
/usr/src/libexec/rtld-elf/aarch64/rtld_start.S:93
No locals.
#4  0x00000000416efd50 in pixman_image_composite32 (op=PIXMAN_OP_SRC,
src=0x42631400, mask=0x0, dest=0x42631b00, src_x=0, src_y=0, mask_x=0,
mask_y=0, 
    dest_x=0, dest_y=0, width=11, height=11) at pixman.c:686
        src_format = PIXMAN_a8
        mask_format = 0
        dest_format = PIXMAN_a8
        region = {extents = {x1 = 0, y1 = 0, x2 = 11, y2 = 11}, data = 0x0}
        extents = {x1 = 0, y1 = 0, x2 = 11, y2 = 11}
        imp = 0x424efa00
        func = 0x418efa74 <fast_composite_src_memcpy>
        info = {op = 1116379648, src_image = 0xffffffffb010, mask_image = 0x1,
dest_image = 0x42631400, src_x = 0, src_y = 0, mask_x = 1113791232, 
          mask_y = 0, dest_x = -2145384446, dest_y = -2145384446, width = 0,
height = 1048576, src_flags = 0, mask_flags = 1073741824, 
          dest_flags = 1074791425}
        pbox = 0xffffffffaff0
        n = 0
#5  0x0000000041937648 in pixman_glyph_cache_insert (cache=0x428a9a00,
font_key=0x42713e00, glyph_key=0x2a, origin_x=0, origin_y=11, image=0x42631400)
    at pixman-glyph.c:286
        glyph = 0x4257fbd0
---Type <return> to continue, or q <return> to quit--- 
        width = 11
        height = 11
#6  0x00000000410cebd0 in ?? () from /usr/local/lib/libcairo.so.2
No symbol table info available.
#7  0x0000ffffffffbb04 in ?? ()
No symbol table info available.
Backtrace stopped: not enough registers or memory available to unwind further

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list