Bug 773592

Summary: [abrt] gjs-1.30.0-1.fc16: gdk_screen_get_width: Process /usr/bin/gjs-console was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Mike Manilone <crtmike>
Component: gjsAssignee: Colin Walters <walters>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: otaylor, walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ba1dcdb71815bcf1bc45da3555a52ec89439f277
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-12 17:27:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: dso_list
none
File: maps
none
File: backtrace none

Description Mike Manilone 2012-01-12 10:59:30 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
backtrace_rating: 4
cmdline:        gjs
crash_function: gdk_screen_get_width
executable:     /usr/bin/gjs-console
kernel:         3.1.7-1.fc16.x86_64
pid:            9050
pwd:            /home/mike
reason:         Process /usr/bin/gjs-console was killed by signal 11 (SIGSEGV)
time:           Thu 12 Jan 2012 06:40:36 PM CST
uid:            1000
username:       mike
var_log_messages: Jan 12 18:40:36 laptop abrt[9055]: Saved core dump of pid 9050 (/usr/bin/gjs-console) to /var/spool/abrt/ccpp-2012-01-12-18:40:36-9050 (16850944 bytes)

backtrace:      Text file, 26044 bytes
dso_list:       Text file, 6082 bytes
maps:           Text file, 22678 bytes

comment:
:just run the following code,
:
:const Gtk = imports.gi.Gtk;
:var window=new Gtk.Window();
:window.show()

environ:
:LANG=en_US.utf8
:DISPLAY=:0
:SHLVL=1
:LOGNAME=mike
:XDG_VTNR=1
:GNOME_KEYRING_PID=1482
:CVS_RSH=ssh
:IMSETTINGS_MODULE=IBus
:XAUTHORITY=/var/run/gdm/auth-for-mike-CeZrS2/database
:PWD=/home/mike
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:XDG_SESSION_ID=2
:DESKTOP_SESSION=gnome
:GDMSESSION=gnome
:GNOME_KEYRING_CONTROL=/tmp/keyring-e9Tu76
:USERNAME=mike
:WINDOWPATH=1
:COLORTERM=gnome-terminal
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ipzhUPx4Rx,guid=3ae35fc619eb2c13fa07e6a50000003c
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:HISTCONTROL=ignoredups
:MAIL=/var/spool/mail/mike
:_=/usr/bin/gjs
:'GJS_DEBUG_TOPICS=JS ERROR;JS LOG'
:XDG_SESSION_COOKIE=47730a02d0911f62624fdfce0000000e-1326358407.3699-1754892653
:GDM_LANG=en_US.utf8
:OLDPWD=/home/mike
:HOSTNAME=laptop.mike
:SHELL=/bin/zsh
:GJS_DEBUG_OUTPUT=stderr
:TERM=xterm
:QT_IM_MODULE=xim
:HISTSIZE=1000
:SSH_AUTH_SOCK=/tmp/keyring-e9Tu76/ssh
:PATH=/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/home/mike/bin:/usr/local/sbin:/usr/sbin:/sbin
:WINDOWID=33554437
:HOME=/home/mike
:XDG_SEAT=seat0
:XMODIFIERS=@im=ibus
:XDG_RUNTIME_DIR=/run/user/mike
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1487,unix/unix:/tmp/.ICE-unix/1487
:GPG_AGENT_INFO=/tmp/keyring-e9Tu76/gpg:0:1
:USER=mike
:LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:*.pdf=00;33:*.ps=00;33:*.ps.gz=00;33:*.txt=00;33:*.patch=00;33:*.diff=00;33:*.log=00;33:*.tex=00;33:*.xls=00;33:*.xlsx=00;33:*.ppt=00;33:*.pptx=00;33:*.rtf=00;33:*.doc=00;33:*.docx=00;33:*.odt=00;33:*.ods=00;33:*.odp=00;33:*.xml=00;33:*.epub=00;33:*.abw=00;33:*.html=00;33:*.wpd=00;33:

