This is Bugzilla
View Bug Activity | Format For Printing | XML | Clone This Bug
when i attempt to copy text, i get the following error **** (1) Assert **** **** (1) 0 at ut_units.cpp:378 **** **** (1) Continue ? (y/n) [y] : n /usr/local/bin/abiword: line 68: 31650 Abortado $ABISUITE_LIBEXEC/AbiWord_d "$@" i had debug support turned on, but i was asking about this bug in the IRC channel and someone in there told me to build without debug and the assert would go away. unfortunately, i didn't save the output before i did that... BUT I STILL SAW THE ASSERT (the message above is from the build without debug information), just without the helpful debug messages before it... following is the information that is output from the --enable-debug build. DEBUG: Belcon:in IE_Exp_RTF::_write_rtf_header,langcode=1034 DEBUG: Belcon,after wvLIDToCodePageConverter(1034),cpgname=CP1252 DEBUG: ut_units - unknown unit presented ,300000in DEBUG: Unknown dimension type: ,300000in **** (1) Assert **** **** (1) 0 at ut_units.cpp:378 **** **** (1) Continue ? (y/n) [y] : n /usr/local/bin/abiword: line 68: 3390 Abortado $ABISUITE_LIBEXEC/AbiWord_d "$@" important information: i have this in my .bashrc file... channel, aexport LANG=es_ES unset LC_ALL abiword obviously looks at this stuff because it gives me all kinds of stuff in spanish, which may account for some locale change or something that imposes a , instead of . as the decimal delimiter. maybe abiword doesn't like that... i sure as hell don't know. all i knows is that i can't copy (or cut) any text, and that's sort of a pain in the ass.
if i hit 'Enter' 32 times at the Assert prompt, the program returns to normal operation, and the text is copied successfully. (WTF???) the number of times i have to hit enter seems to be independant of the number of characters or lines copied.
*** This bug has been confirmed by popular vote. ***
looks like a bug when exporting the unit in a non US locale.
Do you have a sample file with the text that makes cut & paste crash ? That would definitively help.
Created an attachment (id=230) [edit] reduced test case for text copy problem
well i've got at whole pile of 'em. if i create a new file and type one word, and then try to copy the word, i get the assert. so i'm going to attach that new file with one word, for a reduced test case. ok i already attached it... it appears before this comment.
Definitely can reproduce it.
fixed in CVS. Was sprintf'ing floats without setting local to C. QA tester: set you locale to fr_FR or es_ES or any other that don't use '.' for decimal separator.
works great for me now, thanks a lot!