Bug#242927: Gtranslator crashes when saving file with Hebrew chars

Lior Kaplan Lior Kaplan <webmaster@guides.co.il>, 242927@bugs.debian.org
Fri, 28 Jan 2005 00:19:15 +0200


This is a multi-part message in MIME format.

--Boundary_(ID_DVcXJ7g5u6Aa3rJP9hl5SA)
Content-type: text/plain; charset=iso-8859-1; format=flowed
Content-transfer-encoding: QUOTED-PRINTABLE

Hi Lo=EFc,

Thanks for the showing interest in this bug report.

I was able to reproduce the crash by taking a Hebrew PO file from D-I=
,=20
saving it as windows-1255 encoding and manually remove the encoding l=
ike=20
inside the file (which says UTF-8).

When saving the file with a Hebrew chars, the application crashed. Se=
e=20
the attach debug info from bug buddy.

Let me know if you need more info.

I'm CCing the bug report to keep recored of this.

Lo=EFc Minier wrote:
>         Hi,
>=20
>  This is a followup for Debian bug <http://bugs.debian.org/242927>.
>=20
> Lior Kaplan <webmaster@guides.co.il> - Fri, Apr 09, 2004:
>=20
>=20
>>When trying to save a PO file which has Hebrew chars the program cr=
ashes.
>>It also empties the file contents.
>=20
> ...
>=20
>>6. A crash happen...
>>7. File is truncated to 0 bytes. (=3Ddata loss).
>=20
>=20
> Lior Kaplan <webmaster@guides.co.il> - Sat, Jul 03, 2004:
>=20
>>I found out that this kind of crash happens when the po file encodi=
ng
>>isn't UTF-8. When the encoding is UTF-8 I can save Hebrew without
>>problems.
>=20
>=20
>  It's nice that you found a _workaround_, but if a crash was happen=
ing,
>  it's best to fix it!
>=20
>  I could not reproduce your problem, do you still get the crash?
>=20
>  If you get the crash, can you please install bug-buddy and get a s=
tack
>  trace?
>=20
>    Thanks,
>=20

--=20

Regards,

Lior Kaplan
Webmaster@Guides.co.il
http://www.Guides.co.il

Debian GNU/Linux unstable (SID)


--Boundary_(ID_DVcXJ7g5u6Aa3rJP9hl5SA)
Content-type: text/plain; name=gtranslator_crash_debug
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: inline; filename=gtranslator_crash_debug

Backtrace was generated from '/usr/bin/gtranslator'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symb=
ols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1088746176 (LWP 4117)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x408ae4ee in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#0  0x408ae4ee in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1  0x40080434 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#2  <signal handler called>
#3  0x080662ea in gtranslator_parse_the_file_from_file_dialog ()
#4  0x4074a28f in g_list_foreach () from /usr/lib/libglib-2.0.so.0
#5  0x08066607 in gtranslator_save_file ()
#6  0x407021f6 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#7  0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
#8  0x40701d1f in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
#9  0x40700dec in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
#10 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x402312a5 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.=
so.0
#12 0x402322bb in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.s=
o.0
#13 0x407021f6 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#14 0x406f0919 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0=
.so.0
#15 0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
#16 0x407015a1 in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
#17 0x40700dec in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
#18 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x402311f5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0=
.so.0
#20 0x4023213b in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.s=
o.0
#21 0x402ef0d4 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#22 0x406f0919 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0=
.so.0
#23 0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
#24 0x407017a5 in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
#25 0x40700bdc in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
#26 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x403edf67 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-=
2.0.so.0
#28 0x402ed672 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0=
.so.0
#29 0x402ec3c6 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.s=
o.0
#30 0x404ea1a5 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.s=
o.0
#31 0x4074c4f2 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#32 0x4074d568 in g_main_context_dispatch () from /usr/lib/libglib-2.=
0.so.0
#33 0x4074d8a0 in g_main_context_dispatch () from /usr/lib/libglib-2.=
0.so.0
#34 0x4074de43 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#35 0x402ebc83 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x08061b86 in main ()

Thread 1 (Thread 1088746176 (LWP 4117)):
#0  0x408ae4ee in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0x40080434 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x080662ea in gtranslator_parse_the_file_from_file_dialog ()
No symbol table info available.
#4  0x4074a28f in g_list_foreach () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x08066607 in gtranslator_save_file ()
No symbol table info available.
#6  0x407021f6 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
No symbol table info available.
#8  0x40701d1f in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
No symbol table info available.
#9  0x40700dec in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
No symbol table info available.
#10 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x402312a5 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.=
so.0
No symbol table info available.
#12 0x402322bb in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.s=
o.0
No symbol table info available.
#13 0x407021f6 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0x406f0919 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0=
.so.0
No symbol table info available.
#15 0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
No symbol table info available.
#16 0x407015a1 in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
No symbol table info available.
#17 0x40700dec in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
No symbol table info available.
#18 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x402311f5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0=
.so.0
No symbol table info available.
#20 0x4023213b in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.s=
o.0
No symbol table info available.
#21 0x402ef0d4 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x406f0919 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0=
.so.0
No symbol table info available.
#23 0x406f0686 in g_closure_invoke () from /usr/lib/libgobject-2.0.so=
.0
No symbol table info available.
#24 0x407017a5 in g_signal_emit_by_name () from /usr/lib/libgobject-2=
.0.so.0
No symbol table info available.
#25 0x40700bdc in g_signal_emit_valist () from /usr/lib/libgobject-2.=
0.so.0
No symbol table info available.
#26 0x40701076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#27 0x403edf67 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-=
2.0.so.0
No symbol table info available.
#28 0x402ed672 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0=
.so.0
No symbol table info available.
#29 0x402ec3c6 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.s=
o.0
No symbol table info available.
#30 0x404ea1a5 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.s=
o.0
No symbol table info available.
#31 0x4074c4f2 in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#32 0x4074d568 in g_main_context_dispatch () from /usr/lib/libglib-2.=
0.so.0
No symbol table info available.
#33 0x4074d8a0 in g_main_context_dispatch () from /usr/lib/libglib-2.=
0.so.0
No symbol table info available.
#34 0x4074de43 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#35 0x402ebc83 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#36 0x08061b86 in main ()
No symbol table info available.
#0  0x408ae4ee in __waitpid_nocancel () from /lib/tls/libpthread.so.0


--Boundary_(ID_DVcXJ7g5u6Aa3rJP9hl5SA)--