Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 452997 - SIGSEGV running im-chooser
Summary: SIGSEGV running im-chooser
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: im-chooser
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-26 14:42 UTC by Tom London
Modified: 2008-06-27 14:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-27 14:23:50 UTC


Attachments (Terms of Use)

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.


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