[oi-dev] Virtualbox crash
Carsten Grzemba
grzemba at contac-dt.de
Mon Aug 28 10:32:04 UTC 2023
Am 28.08.23 12:22 schrieb Stephan Althaus <Stephan.Althaus at Duedinghausen.eu>:
>
>
>
>
>
>
>
>
> On 8/28/23 11:30, Carsten Grzemba via oi-dev wrote:
>
>
> >
> > Currently the G++10 compiled Virtualbox crashs in exception handling. The stack looks similar to the problem with libexiv2 in https://www.illumos.org/issues/13824
> >
> > but it seems the correct libs are loaded in the correct sequence.
> >
> >
> >
> >
> > (gdb) bt
> > #0 0x00007fffaf4091ca in _lwp_kill () from /lib/64/libc.so.1
> > #1 0x00007fffaf3ffa9a in thr_kill () from /lib/64/libc.so.1
> > #2 0x00007fffaf39b762 in raise () from /lib/64/libc.so.1
> > #3 0x00007fffaf374fa8 in abort () from /lib/64/libc.so.1
> > #4 0x00007fffa67fa42d in ?? () from /usr/gcc/10/lib/amd64/libstdc++.so.6
> > #5 0x00007fffa67f7249 in ?? () from /usr/gcc/10/lib/amd64/libstdc++.so.6
> > #6 0x00007fffa67f6099 in ?? () from /usr/gcc/10/lib/amd64/libstdc++.so.6
> > #7 0x00007fffa67f6a8c in __gxx_personality_v0 () from /usr/gcc/10/lib/amd64/libstdc++.so.6
> > #8 0x00007fffa8235716 in _Unwind_RaiseException_Phase2 (exc=exc at entry=0xe5c410, context=context at entry=0x7fffadfce5a0,
> > frames_p=frames_p at entry=0x7fffadfce690)
> > at
> > /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/gcc-releases-gcc-10.5.0/libgcc/unwind.inc:64
> > #9 0x00007fffa8235dc1 in _Unwind_RaiseException (exc=0xe5c410)
> > at
> > /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/gcc-releases-gcc-10.5.0/libgcc/unwind.inc:136
> > #10 0x00007fffa67f7570 in __cxa_throw () from /usr/gcc/10/lib/amd64/libstdc++.so.6
> > #11 0x00000000007b1eb5 in Medium::i_queryInfo (this=this at entry=0xe004c0, fSetImageId=fSetImageId at entry=false,
> > fSetParentId=fSetParentId at entry=false, autoCaller=...)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:7176
> > #12 0x00000000007b2dc5 in Medium::refreshState (this=0xe004c0, autoCaller=..., aState=0xe0b1a0)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Main/src-server/MediumImpl.cpp:2180
> > #13 0x00000000009acf71 in MediumWrap::RefreshState (this=0xe004c0, aState=0xe0b1a0)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/out/solaris.amd64/debug/obj/VBoxAPIWrap/MediumWrap.cpp:1344
> > #14 0x00007fff8d47a040 in XPTC_InvokeByIndex (that=0xe00530, methodIndex=41, paramCount=1, params=0xe0b1a0)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp:221
> > #15 0x00007fff8f7b53f9 in ipcDConnectService::OnInvoke (this=0xcf6c40, peer=2, invoke=0xe0b170, opLen=18)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp:4076
> > #16 0x00007fff8f7b3f5d in ipcDConnectService::OnIncomingRequest (this=0xcf6c40, peer=2, op=0xe0b170, opLen=18)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp:3706
> > #17 0x00007fff8f7b1afb in DConnectWorker::Run (this=0xe0b650)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp:2979
> > #18 0x00007fff8d4637bc in nsThread::Main (arg=0xd9a100)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/xpcom/threads/nsThread.cpp:118
> > #19 0x00007fff8d4afdc1 in _pt_root (arg=0xe97870)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:224
> > #20 0x00007fff8d4aff0a in _pt_iprt_root (Thread=0xe2cbb0, pvUser=0xe97870)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptthread.c:272
> > #21 0x00007fff8d7d6563 in rtThreadMain (pThread=pThread at entry=0xe2cbb0, NativeThread=NativeThread at entry=11,
> > pszThreadName=pszThreadName at entry=0xe2d488 "nspr-3")
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Runtime/common/misc/thread.cpp:727
> > #22 0x00007fff8d8de1d3 in rtThreadNativeMain (pvArgs=0xe2cbb0)
> > at
> > /code/github/oi-userland/components/sysutils/virtualbox/build/amd64/src/VBox/Runtime/r3/posix/thread-posix.cpp:386
> >
> > #23 0x00007fffaf401de7 in _thrp_setup () from /lib/64/libc.so.1
> > #24 0x00007fffaf402130 in ?? () from /lib/64/libc.so.1
> >
> >
> >
> >
> >
> > or the mdb view:
> >
> > > $C
> > 00007fffae33c0e0 libc.so.1`_lwp_kill+0xa()
> > 00007fffae33c110 libc.so.1`raise+0x22(6)
> > 00007fffae33c160 libc.so.1`abort+0x58()
> > 00007fffae33c1a0 libstdc++.so.6.0.28`__gnu_cxx::__verbose_terminate_handler+0x65()
> > 00007fffae33c1c0 libstdc++.so.6.0.28`__cxxabiv1::__terminate+9()
> > 00007fffae33c1e0 0x7fffa67f6099()
> > 00007fffae33c2d0 libstdc++.so.6.0.28`__gxx_personality_v0+0x2bc()
> > 00007fffae33c4a0 libgcc_s.so.1`_Unwind_RaiseException_Phase2+0xa6()
> > 00007fffae33c850 libgcc_s.so.1`_Unwind_RaiseException+0x331()
> > 00007fffae33c880 libstdc++.so.6.0.28`__cxa_throw+0x40()
> > 00007fffae33ca70 Medium::i_queryInfo+0x2ae()
> > 00007fffae33cab0 Medium::refreshState+0xa5()
> > 00007fffae33cb00 MediumWrap::RefreshState+0x121()
> > 00007fffae33cbd0 VBoxXPCOM.so`XPTC_InvokeByIndex+0x1c7()
> > 00007fffae33cdd0 VBoxXPCOMIPCC.so`ipcDConnectService::OnInvoke+0x6cf()
> > 00007fffae33ce00 VBoxXPCOMIPCC.so`ipcDConnectService::OnIncomingRequest+0x7b()
> > 00007fffae33cea0 VBoxXPCOMIPCC.so`DConnectWorker::Run+0x20b()
> > 00007fffae33ced0 VBoxXPCOM.so`nsThread::Main+0xb4()
> > 00007fffae33cf00 VBoxXPCOM.so`_pt_root+0x10e()
> > 00007fffae33cf30 VBoxXPCOM.so`_pt_iprt_root+0x24()
> > 00007fffae33cf70 VBoxRT.so`rtThreadMain+0x53()
> > 00007fffae33cfb0 VBoxRT.so`rtThreadNativeMain+0x43()
> > 00007fffae33cfe0 libc.so.1`_thrp_setup+0x77(7fffaeac4a40)
> > 00007fffae33cff0 libc.so.1`_lwp_start()
> >
> >
> >
> >
> >
> > libgcc_s and libstdc++ seems to be loaded from the GCC10
> >
> >
> > > ::objects
> >
> > 7fffa66f0000 7fffa690b000 21b000 /usr/gcc/10/lib/amd64/libstdc++.so.6.0.28
> > 7fffa8220000 7fffa823b000 1b000 /usr/gcc/10/lib/amd64/libgcc_s.so.1
> >
> >
> >
> >
> >
> > The same Virtualbox version compiled with GCC7 works.
> >
> >
> > What could the problem be for this crash in exception handling?
> >
> > --
> >
> > Carsten
> >
> > <signatureafterquotedtext>
> > </signatureafterquotedtext>
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > oi-dev mailing list
> > oi-dev at openindiana.org
> > https://openindiana.org/mailman/listinfo/oi-dev
> >
>
> Hello!
>
> mate-system-monitor dumps core, because of a glib::gio dependency, because gio can't find(?) a filesystem-monitor-implementation : "g-io-error-quark: Unable to find default local file monitor type".. (see below)
>
>
> maybe this is also related to glib/gio ??
>
> There is a smartos commit:
>
> https://github.com/TritonDataCenter/illumos-joyent/commit/a9a246c0c49e192616e7499eaa2362b21fde8f5e
>
>
>
> Regards,
>
> Stpehan
>
>
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
--
Carsten
glib/gio or inotify is not involved here, not in GCC7 or in GCC10 build
0x00007fffaf5bf700 0x00007fffaf5f239e Yes (*) /lib/amd64/ld.so.1
0x00007fffad6115e0 0x00007fffad611eb1 Yes (*) /lib/64/libkstat.so.1
0x00007fffaec9b7b0 0x00007fffaeca6711 Yes (*) /lib/64/libnvpair.so.1
0x00007fffa50b97e0 0x00007fffa50c99d1 Yes (*) /lib/64/libadm.so.1
0x00007fffaec0f7e0 0x00007fffaec61501 Yes (*) /lib/64/libnsl.so.1
0x00007fffae24f6d0 0x00007fffae264d21 Yes (*) /lib/64/libdevinfo.so.1
0x00007fffae289040 0x00007fffae291ef1 Yes (*) /lib/64/libsocket.so.1
0x00007fff8da89d00 0x00007fff8db10eda Yes /opt/VirtualBox/amd64/VBoxDDU.so
0x00007fff8d66d230 0x00007fff8d90980a Yes /opt/VirtualBox/amd64/VBoxRT.so
Yes (*) /lib/64/libthread.so.1
0x00007fff8d3c10a0 0x00007fff8d4ba68f Yes /opt/VirtualBox/amd64/VBoxXPCOM.so
0x00007fffab3ae050 0x00007fffab3dcae2 Yes (*) /usr/lib/64/libpng16.so.16
0x00007fffa67f3940 0x00007fffa68f6351 Yes (*) /usr/gcc/10/lib/amd64/libstdc++.so.6
0x00007fffa82281a0 0x00007fffa82391c1 Yes /usr/gcc/10/lib/amd64/libgcc_s.so.1
0x00007fffaf3599c0 0x00007fffaf40a380 Yes (*) /lib/64/libc.so.1
0x00007fffac354470 0x00007fffac3566a1 Yes (*) /lib/64/libcontract.so.1
0x00007fffabd98d10 0x00007fffabda3171 Yes (*) /usr/lib/64/libsmbios.so.1
0x00007fffaede2d80 0x00007fffaeeeca67 Yes (*) /usr/lib/64/libxml2.so.2
0x00007fffa3c0f4d0 0x00007fffa3c902b1 Yes (*) /usr/lib/64/libcurl.so.4
0x00007fffa40c7c60 0x00007fffa411d231 Yes /lib/64/libssl.so.1.1
0x00007fffac8df000 0x00007fffaca8a201 Yes /lib/64/libcrypto.so.1.1
Yes (*) /lib/64/librt.so.1
0x00007fffa2af0f70 0x00007fffa2af11e1 Yes (*) /lib/64/libsendfile.so.1
0x00007fffaf004620 0x00007fffaf032291 Yes (*) /lib/64/libm.so.2
0x00007fffa3bade90 0x00007fffa3bc56a3 Yes (*) /usr/lib/64/libgsasl.so.7
0x00007fffac4c0770 0x00007fffac4d32c1 Yes (*) /usr/lib/64/libgss.so.1
Yes (*) /lib/64/libpthread.so.1
0x00007fffa97e0dd0 0x00007fffa97e11d1 Yes (*) /usr/lib/iconv/amd64/UTF-8%UTF-8.so
0x00007fffac7b2350 0x00007fffac7b47b1 Yes (*) /lib/64/libmp.so.2
0x00007fffac7d3200 0x00007fffac7dfa21 Yes (*) /lib/64/libmd.so.1
0x00007fffabce9c30 0x00007fffabcf28b1 Yes (*) /lib/64/libsec.so.1
0x00007fffad5f3a50 0x00007fffad5f7541 Yes (*) /lib/64/libgen.so.1
0x00007fffad5c4b10 0x00007fffad5d6231 Yes (*) /usr/lib/64/libz.so.1
0x00007fffad16c370 0x00007fffad18e741 Yes (*) /usr/lib/64/liblzma.so.5
0x00007fffa3b26d30 0x00007fffa3b36bb5 Yes (*) /usr/lib/64/libcares.so.2
0x00007fffa3aaee90 0x00007fffa3ac8c31 Yes (*) /usr/lib/64/libnghttp2.so.14
0x00007fffae1b7c60 0x00007fffae1c17b1 Yes (*) /usr/lib/64/libidn2.so.0
0x00007fffadff40b0 0x00007fffae03a971 Yes (*) /usr/lib/64/libunistring.so.2
0x00007fffa39dc260 0x00007fffa39fef91 Yes (*) /usr/lib/64/libssh2.so.1
0x00007fffa3af21d0 0x00007fffa3af3f22 Yes (*) /usr/lib/64/libpsl.so.5
0x00007fffacb16060 0x00007fffacb1d551 Yes (*) /usr/lib/64/liblber-2.6.so.2
0x00007fffa3a3f0b0 0x00007fffa3a79b51 Yes (*) /usr/lib/64/libldap-2.6.so.2
0x00007fffa4e1c380 0x00007fffa4f0830f Yes (*) /usr/lib/64/libzstd.so.1
0x00007fffab3524f0 0x00007fffab3598da Yes (*) /usr/lib/64/libbrotlidec.so.1
0x00007fffab3111a0 0x00007fffab311cf2 Yes (*) /usr/lib/64/libbrotlicommon.so.1
Yes (*) /lib/64/libdl.so.1
0x00007fffa3b553e0 0x00007fffa3b5ae64 Yes (*) /usr/lib/64/libidn.so.12
0x00007fffaed11720 0x00007fffaed12341 Yes (*) /lib/64/libavl.so.1
0x00007fffabcb8100 0x00007fffabcc1a31 Yes (*) /usr/lib/64/libidmap.so.1
0x00007fffa560e470 0x00007fffa56adf48 Yes (*) /usr/lib/64/libgcrypt.so.20
0x00007fffad0fdee0 0x00007fffad138da1 Yes (*) /lib/64/libresolv.so.2
0x00007fffac598610 0x00007fffac5a7241 Yes (*) /usr/lib/64/libsasl.so.1
0x00007fffaecf5100 0x00007fffaecf96e1 Yes (*) /lib/64/libuutil.so.1
0x00007fffab29c750 0x00007fffab2b4a95 Yes (*) /usr/lib/64/libgpg-error.so.0
0x00007fff8f7a3b80 0x00007fff8f7c2f59 Yes /opt/VirtualBox/amd64/components/VBoxXPCOMIPCC.so
0x00007fffae8da0e0 0x00007fffae90d931 Yes (*) /lib/64/libzfs.so
0x00007fffae8583b0 0x00007fffae864aa1 Yes (*) /lib/64/libumem.so.1
0x00007fffae79b4f0 0x00007fffae7c1831 Yes (*) /usr/lib/fm/amd64/libtopo.so
0x00007fffae74da60 0x00007fffae75f081 Yes (*) /usr/lib/amd64/libshare.so.1
0x00007fffae7131d0 0x00007fffae7154b1 Yes (*) /lib/64/libzfs_core.so.1
0x00007fffa51a2a70 0x00007fffa51a52c1 Yes (*) /lib/64/libdevid.so.1
0x00007fffa50933b0 0x00007fffa5095e61 Yes (*) /lib/64/libdlpi.so.1
0x00007fffa504e930 0x00007fffa50770e1 Yes (*) /lib/64/libdladm.so.1
0x00007fffabed2bc0 0x00007fffabed4a01 Yes (*) /lib/64/libinetutil.so.1
0x00007fffab78df00 0x00007fffab79f931 Yes (*) /usr/lib/64/libpool.so.1
0x00007fffabe541c0 0x00007fffabe744b1 Yes (*) /lib/64/libscf.so.1
0x00007fffab762ea0 0x00007fffab765c41 Yes (*) /usr/lib/64/libexacct.so.1
0x00007fffa5014030 0x00007fffa5016f81 Yes (*) /lib/64/librcm.so.1
0x00007fffa4ff7770 0x00007fffa4ffdec1 Yes (*) /lib/64/libvarpd.so.1
0x00007fffa4fd12c0 0x00007fffa4fd15d1 Yes (*) /usr/lib/64/libidspace.so.1
0x00007fffa4fb1700 0x00007fffa4fb2031 Yes (*) /usr/lib/64/librename.so.1
0x00007fffa76253b0 0x00007fffa762d4e1 Yes (*) /usr/lib/64/libhal.so.1
0x00007fffadad2760 0x00007fffadb0350b Yes (*) /usr/lib/64/libdbus-1.so.3
0x00007fffac42aec0 0x00007fffac441541 Yes (*) /lib/64/libbsm.so.1
0x00007fffabf14de0 0x00007fffabf1b791 Yes (*) /lib/64/libtsol.so.2
0x00007fffabef3a60 0x00007fffabef5f31 Yes (*) /lib/64/libsecdb.so.1
Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20230828/b0baeb17/attachment-0001.html>
More information about the oi-dev
mailing list