Bug 452997

Summary: SIGSEGV running im-chooser
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: im-chooserAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: eng-i18n-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-27 14:23:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2008-06-26 14:42:52 UTC
Description of problem:
Get a SIGSEGV running im-chooser, after getting popup stating "Unable to get
Input Method information ---- no input methods on your system"

Here is output from gdb:

[tbl@localhost ~]$ gdb im-chooser
GNU gdb Fedora (6.8-12.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Missing separate debuginfos, use: debuginfo-install im-chooser.i386
(gdb) quit
[tbl@localhost ~]$ gdb im-chooser
GNU gdb Fedora (6.8-12.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/bin/im-chooser 

(im-chooser:6142): IMSettings-WARNING **: Failed to invoke a method
`GetInfoObjects' on com.redhat.imsettings.IMInfo:
  No input methods available on your system.

(im-chooser:6142): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops !=
NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x0804b681 in _im_chooser_simple_update_im_list (im=0x809b400)
    at im-chooser-simple.c:735
735		for (i = 0; i < array->len; i++) {
(gdb) where
#0  0x0804b681 in _im_chooser_simple_update_im_list (im=0x809b400)
    at im-chooser-simple.c:735
#1  0x0804c34a in im_chooser_simple_get_widget (im=0x809b400)
    at im-chooser-simple.c:912
#2  0x0804b027 in main (argc=134802664, argv=0x1) at main.c:125
(gdb) 


Version-Release number of selected component (if applicable):
im-chooser-1.1.0-1.fc10.i386

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tom London 2008-06-26 14:53:39 UTC
A bit more:
Program received signal SIGSEGV, Segmentation fault.
0x0804b681 in _im_chooser_simple_update_im_list (im=0x809b400)
    at im-chooser-simple.c:735
735		for (i = 0; i < array->len; i++) {
(gdb) where
#0  0x0804b681 in _im_chooser_simple_update_im_list (im=0x809b400)
    at im-chooser-simple.c:735
#1  0x0804c34a in im_chooser_simple_get_widget (im=0x809b400)
    at im-chooser-simple.c:912
#2  0x0804b027 in main (argc=134802664, argv=0x1) at main.c:125
(gdb) print i
$1 = 1
(gdb) print array->len
Cannot access memory at address 0x4
(gdb) print array
$2 = (GPtrArray *) 0x0
(gdb) 

array NULL ?

Comment 2 Akira TAGOH 2008-06-27 03:05:42 UTC
Thanks. that issue should be gone in the previous release though, seems missed some.
Anyway, fixed in 1.1.1-1.fc10.

Comment 3 Tom London 2008-06-27 14:23:50 UTC
Verified.  No longer SIGSEGVs in im-chooser-1.1.1-1.fc10.i386.