Summary: | scim+gtk-sharp: glibc detected free(): invalid pointer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gábor Farkas <gabor> |
Component: | New packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | dotnet |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
hello.cs
backtrace.txt |
Description
Gábor Farkas
2005-02-10 02:58:21 UTC
Created attachment 50906 [details]
hello.cs
i attached hello.cs, a very simple gtk-sharp app.
compile it with:
"mcs hello.cs -pkg:gtk-sharp"
and run with:
"mono hello.exe"
or
"mint hello.exe"
This seems to be related to a problem with scim, not with gtk-sharp, but CCing dotnet anyway. Can you get any useful backtraces when this happens? useful-backtraces: how? i tried this: gtk, mono compiled with the "debug" USE flag. gdb mint run hello.exe bt backtrace attached... is this bt useful? Created attachment 50943 [details]
backtrace.txt
Well, that definitely seems to point to scim as the ultimate cause... Does the equivelant code in C cause the same error? Trying to break on the scim_get_module_list() function and stepping from there may be insightful as well. > Well, that definitely seems to point to scim as the ultimate cause... i see... but why isn't this happening on ubuntu? maybe some gcc issues? > Does the equivelant code in C cause the same error? i haven't created the EXACT same test-case in C, but i assume it would work, because i use scim all the time..it works in firefox, gedit, gaim, eclipse and so on ;) > Trying to break on the scim_get_module_list() function > and stepping from there may be insightful as well. how can i compile scim to contain debug symbols? there's no "debug" USE flag for scim.... Change your CFLAGS to have -g (and maybe remove all other flags to be safe) and add 'nostrip' to your features. Then re-emerge scim. hello.cs works fine on my env. sys-libs/glibc-2.4-r3 x11-libs/gtk+-2.8.19 dev-dotnet/gtk-sharp-2.8.2 and dev-dotnet/gtk-sharp-1.0.10 dev-lang/mono-1.1.13.8.1 app-i18n/scim-1.4.4 Please reopen if you still have problem. |