From owner-freebsd-ports-bugs@freebsd.org Thu Mar 10 04:58:06 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E3DAACA4F3 for ; Thu, 10 Mar 2016 04:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0407D1000 for ; Thu, 10 Mar 2016 04:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2A4w5wH090555 for ; Thu, 10 Mar 2016 04:58:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207868] chinese/librime: rime_deployer gets segfault on building chinese/brise on 9.3R Date: Thu, 10 Mar 2016 04:58:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hiroto.kagotani@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 04:58:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207868 Bug ID: 207868 Summary: chinese/librime: rime_deployer gets segfault on building chinese/brise on 9.3R Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: hiroto.kagotani@gmail.com CC: lichray@gmail.com CC: lichray@gmail.com Created attachment 167948 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167948&action= =3Dedit make log of chinese/brise While building chinese/brise on 9.3R (amd64 and i386), the build process stops for rime_deployer getting segmentation fault, which is a tool installed by chinese/librime. Building on 10.2R does not have any problem. Here is the build log: # make MAKE_JOBS_UNSAFE=3Dyes =3D=3D=3D> License GPLv3 accepted by the user =3D=3D=3D> zh-brise-0.35 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by zh-brise-0.35 for building =3D=3D=3D> Extracting for zh-brise-0.35 =3D=3D=3D> License GPLv3 accepted by the user =3D=3D=3D> zh-brise-0.35 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by zh-brise-0.35 for building =3D> SHA256 Checksum OK for rime-brise-brise-0.35_GH0.tar.gz. =3D=3D=3D> Patching for zh-brise-0.35 =3D=3D=3D> zh-brise-0.35 depends on executable: rime_deployer - found =3D=3D=3D> zh-brise-0.35 depends on executable: gmake - found =3D=3D=3D> Configuring for zh-brise-0.35 =3D=3D=3D> Building for zh-brise-0.35 building rime data. rime_deployer --build /usr/ports/chinese/brise/work/brise-brise-0.35/data Makefile:14: recipe for target 'all' failed gmake: *** [all] Segmentation fault: 11 *** [do-build] Error code 1 Stop in /usr/ports/chinese/brise. *** [/usr/ports/chinese/brise/work/.build_done.brise._usr_local] Error code= 1 Stop in /usr/ports/chinese/brise. A core file was dumped: # ls -l work/brise-brise-0.35 ... -rw------- 1 root wheel 66650112 Mar 10 13:13 rime_deployer.core To confirm it is not depending on brise data, I tested with librime data. # cd /usr/ports/chinese/librime # make extract # cd work/lib # rime_deployer --build work/librime-rime-1.1/data/minimal Segmentation fault # ls -l ... -rw------- 1 root wheel 124518400 Mar 10 13:26 rime_deployer.core I tried to use gdb to get where the problem is, but it is more I can handle. # cd /usr/ports/chinese/librime # make clean # make WITH_DEBUG=3Dyes # gdb work/librime-rime-1.1/bin/rime_deployer=20 (gdb) run --build /usr/ports/chinese/brise/work/brise-brise-0.35/data Starting program: /usr/ports/chinese/librime/work/librime-rime-1.1/bin/rime_deployer --build= =20 /usr/ports/chinese/brise/work/brise-brise-0.35/data (no debugging symbols found)...Error while reading shared library symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [= in module /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging sym= bols found)...Error while reading shared library symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [= in module /usr/local/lib/gcc48/libstdc++.so.6] (no debugging symbols found)...Error while reading shared library symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [= in module /usr/local/lib/gcc48/libgcc_s.so.1] (no debugging symbols found)...[New LWP 100132] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 806407400 (LWP 100132/rime_deployer)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 806407400 (LWP 100132/rime_deployer)] 0x00000008034a16ee in free () from /lib/libc.so.7 (gdb) where #0 0x00000008034a16ee in free () from /lib/libc.so.7 #1 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #2 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #3 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #4 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #5 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #6 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #7 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #8 0x0000000801f0c73f in std::vector >::~vector () from /usr/local/lib/libyaml-cpp.so.0 #9 0x0000000801f39cd5 in YAML::Utils::WriteTag () from /usr/local/lib/libyaml-cpp.so.0 #10 0x0000000801f3a69c in YAML::Utils::ComputeStringFormat () from /usr/local/lib/libyaml-cpp.so.0 #11 0x0000000801f2653b in YAML::Emitter::Write () from /usr/local/lib/libyaml-cpp.so.0 #12 0x0000000800e7accf in ?? () from /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1 #13 0x0000000806466d58 in ?? () #14 0x00007fffffffd9b0 in ?? () #15 0x00007fffffffd7f0 in ?? () #16 0x0000000800e78eec in ?? () from /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1 #17 0x00007fffffffd9b0 in ?? () #18 0x0000000806466d58 in ?? () #19 0x0000000802dbc680 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6 #20 0x0000000800e829c9 in ?? () from /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1 #21 0x0000000000000500 in ?? () #22 0x0000000802dbc680 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6 #23 0x0000000000005f2e in ?? () #24 0x00007fffffffd850 in ?? () #25 0x0000000000000002 in ?? () #26 0x0000000800e7f32f in ?? () from /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1 #27 0x0000000000000500 in ?? () #28 0x0000000802dbc680 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6 #29 0x0000000000005f2e in ?? () #30 0x0000000806466d48 in ?? () #31 0x0000000000000002 in ?? () #32 0xfae0da7eb156b0aa in ?? () #33 0x00007fffffffd8d0 in ?? () #34 0x0000000000000002 in ?? () #35 0x00007fffffffd870 in ?? () #36 0x0000000800e78fe7 in ?? () from /usr/ports/chinese/librime/work/librime-rime-1.1/lib/librime.so.1 #37 0x0000000000000000 in ?? () (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.=