Bug 827932 - [abrt] gnome-boxes-3.4.2-1.fc17: gvir_config_object_to_xml: Process /usr/bin/gnome-boxes was killed by signal 11 (SIGSEGV)
Summary: [abrt] gnome-boxes-3.4.2-1.fc17: gvir_config_object_to_xml: Process /usr/bin/...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-boxes
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:531dca78ba231873adcac95c076...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-03 21:05 UTC by Dandim
Modified: 2013-07-31 22:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-31 22:07:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (38.19 KB, text/plain)
2012-06-03 21:05 UTC, Dandim
no flags Details
File: xsession_errors (8.66 KB, text/plain)
2012-06-03 21:05 UTC, Dandim
no flags Details
File: maps (79.82 KB, text/plain)
2012-06-03 21:05 UTC, Dandim
no flags Details
File: dso_list (16.92 KB, text/plain)
2012-06-03 21:05 UTC, Dandim
no flags Details

Description Dandim 2012-06-03 21:05:23 UTC
libreport version: 2.0.10
abrt_version:   2.0.10
backtrace_rating: 4
cmdline:        gnome-boxes
comment:        When i select ISO a receive alert from SElinux.
crash_function: gvir_config_object_to_xml
executable:     /usr/bin/gnome-boxes
kernel:         3.3.7-1.fc17.x86_64
pid:            20036
pwd:            /home/daniel
time:           So 2. červen 2012, 23:47:01 CEST
uid:            1000
username:       daniel

backtrace:      Text file, 39111 bytes
dso_list:       Text file, 17322 bytes
maps:           Text file, 81732 bytes
xsession_errors: Text file, 8863 bytes

cgroup:
:9:perf_event:/
:8:blkio:/
:7:net_cls:/
:6:freezer:/
:5:devices:/
:4:memory:/
:3:cpuacct,cpu:/
:2:cpuset:/
:1:name=systemd:/user/daniel/8

core_backtrace:
:9ebbc95237fd27ca4d4e121de0d0206402a8ea5b 0xb170 gvir_config_object_to_xml libvirt-gconfig-1.0.so.0 -
:055e2d2da8c4eb51ffbb11817ba4268da0af14f7 0x3157f - [exe] -
:055e2d2da8c4eb51ffbb11817ba4268da0af14f7 0x1f735 boxes_app_select_item [exe] -
:055e2d2da8c4eb51ffbb11817ba4268da0af14f7 0x219b5 - [exe] -
:31243d0d107bba586a96433c76c87a26db1e826c 0x1280e g_cclosure_marshal_VOID__BOXEDv libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0xf943 - libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0x27d88 g_signal_emit_valist libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0x287c2 g_signal_emit libgobject-2.0.so.0 -
:055e2d2da8c4eb51ffbb11817ba4268da0af14f7 0x47b4c - [exe] -
:710b0d8cc36603d66327090defd37c99daa38f28 0x17acc9 - libgtk-3.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0xf664 g_closure_invoke libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0x206d8 - libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0x282a7 g_signal_emit_valist libgobject-2.0.so.0 -
:31243d0d107bba586a96433c76c87a26db1e826c 0x287c2 g_signal_emit libgobject-2.0.so.0 -
:710b0d8cc36603d66327090defd37c99daa38f28 0x2a2d0e - libgtk-3.so.0 -
:710b0d8cc36603d66327090defd37c99daa38f28 0x178d96 - libgtk-3.so.0 -
:710b0d8cc36603d66327090defd37c99daa38f28 0x17a9a3 gtk_main_do_event libgtk-3.so.0 -
:8b33feb27b2125997520fdd21c90c42a65e438f1 0x48e62 - libgdk-3.so.0 -
:e5945f7dae3fc83ad499da1ea5a464bfa0e68202 0x476e5 g_main_context_dispatch libglib-2.0.so.0 -
:e5945f7dae3fc83ad499da1ea5a464bfa0e68202 0x47a18 - libglib-2.0.so.0 -
:e5945f7dae3fc83ad499da1ea5a464bfa0e68202 0x47ad4 g_main_context_iteration libglib-2.0.so.0 -
:6ffd106c467fc2bbbe04c9509d66f7d97d2a751f 0x97dec g_application_run libgio-2.0.so.0 -
:055e2d2da8c4eb51ffbb11817ba4268da0af14f7 0x397a0 _vala_main [exe] -

