Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jul 2017 06:39:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220462] ar(1): while building emulators/virtualbox-ose ar(1) coredumps
Message-ID:  <bug-220462-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220462

            Bug ID: 220462
           Summary: ar(1): while building emulators/virtualbox-ose ar(1)
                    coredumps
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: igorr@speechpro.com

Created attachment 184048
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184048&action=
=3Dedit
ar(1) script

while building virtualbox I get:

kmk: *** Waiting for unfinished jobs....=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
kmk: ***
[/usr/build/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/f=
reebsd.amd64/release/obj/RuntimeR3/RuntimeR3.a]
Segmentation fault (core dumped)=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The failing command:=20=20=20=20=20=20=20=20=20
@/usr/local/bin/kmk_redirect -rti
/usr/build/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/fr=
eebsd.amd64/release/obj/RuntimeR3/RuntimeR3.a.ar-script
-- ar -M=20

igorr:~>lldb -c ar.core /usr/bin/ar=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
(lldb) target create "/usr/bin/ar" --core "ar.core"=20=20=20=20=20=20=20=20
Core file '/usr/home/igorr/ar.core' (x86_64) was loaded.=20=20=20
(lldb) bt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
* thread #1, name =3D 'ar', stop reason =3D signal SIGSEGV=20=20=20=20=20
  * frame #0: 0x00000000004a9d90 ar`memchr + 16=20=20=20=20=20=20=20=20=20=
=20=20=20
    frame #1: 0x0000000000445959 ar`strstr + 1081=20=20=20=20=20=20=20=20=
=20=20
    frame #2: 0x000000000040662b ar`archive_write_ar_header + 2075=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
    frame #3: 0x0000000000409a13 ar`_archive_write_header + 259=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
    frame #4: ar`write_archive [inlined] write_objs(bsdar=3D<unavailable>) =
at
write.c:717=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20
    frame #5: ar`write_archive(bsdar=3D0x00007fffffffe7f0, mode=3D<unavaila=
ble>) at
write.c:535=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
    frame #6: ar`yyparse [inlined] arscp_addmod(list=3D0x0000000800d65010) =
at
acpyacc.y:382=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
    frame #7: ar`yyparse at acpyacc.y:170=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
    frame #8: ar`ar_mode_script(ar=3D<unavailable>) at acpyacc.y:653=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
    frame #9: ar`main(argc=3D0, argv=3D0x00007fffffffe920) at ar.c:310=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
    frame #10: 0x000000000040035f ar`_start + 383=20=20=20=20=20=20=20=20=
=20=20
(lldb)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

I have attached RuntimeBldProg.a.ar-script

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220462-8>