Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61629 - wxGTK programs refused to work against LC_CTYPE="zh_CN.gbk" as non-root user
Summary: wxGTK programs refused to work against LC_CTYPE="zh_CN.gbk" as non-root user
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 05:47 UTC by wolf0403
Modified: 2006-01-15 07:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolf0403 2004-08-25 05:47:59 UTC
I'm currently using wxGTK-2.4.2-r2 compiled against gtk+ 2.4.4 w/out unicode support. Then I tried wxglade-0.3.3 and pgadmin3-1.0.2. Both of these programs worked fine with root, but gives "Segment fault" when running as non-root user. When I tried a demo program generated using Anjuta with wxGTK and tried run it, I got the same problem. This problem exists only then LC_CTYPE is set to "zh_CN.gtk". When LC_CTYPE set to "C", everything is fine except that I can't type in Chinese anymore.
I tried wxGTK-2.5.2 (downloaded from sourceforge and compiled by myself), LC_CTYPE="zh_CN" worked fine with my little demo program. But when I tried the wxGTK-2.5.1 in the portage, pgadmin3 refused to compile anymore.

Reproducible: Always
Steps to Reproduce:
1.compile wxGTK w/ gtk2 w/out unicode
2.compile pgadmin3
3.set LC_CTYPE to "zh_CN.gbk" and run pgadmin3 as non-root user

Actual Results:  
It gives "Segmentation fault"


Seems this problem is more about locales in wxGTK, and it seems have been fixed
in wxwidgets 2.5.2 or so. I'm not quite familiar with compiling software with
specified libraries so I can't do much more. Hope to see new ebuild for
wxGTK-2.5.x and pgadmin3, with fixed support for wxGTK-2.5.x and unicode support
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 07:29:21 UTC
(In reply to comment #0)
> Seems this problem is more about locales in wxGTK, and it seems have been fixed
> in wxwidgets 2.5.2 or so. I'm not quite familiar with compiling software with
> specified libraries so I can't do much more. Hope to see new ebuild for
> wxGTK-2.5.x and pgadmin3, with fixed support for wxGTK-2.5.x and unicode
> support

dev-db/pgadmin3 now supports wxGTK-2.6*, assuming fixed. Reopen if's still an issue.