Bug#681060: abiword: Crash when copying Unicode text from Firefox

2012-08-12 Thread Dmitry Smirnov
Dear Peter, Thank you for your report and especially for very clear instructions how to reproduce. Apparently this is not a regression in abiword as I can crash all abiword versions back to 2.8.6 (inclusive) just by pasting some unicode characters. Certainly it wasn't the case several months

Bug#681060: abiword: Crash when copying Unicode text from Firefox

2012-08-12 Thread Ying-Chun Liu (PaulLiu)
Hi, I think I found the root cause of the bug. It is because the character is not in UCS-2 but in UTF-16LE. I first make a patch to add an error message to the g_convert function call. As attachment add_debug_message_of_g_convert.patch And then it prints ut_iconv.cpp:379 UT_convert() Cannot

Bug#681060: abiword: Crash when copying Unicode text from Firefox

2012-08-12 Thread Ying-Chun Liu (PaulLiu)
tags 681060 + patch thanks Applying reorderencoding.patch is able to fix this serious bug for Debian. Upstream bug #13280 seems not related to this one. Yours, Paul -- PaulLiu (劉穎駿) E-mail: Ying-Chun Liu (PaulLiu) paul...@debian.org signature.asc Description:

Bug#681060: abiword: Crash when copying Unicode text from Firefox

2012-08-12 Thread Dmitry Smirnov
Dear Ying-Chun Liu, Thank you for your help and a fantastic fix you've suggested. It is almost fixed the problem - although original bug report do not suggest that Paste Unformatted is affected, it is actually crashing as well. I'll see if I can use your idea to fix it. Thank you so very much