[OpenIndiana-discuss] Problem with VirtualBox since upgrade today

Carsten Grzemba grzemba at contac-dt.de
Fri Jul 14 15:28:17 UTC 2023



Am 14.07.23 14:53 schrieb Stephan Althaus  <Stephan.Althaus at Duedinghausen.eu>: 
> 
> On 7/12/23 17:44, Carsten Grzemba via openindiana-discuss wrote:
> >if the GCC7 - GCC10 mixup could the reason, there are libs involved which are GCC7 compiled:
> >
> > /usr/lib/amd64/libidn2.so.0.3.8
> > /usr/lib/amd64/libunistring.so.2.2.0
> > /usr/lib/amd64/libssh2.so.1.0.1
> > -- Carsten
> 
> Hello!
> 
> i did a pkg update a few minutes ago, and the symptoms are the same.
> 
> We will have to rebuild some more libs anyway, so ...
> 
> If i could get a list of the direct dependencies "top-down" from virtualbox i will work on that (from next wednesday on, until then i doubt i have time..)..
> 
> is there any script resolving that?
> 
> 
> P.S. For anyone interested, the 'old' package does still work (as a temporary workaround), i just had to do a
> $ pfexec pkg install pkg://openindiana.org/system/virtualbox@6.1.40,5.11-2022.0.0.0:20221108T082551Z
> and for the next few updates this will prevent VB being updated:
> $ pfexec pkg freeze pkg://openindiana.org/system/virtualbox@6.1.40,5.11-2022.0.0.0:20221108T082551Z
> 
> 
> Regards and thanks in advance,
> 
> Stephan
> 

 
All the other I found build after 20.12.2022,  so they should already be built with GCC 10. I check the loaded libs from core file with   
$ mcs -p lib.so   

   
I see in the core that it crashs near    XPTC_InvokeByIndex      
and it seems it should be only an exception, not a crash.?
      

   

   
> $C
00007fffaddae270 libc.so.1`_lwp_kill+0xa()
00007fffaddae2a0 libc.so.1`raise+0x22(6)
00007fffaddae2f0 libc.so.1`abort+0x58()
00007fffaddae330 0x7fffacd1a58a()
00007fffaddae350 libstdc++.so.6.0.28`__cxxabiv1::__terminate+9()
00007fffaddae370 0x7fffacd16099()
00007fffaddae460 libstdc++.so.6.0.28`__gxx_personality_v0+0x2bc()
00007fffaddae630 libgcc_s.so.1`_Unwind_RaiseException_Phase2+0xa6()
00007fffaddae9e0 libgcc_s.so.1`_Unwind_RaiseException+0x331()
00007fffaddaea10 libstdc++.so.6.0.28`__cxa_throw+0x40()
00007fffaddaeb90 Medium::i_queryInfo+0x687()
00007fffaddaebd0 Medium::refreshState+0x8d()
00007fffaddaec20 MediumWrap::RefreshState+0xd1()
00007fffaddaecd0 VBoxXPCOM.so`XPTC_InvokeByIndex+0x13f()
00007fffaddaeea0 VBoxXPCOMIPCC.so`ipcDConnectService::OnInvoke+0x3bc()
00007fffaddaeeb0 VBoxXPCOMIPCC.so`ipcDConnectService::OnIncomingRequest+0x28()
00007fffaddaef00 VBoxXPCOMIPCC.so`DConnectWorker::Run+0x137()
00007fffaddaef20 VBoxXPCOM.so`nsThread::Main+0x23()
00007fffaddaef40 VBoxXPCOM.so`_pt_root+0x86()
00007fffaddaef50 VBoxXPCOM.so`_pt_iprt_root+0xc()
00007fffaddaef70 VBoxRT.so`rtThreadMain+0x34()
00007fffaddaefb0 VBoxRT.so`rtThreadNativeMain+0x43()
00007fffaddaefe0 libc.so.1`_thrp_setup+0x77(7fffaea95a40)
00007fffaddaeff0 libc.so.1`_lwp_start()

   
or   

   
> ::status
debugging core file of VBoxManage (64-bit) from notebookcg2
file: /opt/VirtualBox/amd64/VBoxManage
initial argv: /opt/VirtualBox/amd64/VBoxManage list vms
threading model: native threads
status: process terminated by SIGABRT (Abort), pid=4743 uid=1005 code=-1
> $G
C++ symbol demangling enabled
> $C
00007fffbfffddf0 libc.so.1`_lwp_kill+0xa()
00007fffbfffde20 libc.so.1`raise+0x22(6)
00007fffbfffde70 libc.so.1`abort+0x58()
00007fffbfffdeb0 libstdc++.so.6.0.28`__gnu_cxx::__verbose_terminate_handler+0x65()
00007fffbfffded0 libstdc++.so.6.0.28`__cxxabiv1::__terminate+9()
00007fffbfffdef0 0x7fffacf16099()
00007fffbfffdfe0 libstdc++.so.6.0.28`__gxx_personality_v0+0x2bc()
00007fffbfffe1b0 libgcc_s.so.1`_Unwind_RaiseException_Phase2+0xa6()
00007fffbfffe560 libgcc_s.so.1`_Unwind_RaiseException+0x331()
00007fffbfffe590 libstdc++.so.6.0.28`__cxa_throw+0x40()
00007fffbfffe610 VBoxC.so`VirtualBoxClient::init+0x308()
00007fffbfffe630 VBoxC.so`VirtualBoxClient::FinalConstruct+0x10()
00007fffbfffe660 VBoxC.so`VirtualBoxClientConstructor+0x101()
00007fffbfffe670 VBoxXPCOM.so`nsGenericFactory::CreateInstance+0x1f()
00007fffbfffe6c0 VBoxXPCOM.so`nsComponentManagerImpl::CreateInstance+0x7c()
00007fffbfffe710 com::GlueCreateInstance+0x52()
00007fffbffff7c0 main+0x4aa()
00007fffbffff7f0 _start_crt+0x87()
   
00007fffbffff800 _start+0x18()
   
> ::objects
 BASE LIMIT SIZE NAME
 400000 56f000 16f000 /opt/VirtualBox/amd64/VBoxManage
 7fffa1170000 7fffa11ef000 7f000 /opt/VirtualBox/amd64/VBoxDDU.so
 7fffad4c0000 7fffad869000 3a9000 /opt/VirtualBox/amd64/VBoxRT.so
 7fffa178c000 7fffa1790000 4000 /lib/amd64/libthread.so.1
 7fffa1010000 7fffa114e000 13e000 /opt/VirtualBox/amd64/VBoxXPCOM.so
 7ffface10000 7fffad02b000 21b000 /usr/gcc/10/lib/amd64/libstdc++.so.6.0.28
 7fffacde0000 7fffacdfb000 1b000 /usr/gcc/10/lib/amd64/libgcc_s.so.1
 7fffaf2f0000 7fffaf467000 177000 /lib/amd64/libc.so.1
 7fffad4a0000 7fffad4a2000 2000 /lib/amd64/libkstat.so.1
 7fffad480000 7fffad487000 7000 /lib/amd64/libcontract.so.1
 7fffad450000 7fffad46b000 1b000 /usr/lib/amd64/libsmbios.so.1
 7fffaed80000 7fffaef10000 190000 /usr/lib/amd64/libxml2.so.2.10.4
 7fffae280000 7fffae293000 13000 /lib/amd64/libsocket.so.1
 7fffad370000 7fffad431000 c1000 /usr/lib/amd64/libcurl.so.4.8.0
 7fffad2d0000 7fffad34c000 7c000 /usr/openssl/1.0/lib/amd64/libssl.so.1.0.0
 7fffad050000 7fffad291000 241000 /usr/openssl/1.0/lib/amd64/libcrypto.so.1.0.0
 7fffad92e000 7fffad930000 2000 /lib/amd64/librt.so.1
 7fffa3b00000 7fffa3b02000 2000 /lib/amd64/libsendfile.so.1
 7fffaeff0000 7fffaf04e000 5e000 /lib/amd64/libm.so.2
 7fffaec90000 7fffaeca8000 18000 /lib/amd64/libnvpair.so.1
 7fffaebe0000 7fffaec6b000 8b000 /lib/amd64/libnsl.so.1
 7fffacda0000 7fffacdc8000 28000 /usr/lib/amd64/libgsasl.so.7.10.0
 7fffacd60000 7fffacd8c000 2c000 /usr/lib/amd64/libgss.so.1
 7fffaca50000 7fffacd1d000 2cd000 /usr/openssl/1.1/lib/amd64/libcrypto.so.1.1
 7fffaecbd000 7fffaecc0000 3000 /lib/amd64/libpthread.so.1
 7fffa8400000 7fffa8402000 2000 /usr/lib/iconv/amd64/UTF-8%UTF-8.so
 7fffad930000 7fffad958000 28000 /lib/amd64/libdevinfo.so.1
 7fffae250000 7fffae26b000 1b000 /usr/lib/amd64/libz.so.1.2.13
 7fffac540000 7fffac576000 36000 /usr/lib/amd64/liblzma.so.5.4.3
 7fffa0fe0000 7fffa0ff8000 18000 /usr/lib/amd64/libcares.so.2.6.1
 7fffa0f90000 7fffa0fc3000 33000 /usr/lib/amd64/libnghttp2.so.14.24.2
 7fffae630000 7fffae684000 54000 /usr/lib/amd64/libidn2.so.0.3.8
 7fffae450000 7fffae612000 1c2000 /usr/lib/amd64/libunistring.so.2.2.0
 7fffa0f40000 7fffa0f76000 36000 /usr/lib/amd64/libssh2.so.1.0.1
 7fffa0f10000 7fffa0f22000 12000 /usr/lib/amd64/libpsl.so.5.3.4
 7fffa3b20000 7fffa3bb9000 99000 /usr/openssl/1.1/lib/amd64/libssl.so.1.1
 7fffac990000 7fffac99f000 f000 /usr/lib/amd64/liblber-2.6.so.2.0.200
 7fffa19b0000 7fffa1a11000 61000 /usr/lib/amd64/libldap-2.6.so.2.0.200
 7fffa4300000 7fffa4410000 110000 /usr/lib/amd64/libzstd.so.1.5.5
 7fffa8c60000 7fffa8c6c000 c000 /usr/lib/amd64/libbrotlidec.so.1.0.9
 7fffa8c20000 7fffa8c41000 21000 /usr/lib/amd64/libbrotlicommon.so.1.0.9
 7fffaeb1f000 7fffaeb20000 1000 /lib/amd64/libdl.so.1
 7fffac720000 7fffac725000 5000 /lib/amd64/libmp.so.2
 7fffac770000 7fffac781000 11000 /lib/amd64/libmd.so.1
 7fffa0ec0000 7fffa0ef4000 34000 /usr/lib/amd64/libidn.so.12.6.1
 7fffaa2a0000 7fffaa2b5000 15000 /lib/amd64/libsec.so.1
 7fffac590000 7fffac598000 8000 /lib/amd64/libgen.so.1
 7fffa8970000 7fffa8a6c000 fc000 /usr/lib/amd64/libgcrypt.so.20.4.2
 7fffac9b0000 7fffaca0e000 5e000 /lib/amd64/libresolv.so.2
 7fffac740000 7fffac759000 19000 /usr/lib/amd64/libsasl.so.1
 7fffaed10000 7fffaed13000 3000 /lib/amd64/libavl.so.1
 7fffa8bd0000 7fffa8be3000 13000 /usr/lib/amd64/libidmap.so.1
 7fffa8480000 7fffa84ab000 2b000 /usr/lib/amd64/libgpg-error.so.0.34.0
 7fffaecd0000 7fffaecdb000 b000 /lib/amd64/libuutil.so.1
 7fffa0e80000 7fffa0ea8000 28000 /opt/VirtualBox/amd64/components/VBoxXPCOMIPCC.so
 7fffa0a80000 7fffa0e3a000 3ba000 /opt/VirtualBox/amd64/components/VBoxC.so
 7fffa05f0000 7fffa0a17000 427000 /opt/VirtualBox/amd64/VBoxVMM.so
 7fffa8db0000 7fffa8df2000 42000 /usr/lib/amd64/libpng16.so.16.40.0
 7fffa05d0000 7fffa05d4000 4000 /opt/VirtualBox/amd64/components/VBoxSVCM.so
 7fffaf5aa000 7fffaf5fa000 50000 /lib/amd64/ld.so.1

   
or VBoxSVC   
> ::status
debugging core file of VBoxSVC (64-bit) from notebookcg2
file: /opt/VirtualBox/amd64/VBoxSVC
initial argv: /opt/VirtualBox/amd64/VBoxSVC --auto-shutdown
threading model: native threads
status: process terminated by SIGABRT (Abort), pid=4747 uid=1005 code=-1
> $G
C++ symbol demangling enabled
> $C
00007fffae9fc0f0 libc.so.1`_lwp_kill+0xa()
00007fffae9fc120 libc.so.1`raise+0x22(6)
00007fffae9fc170 libc.so.1`abort+0x58()
00007fffae9fc1b0 libstdc++.so.6.0.28`__gnu_cxx::__verbose_terminate_handler+0x65()
00007fffae9fc1d0 libstdc++.so.6.0.28`__cxxabiv1::__terminate+9()
00007fffae9fc1f0 0x7fffacf16099()
00007fffae9fc2e0 libstdc++.so.6.0.28`__gxx_personality_v0+0x2bc()
00007fffae9fc4b0 libgcc_s.so.1`_Unwind_RaiseException_Phase2+0xa6()
00007fffae9fc860 libgcc_s.so.1`_Unwind_RaiseException+0x331()
00007fffae9fc890 libstdc++.so.6.0.28`__cxa_throw+0x40()
00007fffae9fc900 VBoxRT.so`_ZN3xml4FileC4ENS0_4ModeEPKcb.cold+0x73()
00007fffae9fc9b0 VBoxRT.so`xml::XmlFileParser::read+0x98()
00007fffae9fca10 settings::ConfigFileBase::ConfigFileBase+0xb8()
00007fffae9fca60 settings::MachineConfigFile::MachineConfigFile+0x1c()
00007fffae9fcb10 Machine::i_registeredInit+0x98()
00007fffae9fcb60 Machine::initFromSettings+0x7e()
00007fffae9fcbe0 VirtualBox::initMachines+0xc3()
00007fffae9fdcf0 VirtualBox::init+0xa99()
00007fffae9fdd10 VirtualBox::FinalConstruct+0x55()
00007fffae9fdd40 VirtualBoxConstructor+0x12a()
00007fffae9fdd50 VBoxXPCOM.so`nsGenericFactory::CreateInstance+0x1f()
00007fffae9fdda0 VBoxXPCOM.so`nsComponentManagerImpl::CreateInstance+0x7c()
00007fffae9fdea0 VBoxXPCOMIPCC.so`ipcDConnectService::OnSetup+0x88()
00007fffae9fdeb0 VBoxXPCOMIPCC.so`ipcDConnectService::OnIncomingRequest+0x1a()
00007fffae9fdf00 VBoxXPCOMIPCC.so`DConnectWorker::Run+0x137()
00007fffae9fdf20 VBoxXPCOM.so`nsThread::Main+0x23()
00007fffae9fdf40 VBoxXPCOM.so`_pt_root+0x86()
00007fffae9fdf50 VBoxXPCOM.so`_pt_iprt_root+0xc()
00007fffae9fdf70 VBoxRT.so`rtThreadMain+0x34()
00007fffae9fdfb0 VBoxRT.so`rtThreadNativeMain+0x43()
00007fffae9fdfe0 libc.so.1`_thrp_setup+0x77(7fffaea81240)
00007fffae9fdff0 libc.so.1`_lwp_start()
> ::objects
 BASE LIMIT SIZE NAME
 400000 b11000 711000 /opt/VirtualBox/amd64/VBoxSVC
 7fffad4a0000 7fffad4a2000 2000 /lib/amd64/libkstat.so.1
 7fffaec90000 7fffaeca8000 18000 /lib/amd64/libnvpair.so.1
 7fffa6f10000 7fffa6f2c000 1c000 /lib/amd64/libadm.so.1
 7fffaebe0000 7fffaec6b000 8b000 /lib/amd64/libnsl.so.1
 7fffad930000 7fffad958000 28000 /lib/amd64/libdevinfo.so.1
 7fffae280000 7fffae293000 13000 /lib/amd64/libsocket.so.1
 7fffa1170000 7fffa11ef000 7f000 /opt/VirtualBox/amd64/VBoxDDU.so
 7fffad4c0000 7fffad869000 3a9000 /opt/VirtualBox/amd64/VBoxRT.so
 7fffa178c000 7fffa1790000 4000 /lib/amd64/libthread.so.1
 7fffa1010000 7fffa114e000 13e000 /opt/VirtualBox/amd64/VBoxXPCOM.so
 7fffa8db0000 7fffa8df2000 42000 /usr/lib/amd64/libpng16.so.16.40.0
 7ffface10000 7fffad02b000 21b000 /usr/gcc/10/lib/amd64/libstdc++.so.6.0.28
 7fffacde0000 7fffacdfb000 1b000 /usr/gcc/10/lib/amd64/libgcc_s.so.1
 7fffaf2f0000 7fffaf467000 177000 /lib/amd64/libc.so.1
 7fffad480000 7fffad487000 7000 /lib/amd64/libcontract.so.1
 7fffad450000 7fffad46b000 1b000 /usr/lib/amd64/libsmbios.so.1
 7fffaed80000 7fffaef10000 190000 /usr/lib/amd64/libxml2.so.2.10.4
 7fffad370000 7fffad431000 c1000 /usr/lib/amd64/libcurl.so.4.8.0
 7fffad2d0000 7fffad34c000 7c000 /usr/openssl/1.0/lib/amd64/libssl.so.1.0.0
 7fffad050000 7fffad291000 241000 /usr/openssl/1.0/lib/amd64/libcrypto.so.1.0.0
 7fffad92e000 7fffad930000 2000 /lib/amd64/librt.so.1
 7fffa3b00000 7fffa3b02000 2000 /lib/amd64/libsendfile.so.1
 7fffaeff0000 7fffaf04e000 5e000 /lib/amd64/libm.so.2
 7fffacda0000 7fffacdc8000 28000 /usr/lib/amd64/libgsasl.so.7.10.0
 7fffacd60000 7fffacd8c000 2c000 /usr/lib/amd64/libgss.so.1
 7fffaca50000 7fffacd1d000 2cd000 /usr/openssl/1.1/lib/amd64/libcrypto.so.1.1
 7fffaecbd000 7fffaecc0000 3000 /lib/amd64/libpthread.so.1
 7fffa8400000 7fffa8402000 2000 /usr/lib/iconv/amd64/UTF-8%UTF-8.so
 7fffac720000 7fffac725000 5000 /lib/amd64/libmp.so.2
 7fffac770000 7fffac781000 11000 /lib/amd64/libmd.so.1
 7fffaa2a0000 7fffaa2b5000 15000 /lib/amd64/libsec.so.1
 7fffac590000 7fffac598000 8000 /lib/amd64/libgen.so.1
 7fffae250000 7fffae26b000 1b000 /usr/lib/amd64/libz.so.1.2.13
 7fffac540000 7fffac576000 36000 /usr/lib/amd64/liblzma.so.5.4.3
 7fffa0fe0000 7fffa0ff8000 18000 /usr/lib/amd64/libcares.so.2.6.1
 7fffa0f90000 7fffa0fc3000 33000 /usr/lib/amd64/libnghttp2.so.14.24.2
 7fffae630000 7fffae684000 54000 /usr/lib/amd64/libidn2.so.0.3.8
 7fffae450000 7fffae612000 1c2000 /usr/lib/amd64/libunistring.so.2.2.0
 7fffa0f40000 7fffa0f76000 36000 /usr/lib/amd64/libssh2.so.1.0.1
 7fffa0f10000 7fffa0f22000 12000 /usr/lib/amd64/libpsl.so.5.3.4
 7fffa3b20000 7fffa3bb9000 99000 /usr/openssl/1.1/lib/amd64/libssl.so.1.1
 7fffac990000 7fffac99f000 f000 /usr/lib/amd64/liblber-2.6.so.2.0.200
 7fffa19b0000 7fffa1a11000 61000 /usr/lib/amd64/libldap-2.6.so.2.0.200
 7fffa4300000 7fffa4410000 110000 /usr/lib/amd64/libzstd.so.1.5.5
 7fffa8c60000 7fffa8c6c000 c000 /usr/lib/amd64/libbrotlidec.so.1.0.9
 7fffa8c20000 7fffa8c41000 21000 /usr/lib/amd64/libbrotlicommon.so.1.0.9
 7fffaeb1f000 7fffaeb20000 1000 /lib/amd64/libdl.so.1
 7fffa0ec0000 7fffa0ef4000 34000 /usr/lib/amd64/libidn.so.12.6.1
 7fffaed10000 7fffaed13000 3000 /lib/amd64/libavl.so.1
 7fffa8bd0000 7fffa8be3000 13000 /usr/lib/amd64/libidmap.so.1
 7fffa8970000 7fffa8a6c000 fc000 /usr/lib/amd64/libgcrypt.so.20.4.2
 7fffac9b0000 7fffaca0e000 5e000 /lib/amd64/libresolv.so.2
 7fffac740000 7fffac759000 19000 /usr/lib/amd64/libsasl.so.1
 7fffaecd0000 7fffaecdb000 b000 /lib/amd64/libuutil.so.1
 7fffa8480000 7fffa84ab000 2b000 /usr/lib/amd64/libgpg-error.so.0.34.0
 7fffa0e80000 7fffa0ea8000 28000 /opt/VirtualBox/amd64/components/VBoxXPCOMIPCC.so
 7fffae880000 7fffae8da000 5a000 /lib/amd64/libzfs.so.1
 7fffae7b0000 7fffae829000 79000 /lib/amd64/libumem.so.1
 7fffae740000 7fffae788000 48000 /usr/lib/fm/amd64/libtopo.so.1
 7fffae700000 7fffae720000 20000 /usr/lib/amd64/libshare.so.1
 7fffae6d0000 7fffae6d6000 6000 /lib/amd64/libzfs_core.so.1
 7fffa6fa0000 7fffa6fa6000 6000 /lib/amd64/libdevid.so.1
 7fffa6ef0000 7fffa6ef7000 7000 /lib/amd64/libdlpi.so.1
 7fffa6e90000 7fffa6eda000 4a000 /lib/amd64/libdladm.so.1
 7fffa8bb0000 7fffa8bb5000 5000 /lib/amd64/libinetutil.so.1
 7fffa8500000 7fffa8521000 21000 /usr/lib/amd64/libpool.so.1
 7fffac690000 7fffac6c7000 37000 /lib/amd64/libscf.so.1
 7fffa84e0000 7fffa84e6000 6000 /usr/lib/amd64/libexacct.so.1
 7fffa6e70000 7fffa6e78000 8000 /lib/amd64/librcm.so.1
 7fffa6e50000 7fffa6e5f000 f000 /lib/amd64/libvarpd.so.1
 7fffa6e30000 7fffa6e32000 2000 /usr/lib/amd64/libidspace.so.1
 7fffa6e10000 7fffa6e13000 3000 /usr/lib/amd64/librename.so.1
 7fffaf5aa000 7fffaf5fa000 50000 /lib/amd64/ld.so.1
> 

   
 
> 
> <signatureafterquotedtext>-- </signatureafterquotedtext>
> 
> 
Carsten


More information about the openindiana-discuss mailing list