VirtualBox

Opened 8 years ago

Closed 5 years ago

#16334 closed defect (obsolete)

Gnome3 hung up becase of Virtual box segmentation fault

Reported by: Yomo Owned by:
Component: other Version: VirtualBox 5.1.12
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

Suddenly gnome X-session was hung up under using VirtualBox. At that time it was logged below segmentation fault messages in syslog.

I rebooted machine so that it was impossible to re-start gdm3 using ssh (Hung up)

Dec 29 18:04:57 svyomo2 kernel: [686387.437725] VirtualBox[16764]: segfault at 18 ip 00007f4ddfa57a50 sp 00007fff2d37dad8 error 4 in libxcb.so.1.1.0[7f4ddfa49000+21000]
Dec 29 18:04:57 svyomo2 kernel: [686387.438186] VirtualBox[12935]: segfault at 18 ip 00007fa8ac3c4a50 sp 00007ffea8cefe88 error 4 in libxcb.so.1.1.0[7fa8ac3b6000+21000]
Dec 29 18:04:57 svyomo2 kernel: [686387.438458] VBoxDrvLinuxIOCtl: copy_to_user(0x7f4d67c06e00,,0x18); uCmd=0xc0305698!
Dec 29 18:05:03 svyomo2 gnome-session[12066]: (gnome-shell:12278): Gdk-WARNING **: gnome-shell: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:04 svyomo2 org.gtk.Private.UDisks2VolumeMonitor[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: メッセージを受信中にエラー: 接続が相手からリセットされました (g-io-error-quark, 0). Exiting.
Dec 29 18:05:04 svyomo2 gnome-session[12066]: (gnome-settings-daemon:12212): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:05 svyomo2 org.a11y.atspi.Registry[12177]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Dec 29 18:05:05 svyomo2 org.a11y.atspi.Registry[12177]: after 398405 requests (398405 known processed) with 0 events remaining.
Dec 29 18:05:13 svyomo2 org.gtk.Private.MTPVolumeMonitor[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:13 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:13 svyomo2 org.gtk.vfs.Daemon[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:13 svyomo2 iceweasel.desktop[12519]: firefox-esr: Fatal IO error 4 (システムコール割り込み) on X server :0.
Dec 29 18:05:13 svyomo2 gnome-session[12066]: ** (zeitgeist-datahub:12331): WARNING **: zeitgeist-datahub.vala:226: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Dec 29 18:05:17 svyomo2 gnome-session[12066]: Received signal:15->'Terminated'
Dec 29 18:05:28 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:29 svyomo2 gnome-session[12066]: x-session-manager[12066]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Dec 29 18:05:29 svyomo2 /etc/gdm3/Xsession[12066]: uim-candwin-gtk: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:29 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:29 svyomo2 gnome-session[12066]: (tracker-extract:12333): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Dec 29 18:05:29 svyomo2 gnome-session[12066]: (tracker-miner-fs:12332): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Dec 29 18:05:30 svyomo2 ca.desrt.dconf[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:30 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:31 svyomo2 /etc/gdm3/Xsession[12066]: :0: X IO error.
Dec 29 18:05:31 svyomo2 org.gtk.vfs.Daemon[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:31 svyomo2 org.gnome.Shell.CalendarServer[12138]: gnome-shell-calendar-server[12295]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
Dec 29 18:05:31 svyomo2 org.gnome.Shell.CalendarServer[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:32 svyomo2 kernel: [686421.948434] traps: TVGuiSlave.64[19935] general protection ip:7fc780ecda8d sp:7fc774df2760 error:0 in libc-2.19.so[7fc780e96000+1a1000]
Dec 29 18:05:32 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:32 svyomo2 gnome-session[12066]: Received signal:15->'Terminated'
Dec 29 18:05:32 svyomo2 org.gtk.Private.GPhoto2VolumeMonitor[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: uim <-> XIM bridge. Supporting multiple locales.
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: Using full-synchronous XIM event flow
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: Supported conversion engines:
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: direct (*)
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: anthy-utf8 (ja)
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: anthy (ja)
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: mozc (ja)
Dec 29 18:05:32 svyomo2 /etc/gdm3/Xsession[12066]: XMODIFIERS=@im=uim registered, selecting mozc (ja) as default conversion engine
Dec 29 18:05:32 svyomo2 org.gtk.Private.AfcVolumeMonitor[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:33 svyomo2 org.gnome.evolution.dataserver.Calendar4[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:33 svyomo2 org.gnome.Terminal[12138]: (gnome-terminal-server:12502): Gdk-WARNING **: gnome-terminal-server: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:33 svyomo2 vinagre.desktop[15300]: (vinagre:15300): Gdk-WARNING **: vinagre: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:34 svyomo2 gnome-session[12066]: (nm-applet:12314): Gdk-WARNING **: nm-applet: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:35 svyomo2 gnome-session[12066]: E: [pulseaudio] main.c: デーモンのキルに失敗しました: そのようなファイルやディレクトリはありません
Dec 29 18:05:35 svyomo2 iceweasel.desktop[12519]: xcb_connection_has_error() は真を返しました
Dec 29 18:05:35 svyomo2 org.gtk.vfs.Daemon[12138]: A connection to the bus can't be made
Dec 29 18:05:36 svyomo2 org.gtk.vfs.Daemon[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:37 svyomo2 org.gtk.Private.GoaVolumeMonitor[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: メッセージを受信中にエラー: 接続が相手からリセットされました (g-io-error-quark, 0). Exiting.
Dec 29 18:05:37 svyomo2 org.gnome.zeitgeist.Engine[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:37 svyomo2 /etc/gdm3/Xsession[12066]: (uim-toolbar:12161): Gdk-WARNING **: uim-toolbar: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:38 svyomo2 org.gtk.vfs.Daemon[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:39 svyomo2 org.gnome.zeitgeist.Engine[12138]: #033[31m[09:05:39.091639 WARNING]#033[0m zeitgeist-daemon.vala:449: The connection is closed
Dec 29 18:05:41 svyomo2 org.gnome.evolution.dataserver.Sources3[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:05:41 svyomo2 pulseaudio[7031]: [pulseaudio] pid.c: Stale PID file, overwriting.
Dec 29 18:05:42 svyomo2 org.gnome.zeitgeist.SimpleIndexer[12138]: ** (zeitgeist-fts:12364): WARNING **: zeitgeist-fts.vala:252: The connection is closed
Dec 29 18:05:42 svyomo2 gnome-session[12066]: (evolution-alarm-notify:12319): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.
Dec 29 18:05:48 svyomo2 pulseaudio[7031]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-Rlrh93i6H1: 接続を拒否されました
Dec 29 18:05:48 svyomo2 pulseaudio[7031]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-Rlrh93i6H1: 接続を拒否されました
Dec 29 18:05:53 svyomo2 gnome-session[12066]: (tracker-miner-fs:12332): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: 接続が閉じています
Dec 29 18:05:53 svyomo2 gnome-session[12066]: (tracker-miner-fs:12332): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: 接続が閉じています
Dec 29 18:05:54 svyomo2 org.freedesktop.Tracker1[12138]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Dec 29 18:06:00 svyomo2 gnome-session[12066]: (tracker-miner-fs:12332): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: 接続が閉じています
Dec 29 18:06:00 svyomo2 kernel: [686450.707361] sd 33:0:0:0: [sdp] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Dec 29 18:06:00 svyomo2 kernel: [686450.707364] sd 33:0:0:0: [sdp] tag#0 Sense Key : Hardware Error [current] [descriptor] 
Dec 29 18:06:00 svyomo2 kernel: [686450.707366] sd 33:0:0:0: [sdp] tag#0 Add. Sense: No additional sense information
Dec 29 18:06:00 svyomo2 kernel: [686450.707369] sd 33:0:0:0: [sdp] tag#0 CDB: ATA command pass through(12)/Blank a1 06 20 00 00 00 00 00 00 e5 00 00
Dec 29 18:06:01 svyomo2 kernel: [686451.314710] sd 33:0:0:0: [sdp] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Dec 29 18:06:01 svyomo2 kernel: [686451.314713] sd 33:0:0:0: [sdp] tag#0 Sense Key : Hardware Error [current] [descriptor] 
Dec 29 18:06:01 svyomo2 kernel: [686451.314715] sd 33:0:0:0: [sdp] tag#0 Add. Sense: No additional sense information
Dec 29 18:06:01 svyomo2 kernel: [686451.314718] sd 33:0:0:0: [sdp] tag#0 CDB: ATA command pass through(12)/Blank a1 06 20 da 00 00 4f c2 00 b0 00 00
Dec 29 18:06:12 svyomo2 gnome-session[12066]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Attachments (3)

Windows10-2016-12-25-17-08-59.log (98.0 KB ) - added by Yomo 8 years ago.
Virtual Box log
VBox.log.1 (273.7 KB ) - added by Don Hughes 7 years ago.
VBox.log.2.1 (288.6 KB ) - added by Don Hughes 6 years ago.
VBox log

Download all attachments as: .zip

Change History (12)

by Yomo, 8 years ago

Virtual Box log

comment:1 by Frank Mehnert, 8 years ago

Description: modified (diff)

comment:2 by Don Hughes, 7 years ago

Similar problem with VB 5.1.28 with Linux host and Windows 10 guest. After working for several hours, guest will freeze and host logs the following:

/< snip >/

Oct 4 10:52:57 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 11:20:03 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 11:45:51 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 11:46:55 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 11:57:51 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 13:12:58 Gull2 kernel: usb 1-2.4: Manufacturer: Logitech Oct 4 13:16:32 Gull2 kernel: device Net1 left promiscuous mode Oct 4 13:16:32 Gull2 kernel: vboxnetflt: 0 out of 18116285 packets were not sent (directed to host) Oct 4 13:17:47 Gull2 kernel: VirtualBox[1942]: segfault at 18 ip 00007fee82894940 sp 00007ffff606fd98 error 4 in libxcb.so.1.1.0[7fee82885000+1f000]

-- system rebooted --

Oct 4 13:21:13 Gull2 kernel: vboxdrv: 0000000000000000 VMMR0.r0 Oct 4 13:21:13 Gull2 kernel: vboxdrv: 0000000000000000 VBoxDDR0.r0 Oct 4 13:21:14 Gull2 kernel: VBoxNetFlt: attached to 'Net1' / ec:b1:d7:37:82:1c Oct 4 13:21:14 Gull2 kernel: vboxdrv: 0000000000000000 VBoxEhciR0.r0 Oct 4 13:21:14 Gull2 kernel: device Net1 entered promiscuous mode

This has happened 3 or 4 times since upgrading to VB5.1.28

VB log attached

by Don Hughes, 7 years ago

Attachment: VBox.log.1 added

comment:3 by pazta, 7 years ago

About similar problem with Ubuntu 14.04 & Virtualbox 5.1.30 & W10 client. After coming back to console W10 client left open (as detachable started GUI topmost, was left alone ~1 day), guest (or Unity deskptop) was freezed. I CTRL-ALT-F1 to terminal and saved VM by vboxmanage controlvm W10 savestate. Savestate went to finish and after that dmesg logs this (no segfault before savestate):

-----
[to loka 26 00:00:01 2017] Process accounting resumed
[to loka 26 09:01:40 2017] audit: type=1400 audit(1508997701.293:60): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=29833 comm="apparmor_parser"
[to loka 26 09:01:40 2017] audit: type=1400 audit(1508997701.293:61): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/usr/sbin/cupsd" pid=29833 comm="apparmor_parser"
[to loka 26 17:50:30 2017] device eth1 left promiscuous mode
[to loka 26 17:51:50 2017] vboxnetflt: 15828415 out of 39185749 packets were not sent (directed to host)
[to loka 26 17:53:28 2017] VirtualBox[29072]: segfault at 18 ip 00007f4b00a03000 sp 00007fff90041488 error 4 in libxcb.so.1.1.0[7f4b009f5000+1d000]
----
Last edited 7 years ago by pazta (previous) (diff)

comment:4 by Don Hughes, 6 years ago

Same problem with VB 6.0.8. Linux OpenSuSE Leap 15.1 host Windows 10 guest. Has happened a number of times overnight with the system idle. The guest is unresponsive with two CPUs running at 100%.

May 17 22:08:13 Snipe kernel: perf interrupt took too long (5042 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 May 18 07:12:03 Snipe kernel: VirtualBoxVM[2424]: segfault at 18 ip 00007f2afbdef960 sp 00007ffd846bfb18 error 4 in libxcb.so.1.1.0[7f2afbde0000+1f000] May 18 07:12:03 Snipe kernel: device Net1 left promiscuous mode May 18 07:12:03 Snipe kernel: vboxnetflt: 0 out of 1398236 packets were not sent (directed to host)

by Don Hughes, 6 years ago

Attachment: VBox.log.2.1 added

VBox log

comment:5 by Michael Thayer, 6 years ago

@...don Would you be able to get a stack trace? This is the debug information for the openSUSE 15.0 package:

https://www.virtualbox.org/download/testcase/VirtualBox-6.0-debuginfo-6.0.8_130520_openSUSE150-1.x86_64.rpm

You may need to fiddle a bit due to the setuid binary.

comment:6 by Don Hughes, 6 years ago

I was mistaken, this host was still at Leap 42.3. I have now upgraded to Leap 15.0 and it has not yet reoccurred, but it was somewhat infrequent. If it does, I will try for a stack trace. When I killed the X server, it did generate a coredump which I did not keep, but I can save the next one if that would help.

comment:7 by Michael Thayer, 6 years ago

I would prefer if you could get the stack trace, and of the VirtualBoxVM process (you may need to enable setuid process core dumps). Core dumps are good for debugging on the system they were generated on, but extremely painful if you don't have access to that system.

comment:8 by Michael Thayer, 6 years ago

I meant "the stack trace of the VirtualBoxVM process" - just realised that I wrote it somewhat unclearly.

comment:9 by aeichner, 5 years ago

Resolution: obsolete
Status: newclosed

No follow up form the reporter, closing.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette