Re: [gtk-list] Re: about gtk_set_locale



Hello
Thank you for your reply.
I am going to attach the trace as you asked for.

My application is very simple. It shows some data which it gets from a DB se
rver(Object Store).
And for this it has some functions which are for accessing the DB. 
If I just coment out those functions, no problem arises. 
Japanese dialog can be viewed. But as it has no access to DB, nothing is dis
played.
It makes me thinking  that there may be something wrong with Objectstore lib
rary.

Anyway, if you've got any clues I would appreciate that.  


Best Regards.
Takdir
---------------------




Trace starts from here:
---------------------

core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
dbx: program is not active
Reading symbolic information for libosmop.so.sun.4.0
Reading symbolic information for libosqry.so.sun.4.0
Reading symbolic information for liboscol.so.sun.4.0
Reading symbolic information for libos.so.sun.4.0
Reading symbolic information for libosdbu.so.sun.4.0
Reading symbolic information for libosths.so.sun.4.0
Reading symbolic information for libasn1.so
Reading symbolic information for libnresource.so
Reading symbolic information for libfo.so
Reading symbolic information for liboperator.so
Reading symbolic information for libpomsscap.so
Reading symbolic information for libanmu.so
Reading symbolic information for libpomstaap.so
Reading symbolic information for libnsl.so.1
Reading symbolic information for libtls4d.so
Reading symbolic information for libthr4d.so
Reading symbolic information for libm.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libXext.so.0
Reading symbolic information for libX11.so.4
Reading symbolic information for libsocket.so.1
Reading symbolic information for libc.so.1
Reading symbolic information for libmp.so.2
Reading symbolic information for libintl.so.1
Reading symbolic information for libw.so.1
Reading symbolic information for libposix4.so.1
Reading symbolic information for libaio.so.1
Reading symbolic information for libc_psr.so.1
program terminated by signal BUS (invalid address alignment)
Current function is gdk_set_locale
  107     if (!setlocale (LC_ALL,""))
(dbx) where
  [1] _free_unlocked(0x4994866, 0xeffffb2b, 0x0, 0xeffff884, 0x6a, 0x0), at 
0x25d294
  [2] free(0x4994866, 0x357c00, 0xeffff200, 0x0, 0x0, 0xeffffb2b), at 0x25d258
  [3] load_all_locales(0x357f76, 0xeffff200, 0x357f70, 0x0, 0x0, 0x0), at 0x
239940
  [4] _real_setlocale(0x6, 0x3879ac, 0x0, 0x0, 0x6, 0x0), at 0x2386f8
  [5] setlocale(0x6, 0x3879ac, 0x3ca9f8, 0x0, 0x0, 0x0), at 0x238588
=>[6] gdk_set_locale(), line 107 in "gdkim.c"
  [7] gtk_set_locale(), line 444 in "gtkmain.c"
  [8] main(argc = 1, argv = 0xeffff7fc), line 437 in "orderviewer.c"
(dbx) quit






At 10:59 午前 00/04/06 , you wrote:
> 
> Takdir CHOWDHURY <takdir@mcb.netwk.ntt-at.co.jp> writes:
> > Hello
> > I am facing a problem with gtk_set_locale() .
> > I want my gtk application to show Japanese character. 
> > And for that I have included gtk_set_locale() in my main routine and cha
nged
> >  my LANG to ja. But when I execute my program it crashes with core.
> > The error looks like the following. It was taken from dbx.
> > 
> > current function is gdk_set_locale:
> >   if (!setlocale(LC_ALL,""))  line 107 in "gdkim.c"
> > 
> > Note that if I set LANG to "C", it works.
> > Atfirst I thought my libc doesn't support the locale. But I can display 
Japa
> > nese with the other GTK+ applications(like gcalender) that come in defau
lt w
> > ith 
> > gtk+ archive.
> > 
> > Any clues?
> > 
> 
> Can you send a full backtrace?
> 
> I seem to remember a bug in the input stuff on Solaris once.
> 
> Havoc
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]