Bug 625396

Summary: Tomoe handwriting recognition does not work (SCIM)
Product: [openSUSE] openSUSE 11.4 Reporter: Nickolai Kozlov <kolyanoid>
Component: OtherAssignee: Mike FABIAN <maiku.fabian>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alexo.veto, forgotten_EtyRTKGuHJ
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.4   
Whiteboard: .
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Deadline: 2010-09-06   
Attachments: fix the single stroke carsh issue

Description Nickolai Kozlov 2010-07-25 16:40:24 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6

When I choose "Handwriting recognition" from the SCIM menu nothing happens.
If I start it from the terminal, I get the following error:
scim-tomoe

/usr/bin/scim-tomoe: line 33: 12653 Segmentation fault                   /usr/lib64/scim-1.0/scim-helper-launcher tomoe b1bfe2b4-6930-41b0-8c07-d05bce8c92e2 $*




Reproducible: Always

Steps to Reproduce:
1. Install "scim-tomoe" and all the dependencies
2. Relogin to KDE
3. Start "scim-tomoe" from terminal or from SCIM menu ("Handwriting recognition").
Actual Results:  
Error in terminal output:
/usr/bin/scim-tomoe: line 33: 12653 Segmentation fault                   /usr/lib64/scim-1.0/scim-helper-launcher tomoe b1bfe2b4-6930-41b0-8c07-d05bce8c92e2 $*

Expected Results:  
Start handwriting recognition program scim-tomoe in a window.

I came across this bug in Opensuse 11.1, 11.2, 11.3

My default system language is Russian, no Japanese support enabled.


I have found exactly the same bug in Fedora bugzilla and it has been fixed there.
https://bugzilla.redhat.com/show_bug.cgi?id=502662
Comment 1 Alex Savin 2010-08-01 18:00:09 UTC
*** Bug 627319 has been marked as a duplicate of this bug. ***
Comment 2 Alex Savin 2010-08-02 14:23:16 UTC
bug fixed by this patch: "http://sourceforge.net/tracker/download.php?group_id=193138&atid=944219&file_id=329795&aid=2801559"

you can test it in this repos: http://download.opensuse.org/repositories/home:/alexqwesa:/branches:/openSUSE:/11.3:/Update:/Test/


but now, I get another error:
if search by 1 stroke - it crash (it default autosearch during input - often crash(you can just disable autosearch until it is not fixed...))


backtrace:
#0  0xb6ec15e0 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
#1  0xb785c9e9 in tomoe_candidate_compare (a=0x9942588, b=0x9942588) at tomoe-candidate.c:225
#2  0xb785e197 in _candidate_compare_func (a=0xa2ad830, b=0xa2b0350) at tomoe-context.c:298
#3  0xb6de82c1 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0xb6de8263 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0xb785eb95 in tomoe_context_search_by_strokes (context=0x80ae320, query=0x95fc2c0) at tomoe-context.c:337
#16 tomoe_context_search (context=0x80ae320, query=0x95fc2c0) at tomoe-context.c:377
#17 0xb7894cf2 in tomoe_canvas_real_find (canvas=0x94cb920) at tomoe-canvas.c:712
#18 0xb6eb735c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#19 0xb6e9c7be in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0xb6e9df42 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0xb6ead5bf in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xb6eb69c4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0xb6eb6b57 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0xb7895ac2 in tomoe_canvas_find (canvas=0x94cb920) at tomoe-canvas.c:1052
#25 0xb7895d7c in timeout_auto_find (user_data=0x94cb920) at tomoe-canvas.c:593
#26 0xb6dee2af in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb6decb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb6ded350 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb6deda0f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0xb710bd59 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb78ae3e7 in tomoe_LTX_scim_helper_module_run_helper () from /usr/lib/scim-1.0/1.4.0/Helper/tomoe.so
#32 0xb77bbe41 in scim::HelperModule::run_helper (this=0xbff764fc, uuid="b1bfe2b4-6930-41b0-8c07-d05bce8c92e2", config=..., display=":0")
    at scim_helper_module.cpp:123
#33 0x0804a5bb in main (argc=170580016, argv=0x0) at scim_helper_launcher.cpp:169
Comment 3 Alex Savin 2010-08-02 14:26:22 UTC
is this bug duplicate of https://bugzilla.novell.com/show_bug.cgi?id=450289 ?
Comment 4 Alex Savin 2010-08-02 14:32:03 UTC
(In reply to comment #2)
> but now, I get another error:
> if search by 1 stroke - it crash (it default autosearch during input - often
> crash(you can just disable autosearch until it is not fixed...))

sometimes two strokes, tested with ja locale

LC_ALL=ja_JP scim-tomoe
Comment 5 Alex Savin 2010-08-06 20:35:12 UTC
I make request #44573, this patch fix crash at start, there are still known issues, but at least you can use app

https://build.opensuse.org/request/show/44573
Comment 6 Christian Dengler 2010-08-09 15:30:08 UTC
for an update +1
Comment 7 Marcus Meissner 2010-08-09 15:34:45 UTC
i think then do it ... +1

please add a valid .changes entry too, 
osc vc   in the source directory, mention bnc#625396
then osc ci
Comment 8 Swamp Workflow Management 2010-08-09 16:18:25 UTC
The SWAMPID for this issue is 35056.
This issue was rated as low.
Please submit fixed packages until 2010-09-06.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/35056
Comment 9 Christian Dengler 2010-08-09 16:19:10 UTC
Be so kind and submit a patchinfo.
Comment 10 Alex Savin 2010-08-09 17:24:21 UTC
(In reply to comment #7)
> i think then do it ... +1
> 
> please add a valid .changes entry too, 
> osc vc   in the source directory, mention bnc#625396
> then osc ci

ok,
osc vc, osc ci,  osc sr  
done:  
https://build.opensuse.org/request/show/45197
Comment 11 Christian Dengler 2010-08-11 12:47:16 UTC
Thanks Alex.

Patchinfo added.
Comment 12 Swamp Workflow Management 2010-08-17 11:09:05 UTC
Update released for: tomoe, tomoe-debuginfo, tomoe-debugsource, tomoe-devel, tomoe-doc
Products:
openSUSE 11.3 (debug, i586, x86_64)
Comment 14 Alex Savin 2011-05-11 22:01:32 UTC
this bug was fixed in openSUSE 11.3, 
but in openSUSE 11.4 patch is not applied...
Comment 15 Forgotten User EtyRTKGuHJ 2011-06-04 13:57:32 UTC
Created attachment 432975 [details]
fix the single stroke carsh issue

remove the sort for empty list plus it is sorted in the simple search method module already.
Comment 17 Olaf Hering 2017-08-11 12:47:22 UTC
Likely fixed in Tumbleweed.