environ:
:XDG_VTNR=2
:XDG_SESSION_ID=8
:HOSTNAME=daniel
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:SHELL=/bin/bash
:TERM=dumb
:HISTSIZE=1000
:GNOME_KEYRING_CONTROL=/run/user/daniel/keyring-QcNiVF
:QT_GRAPHICSSYSTEM_CHECKED=1
:IMSETTINGS_MODULE=none
:USER=daniel
:MAIL=/var/spool/mail/daniel
:PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/daniel/.local/bin:/home/daniel/bin
:DESKTOP_SESSION=gnome
:QT_IM_MODULE=xim
:PWD=/home/daniel
:XMODIFIERS=@im=none
:GNOME_KEYRING_PID=8402
:LANG=cs_CZ.utf8
:GDM_LANG=cs_CZ.utf8
:GDMSESSION=gnome
:HISTCONTROL=ignoredups
:XDG_SEAT=seat0
:HOME=/home/daniel
:SHLVL=1
:LOGNAME=daniel
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ElSHCYiWQ0,guid=279e5a40d4cb1a2fbf0d1ed90000375f
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:WINDOWPATH=2
:XDG_RUNTIME_DIR=/run/user/daniel
:DISPLAY=:0
:XAUTHORITY=/var/run/gdm/auth-for-daniel-FAFNOU/database
:_=/usr/bin/gnome-session
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/8406,unix/unix:/tmp/.ICE-unix/8406
:SSH_AUTH_SOCK=/run/user/daniel/keyring-QcNiVF/ssh
:GPG_AGENT_INFO=/run/user/daniel/keyring-QcNiVF/gpg:0:1
:GJS_DEBUG_OUTPUT=stderr
:'GJS_DEBUG_TOPICS=JS ERROR;JS LOG'
:GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gnome-boxes.desktop
:GIO_LAUNCHED_DESKTOP_FILE_PID=20036
:DESKTOP_STARTUP_ID=gnome-shell-8606-daniel-gnome-boxes-21_TIME41699070

limits:
:Limit                     Soft Limit           Hard Limit           Units     
:Max cpu time              unlimited            unlimited            seconds   
:Max file size             unlimited            unlimited            bytes     
:Max data size             unlimited            unlimited            bytes     
:Max stack size            8388608              unlimited            bytes     
:Max core file size        0                    unlimited            bytes     
:Max resident set          unlimited            unlimited            bytes     
:Max processes             1024                 63219                processes 
:Max open files            1024                 4096                 files     
:Max locked memory         65536                65536                bytes     
:Max address space         unlimited            unlimited            bytes     
:Max file locks            unlimited            unlimited            locks     
:Max pending signals       63219                63219                signals   
:Max msgqueue size         819200               819200               bytes     
:Max nice priority         0                    0                    
:Max realtime priority     0                    0                    
:Max realtime timeout      unlimited            unlimited            us        

open_fds:
:0:/dev/null
:pos:	0
:flags:	0100000
:1:/home/daniel/.xsession-errors
:pos:	137980
:flags:	0102002
:2:/home/daniel/.xsession-errors
:pos:	137980
:flags:	0102002
:3:socket:[273549]
:pos:	0
:flags:	02004002
:4:anon_inode:[eventfd]
:pos:	0
:flags:	02004002
:5:socket:[273342]
:pos:	0
:flags:	02004002
:6:/dev/dri/card0
:pos:	0
:flags:	0100002
:7:/dev/urandom
:pos:	0
:flags:	02100000
:8:socket:[270729]
:pos:	0
:flags:	02000002
:9:anon_inode:[eventfd]
:pos:	0
:flags:	02004002
:10:socket:[273555]
:pos:	0
:flags:	02004002
:11:anon_inode:[eventfd]
:pos:	0
:flags:	02004002
:12:anon_inode:[eventfd]
:pos:	0
:flags:	02004002
:13:socket:[275064]
:pos:	0
:flags:	02004002
:14:/home/daniel/.cache/tracker/meta.db
:pos:	1307648
:flags:	02100000
:15:/home/daniel/.cache/tracker/meta.db-wal
:pos:	966288
:flags:	02100002
:16:/home/daniel/.cache/tracker/meta.db-shm
:pos:	0
:flags:	0100002
:17:anon_inode:inotify
:pos:	0
:flags:	02004000
:18:/dev/urandom
:pos:	0
:flags:	02100000

