Mattias Gaertner wrote: > On Wed, 14 Sep 2005 10:56:43 +0200 > Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: > > >>Mattias Gaertner wrote: >> >>>On Wed, 14 Sep 2005 07:20:00 +0200 >>>Bogus__aw Brandys <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>>[...] >>>>Polish translation is good (inside lazaruside.pl.po UTF8 is >>>>preserved.Only Menu items captions does not display property one Polish >>>>char "__" >>>>I have strong feeling that it's a bug in IDE. >>> >>> >>>I just tried: >>> >>>export LANG=pl_PL.UTF-8 >>>./lazarus >>> >>>The IDE has all menu items. >>> >>> >>>Mattias >> >>Confirmed.Problem was with GTK1 version which I compiled previously, >>GTK2 displayed correctly Polish chars after export LANG=pl_PL.UTF-8. > > > I used gtk1. > > > >>But I cannot change font because it hangs when attempting to open >>Envinroment options menu ,with error: >>(lazarus:8336) : gtk-CRITICAL **: gtk_viewport_set_shadow_type : >>assertion 'GTK_IS_VIEWPORT(viewport)' failed > > > Can you create a backtrace? > > []$ gdb lazarus > run --g-fatal-warnings > <reproduce the error> > backtrace
Backtraces attached.I've aditional by (Ctrl+C after Lazarus start) just because Lazarus hang on start when --g-fatal-warnings used. > > >>so I cannot change font to some supporting Polish. >>Anyway source editor still switches typed chars and polish are displayed >>as just an empty space. > > > Did you set a 2-byte font in the editor options? > > Mattias I don't know.I'm newbie in Linux and I can't check because Lazarus IDe hangs when trying to get into Envinroment setting dialog. Regards Boguslaw Brandys
[EMAIL PROTECTED]:~/lazarus$ gdb lazarus GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /home/jola/lazarus/lazarus [Thread debugging using libthread_db enabled] [New Thread -1216235456 (LWP 8419)] TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 UWAGA: brak plik konfiguracji codetools - użyjÄ opcji domyÅlnych NOTE: help options config file not found - using defaults TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 835 TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 852 TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 1986 TPascalParserTool.BuildTree B OnlyIntf=True /home/jola/testy/unmain.pas TMainIDE.DoLoadLFM A /home/jola/testy/unmain.pas True TMainIDE.DoLoadLFM AncestorClassName=TForm AncestorType=TForm (lazarus:8419): Gtk-CRITICAL **: gtk_viewport_set_shadow_type: assertion `GTK_IS_VIEWPORT (viewport)' failed (lazarus:8419): Gtk-CRITICAL **: gtk_viewport_set_shadow_type: assertion `GTK_IS_VIEWPORT (viewport)' failed bt Program received signal SIGINT, Interrupt. [Switching to Thread -1216235456 (LWP 8419)] 0xffffe410 in __kernel_vsyscall () (gdb) backtrace #0 0xffffe410 in __kernel_vsyscall () #1 0xb7a578cd in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7ed2135 in _XPollfdCacheDel () from /usr/X11R6/lib/libX11.so.6 #3 0xb7ed2f89 in _XRead () from /usr/X11R6/lib/libX11.so.6 #4 0xb7ed3a24 in _XReply () from /usr/X11R6/lib/libX11.so.6 #5 0xb7ebdaa3 in XGetWindowProperty () from /usr/X11R6/lib/libX11.so.6 #6 0xb7fb497c in gdk_window_get_frame_extents () from /usr/lib/libgdk-x11-2.0.so.0 #7 0xb7fb47cd in gdk_window_get_root_origin () from /usr/lib/libgdk-x11-2.0.so.0 #8 0x0816c82d in SENDSIZENOTIFICATIONTOLCL (MAINWIDGET=0x8a51f48, parentfp=0xbfffeba4) at gtkobject.inc:982 #9 0x0816c62f in SENDCACHEDGTKRESIZENOTIFICATIONS (parentfp=0xbfffeba4) at gtkobject.inc:1120 #10 0x0816c514 in TGTKWIDGETSET__SENDCACHEDGTKMESSAGES (this=0xb776b014) at gtkobject.inc:1152 #11 0x0816d0fb in TGTKWIDGETSET__APPPROCESSMESSAGES (this=0xb776b014) at gtkobject.inc:1472 #12 0x0807417e in TCUSTOMFORM__SHOWMODAL (this=0xb733f018) at customform.inc:1830 #13 0x0808b4ba in TMAINIDE__DOSHOWENVGENERALOPTIONS (STARTPAGE=EODPFILES, this=0xb776b0f4) at main.pp:3253 #14 0x0808b11d in TMAINIDE__MNUENVGENERALOPTIONSCLICKED (SENDER=0xb72c9814, this=0xb776b0f4) at main.pp:3140 #15 0x08130807 in TMENUITEM__CLICK (this=0xb72c9814) at menuitem.inc:74 #16 0x08130e6e in TMENUITEM__DOCLICKED (MSG=void, this=0xb72c9814) at menuitem.inc:248 #17 0x0806122f in SYSTEM_TOBJECT_$__DISPATCH$formal () #18 0x081d398a in DELIVERMESSAGE (TARGET=0xb72c9814, AMESSAGE=void) at gtkproc.inc:3385 #19 0x081db5b4 in GTKACTIVATECB (WIDGET=0x88859a8, DATA=0xb72c9814) at gtkcallback.inc:298 #20 0xb7bacc9a in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #21 0xb7b9c351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #22 0xb7bac7e2 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #23 0xb7bab8f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #24 0xb7babb75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #25 0xb7dbebdf in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xb7ceaf19 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #27 0xb7cea55c in _gtk_menu_shell_activate () from /usr/lib/libgtk-x11-2.0.so.0 #28 0xb7ce39d5 in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0 #29 0xb7cdcbca in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #30 0xb7b9c5bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #31 0xb7b9c351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #32 0xb7bac270 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #33 0xb7bab6ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #34 0xb7babb75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #35 0xb7dbea11 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #36 0xb7cdb7de in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #37 0xb7cda7bb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #38 0xb7fa1b0b in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #39 0xb7b3ad0f in g_main_depth () from /usr/lib/libglib-2.0.so.0 #40 0xb7b3bcb5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #41 0xb7b3bfd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #42 0xb7b3c21e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #43 0xb7cda38c in gtk_main_iteration_do () from /usr/lib/libgtk-x11-2.0.so.0 #44 0x0816d23e in TGTKWIDGETSET__APPWAITMESSAGE (this=0xb776b014) at gtkobject.inc:1516 #45 0x080766bb in TAPPLICATION__IDLE (this=0xb778b014) at application.inc:349 #46 0x08077743 in TAPPLICATION__HANDLEMESSAGE (this=0xb778b014) at application.inc:877 #47 0x08077b48 in RUNMESSAGE (parentfp=0xbffff818) at application.inc:993 #48 0x08077a93 in TAPPLICATION__RUNLOOP (this=0xb778b014) at application.inc:1003 #49 0x080b0c67 in TWIDGETSET__APPRUN (ALOOP=0x8077a54 <TAPPLICATION__RUNLOOP>, this=0xb776b014) at interfacebase.inc:42 #50 0x08077a40 in TAPPLICATION__RUN (this=0xb778b014) at application.inc:983 #51 0x08057fe6 in main () at lazarus.pp:84 (gdb)
[EMAIL PROTECTED]:~/lazarus$ gdb lazarus GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run --g-fatal-warnings Starting program: /home/jola/lazarus/lazarus --g-fatal-warnings [Thread debugging using libthread_db enabled] [New Thread -1216235456 (LWP 8790)] TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 UWAGA: brak plik konfiguracji codetools - użyjÄ opcji domyÅlnych NOTE: help options config file not found - using defaults TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 835 TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 852 TManagedBreakPoints.NotifyAdd A /home/jola/testy/D:/lazarus/lcl/LCLProc.pas 1986 TPascalParserTool.BuildTree B OnlyIntf=True /home/jola/testy/unmain.pas TMainIDE.DoLoadLFM A /home/jola/testy/unmain.pas True TMainIDE.DoLoadLFM AncestorClassName=TForm AncestorType=TForm Gtk-CRITICAL **: gtk_viewport_set_shadow_type: assertion `GTK_IS_VIEWPORT (viewport)' failed aborting... Program received signal SIGABRT, Aborted. [Switching to Thread -1216235456 (LWP 8790)] 0xffffe410 in __kernel_vsyscall () (gdb) backtrace #0 0xffffe410 in __kernel_vsyscall () #1 0xb79b3175 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb79b47d8 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xbfffed6c in ?? () #4 0x00000000 in ?? () #5 0x00000020 in ?? () #6 0x00000000 in ?? () #7 0x00000000 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () #16 0x00000000 in ?? () #17 0x00000000 in ?? () #18 0x00000000 in ?? () #19 0x00000000 in ?? () #20 0x00000000 in ?? () #21 0x00000000 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0x00000000 in ?? () #26 0x00000000 in ?? () #27 0x00000000 in ?? () #28 0x00000000 in ?? () #29 0x00000000 in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0x00000000 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x089c88f0 in ?? () #38 0x089678c4 in ?? () #39 0xbfffee04 in ?? () #40 0xb7b40c2d in g_free () from /usr/lib/libglib-2.0.so.0 Previous frame inner to this frame (corrupt stack?) (gdb)
