First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 2328
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Sam TH <sam+bugzilla@uchicago.edu>
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: kolbe kegel <litheum@yahoo.com>
Add CC:
CC:
Remove selected CCs
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:

Attachment Type Creator Created Size Flags Actions
reduced test case for text copy problem application/abiword kolbe kegel 2001-12-07 12:20 1.32 KB none Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2328 depends on: Show dependency tree
Show dependency graph
Bug 2328 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2001-12-06 21:13
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.

------- Comment #1 From kolbe kegel 2001-12-06 22:06:37 -------
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.

------- Comment #2 From kolbe kegel 2001-12-07 01:05:40 -------
*** This bug has been confirmed by popular vote. ***

------- Comment #3 From Hubert Figuiere 2001-12-07 06:06:55 -------
looks like a bug when exporting the unit in a non US locale.

------- Comment #4 From Hubert Figuiere 2001-12-07 09:40:00 -------
Do you have a sample file with the text that makes cut & paste crash ? That
would definitively help.

------- Comment #5 From kolbe kegel 2001-12-07 12:20:50 -------
Created an attachment (id=230) [edit]
reduced test case for text copy problem

------- Comment #6 From kolbe kegel 2001-12-07 12:21:56 -------
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.

------- Comment #7 From Hubert Figuiere 2001-12-11 14:41:03 -------
Definitely can reproduce it.

------- Comment #8 From Hubert Figuiere 2001-12-11 15:17:42 -------
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.

------- Comment #9 From kolbe kegel 2001-12-13 19:01:44 -------
works great for me now, thanks a lot!

First Last Prev Next    No search results available      Search page      Enter new bug