smolt_data:
:
:
:Obecné
:=================================
:UUID: afb8543e-340a-44b4-9823-a4d60064e032
:OS: Fedora release 17 (Beefy Miracle)
:Výchozí startovací úroveň: Unknown
:Jazyk: cs_CZ.utf8
:Platfoma: x86_64
:BogoMIPS: 4589.42
:Výrobce CPU: GenuineIntel
:Model CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
:CPU Stepping: 7
:CPU Family: 6
:Číslo modelu CPU: 42
:Počet CPU: 4
:Rychlost CPU: 2301
:Systémová paměť: 7921
:Systémový odkládací prostor: 9983
:Výrobce: Hewlett-Packard
:Systém: HP ProBook 4530s A0001D02
:Formát desky: Notebook
:Jádro: 3.3.7-1.fc17.x86_64
:SELinux povolen: 1
:SELinux politika: targeted
:SELinux vynucen: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Zařízení
:=================================
:(6523:9106:4156:5756) pci, sdhci-pci, BASE, SD/MMC Host Controller
:(32902:7241:4156:5756) pci, None, PCI/ISA, HM65 Express Chipset Family LPC Controller
:(6523:9105:4156:5756) pci, None, BASE, Standard SD Host Controller
:(32902:278:4156:5756) pci, i915, VIDEO, 2nd Generation Core Processor Family Integrated Graphics Controller
:(32902:7190:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 4
:(32902:7184:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 1
:(32902:7186:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 2
:(5772:43:4156:5217) pci, ath9k, NETWORK, AR9285 Wireless Network Adapter (PCI-Express)
:(32902:7198:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 8
:(6523:9107:4156:5756) pci, jmb38x_ms, BASE, MS Host Controller
:(32902:7200:4156:5756) pci, snd_hda_intel, MULTIMEDIA, 6 Series/C200 Series Chipset Family High Definition Audio Controller
:(32902:7188:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 3
:(4147:404:4156:5757) pci, xhci_hcd, USB, uPD720200 USB 3.0 Host Controller
:(32902:7171:4156:5756) pci, ahci, STORAGE, 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
:(32902:7213:4156:5756) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
:(32902:7206:4156:5756) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
:(32902:260:4156:5756) pci, agpgart-intel, HOST/PCI, 2nd Generation Core Processor Family DRAM Controller
:(32902:7226:4156:5756) pci, None, SIMPLE, 6 Series/C200 Series Chipset Family MEI Controller #1
:(32902:7194:4156:5756) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 6
:(4332:33128:4156:5757) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller
:
:
:Informace o souborovém systému
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_daniel-lv_root / ext4 4096 4096 13092026 11671755 11540705 3276800 3142473 3142473
:/dev/sda1 /boot ext4 1024 1024 508745 423998 398398 128016 127660 127660
:/dev/mapper/vg_daniel-lv_home /home ext4 4096 4096 140337219 85738443 78714213 35127296 35098663 35098663
:

var_log_messages:
:May 30 20:45:58 daniel yum[28459]: Installed: gnome-boxes-3.4.1-2.fc17.x86_64
:Jun  1 21:14:55 daniel yum[28393]: Updated: gnome-boxes-3.4.2-1.fc17.x86_64
:Jun  2 23:47:01 daniel kernel: [41715.860556] gnome-boxes[20036]: segfault at 18 ip 0000003d2d20b170 sp 00007fff8d84e1e8 error 4 in libvirt-gconfig-1.0.so.0.0.8[3d2d200000+26000]
:Jun  2 23:47:02 daniel abrt[20139]: Saved core dump of pid 20036 (/usr/bin/gnome-boxes) to /var/spool/abrt/ccpp-2012-06-02-23:47:01-20036 (129097728 bytes)

Comment 1 Dandim 2012-06-03 21:05:30 UTC
Created attachment 588933 [details]
File: backtrace

Comment 2 Dandim 2012-06-03 21:05:33 UTC
Created attachment 588934 [details]
File: xsession_errors

Comment 3 Dandim 2012-06-03 21:05:37 UTC
Created attachment 588935 [details]
File: maps

Comment 4 Dandim 2012-06-03 21:05:39 UTC
Created attachment 588936 [details]
File: dso_list

Comment 5 Zeeshan Ali 2012-06-03 21:28:43 UTC
I know some would say that we should still fix the crash in boxes itself but IMO selinux shouldn't block us in the first place so we wont have any crashes to fix.

*** This bug has been marked as a duplicate of bug 802551 ***

Comment 6 Christophe Fergeau 2012-06-04 08:14:18 UTC
(In reply to comment #5)
> I know some would say that we should still fix the crash in boxes itself but
> IMO selinux shouldn't block us in the first place so we wont have any
> crashes to fix.
> 
> *** This bug has been marked as a duplicate of bug 802551 ***

SELinux denials used to only cause "Box creation failed" errors, and this bug is about a crash. Not even looking at what causes the NULL deref is definitely not how we'll get robust software.

Comment 7 Christophe Fergeau 2012-06-04 08:18:19 UTC
(In reply to comment #5)
> IMO selinux shouldn't block us in the first place so we wont have any
> crashes to fix.
> 

Isn't it something a sysadmin could do if he wants to prevent some users to launch/create VMs?

Comment 8 Christophe Fergeau 2012-06-04 08:32:41 UTC
The log has
(gnome-boxes:20036): Boxes-CRITICAL **: libvirt-machine.vala:95: Failed to fetch configuration for domain 'Mageia-2-LiveCD-GNOME-Europe1-Americas-x86_64-CD.iso 2': Unable to get domain XML config: Cannot write data: Roura přerušena (SIGPIPE)

so the connection to libvirt got destroyed somehow (or access to it was blocked). This warning comes from LibvirtMachine::update_domain_config which initializes domain_config when all goes well.

LibvirtMachine::update_display does

update_domain_config ();
try {
    var xmldoc = domain_config.to_xml ();

which will crash if update_domain_config failed to set domain_config

Comment 9 Basil Mohamed Gohar 2012-06-12 19:10:12 UTC
I ran into several SELinux alerts with running Boxes due to trying to access ISO images on an NFS share, apparently.  I suspect the box entry in the menu wasn't fully created, so clicking-on it caused this error.

backtrace_rating: 4
Package: gnome-boxes-3.4.3-1.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 10 Michael Stahl 2012-07-01 21:05:33 UTC
1. started boxes for first time, tried to create box from ISO
2. failed with some SELinux problem with the log file
3. clicked "cancel" on the "preparing" screen
4. Boxes displayed overview
5. clicked on the newly-created Box that wasn't finished
6. crash


backtrace_rating: 4
Package: gnome-boxes-3.4.3-2.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 11 Christophe Fergeau 2012-07-02 08:55:31 UTC
And you got this backtrace? Can you file another bug about the selinux issue you got?

Comment 12 Jakub Kucharski 2012-07-13 09:02:10 UTC
I downloaded openSUSE 12.1 x86_64 DVD iso image. Then I run GNOME Boxes. I showed me the screen of creating a new virtual machine and I chose openSUSE. Then I clicked "forward" button then "create" button and it crashed.

backtrace_rating: 4
Package: gnome-boxes-3.4.3-2.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 13 Fedora End Of Life 2013-07-03 21:12:46 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 Fedora End Of Life 2013-07-31 22:07:33 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.