Bug 452997 - SIGSEGV running im-chooser
SIGSEGV running im-chooser
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: im-chooser (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Akira TAGOH
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-26 10:42 EDT by Tom London
Modified: 2008-06-27 10:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-27 10:23:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom London 2008-06-26 10:42:52 EDT
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 10:53:39 EDT
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-26 23:05:42 EDT
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 10:23:50 EDT
Verified.  No longer SIGSEGVs in im-chooser-1.1.1-1.fc10.i386.

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