smolt_data:
:
:
:General
:=================================
:UUID: e38c8efc-3347-44ea-9bb7-1da51cb9a3a5
:OS: Fedora release 16 (Verne)
:Default run level: Unknown
:Language: en_US.utf8
:Platform: x86_64
:BogoMIPS: 5054.29
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz
:CPU Stepping: 5
:CPU Family: 6
:CPU Model Num: 37
:Number of CPUs: 4
:CPU Speed: 2527
:System Memory: 3820
:System Swap: 5871
:Vendor: Dell Inc.
:System: Vostro 3400 A10
:Form factor: Portable
:Kernel: 3.1.7-1.fc16.x86_64
:SELinux Enabled: 1
:SELinux Policy: targeted
:SELinux Enforce: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(32902:11362:32902:32902) pci, None, HOST/PCI, Core Processor QuickPath Architecture Generic Non-core Registers
:(32902:11521:32902:32902) pci, None, HOST/PCI, Core Processor QuickPath Architecture System Address Decoder
:(32902:68:4136:1088) pci, None, HOST/PCI, Core Processor DRAM Controller
:(32902:69:4136:1088) pci, pcieport, PCI/PCI, Core Processor PCI Express x16 Root Port
:(32902:11536:32902:32902) pci, None, HOST/PCI, Core Processor QPI Link 0
:(32902:11537:32902:32902) pci, None, HOST/PCI, Core Processor QPI Physical 0
:(32902:11538:32902:32902) pci, None, HOST/PCI, Core Processor Reserved
:(32902:11539:32902:32902) pci, None, HOST/PCI, Core Processor Reserved
:(32902:15152:4136:1088) pci, i801_smbus, SERIAL, 5 Series/3400 Series Chipset SMBus Controller
:(32902:15151:4136:1088) pci, ahci, STORAGE, 5 Series/3400 Series Chipset 6 port SATA AHCI Controller
:(32902:15115:4136:1088) pci, None, PCI/ISA, Mobile 5 Series Chipset LPC Interface Controller
:(32902:9288:4136:1088) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(5348:18215:4136:16) pci, brcmsmac, NETWORK, XPS 8300
:(32902:15164:4136:1088) pci, ehci_hcd, USB, 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
:(32902:15156:4136:1088) pci, ehci_hcd, USB, 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
:(32902:15204:4136:1088) pci, None, SIMPLE, 5 Series/3400 Series Chipset HECI Controller
:(32902:15174:4136:1088) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 3
:(32902:15170:4136:1088) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 1
:(32902:15172:4136:1088) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 2
:(32902:15178:4136:1088) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 5
:(32902:15190:4136:1088) pci, snd_hda_intel, MULTIMEDIA, 5 Series/3400 Series Chipset High Definition Audio
:(4318:3043:4136:1088) pci, snd_hda_intel, MULTIMEDIA, High Definition Audio Controller
:(4318:2677:4136:1088) pci, nouveau, VIDEO, GT218 [GeForce 310M]
:(4332:33128:4136:1088) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sda5 / ext4 4096 4096 50698982 44023919 41448559 12877824 12650419 12650419
:/dev/sda4 /home ext4 4096 4096 67875456 67391588 63943704 17244160 17234442 17234442
:/dev/sda2 /boot ext4 1024 1024 495844 436862 411262 128016 127792 127792
:

Comment 1 Mike Manilone 2012-01-12 10:59:34 UTC
Created attachment 552378 [details]
File: dso_list

Comment 2 Mike Manilone 2012-01-12 10:59:38 UTC
Created attachment 552379 [details]
File: maps

Comment 3 Mike Manilone 2012-01-12 10:59:42 UTC
Created attachment 552380 [details]
File: backtrace

Comment 4 Owen Taylor 2012-01-12 17:27:44 UTC
You need to call Gtk.init(null, null) before using GTK+ functions.

(I agree this isn't the greatest failure mode. The problem with really improving it is that there's no way to throw exceptions from arbitrary GTK+ functions that propagate back as GTK+ exceptions ... only functions that take a GError * can throw a GTK+ exceptions.)