[Bug 220462] ar(1): while building emulators/virtualbox-ose ar(1) coredumps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 4 06:39:02 UTC 2017


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

            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 at FreeBSD.org
          Reporter: igorr at speechpro.com

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

while building virtualbox I get:

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

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

I have attached RuntimeBldProg.a.ar-script

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


More information about the freebsd-bugs mailing list