To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=65940
------- Additional comments from [EMAIL PROTECTED] Sun Jun 4 19:04:12 -0700 2006 ------- If I cut enough out of the spreadsheet to get it below the 1M attachment size limit, it doesn't fail any more. If there is somewhere I can upload a file bigger than 1M, I'll be glad to do it. But I cannot produce the failure in a file less than 1M. Here's what I think is happening. This is basically a blind stab in the dark, but I have seen (in fact, I've coded) this type of bug often enough to recognize the symptom: Somewhere there is a 32bit variable which contains the count of some kind of things in the spreadsheet. I haven't the faintest idea what the variable might be called or what kind of things it counts. Somewhere else, in the Save code, there is a 16bit variable which contains another count of the same kind of things. As the Save code processes the things it is trying to save, it increments the 16bit counter. When the value of the 16bit counter matches the value of the 32bit variable, the Save routine knows it has processed everything, and it's done. At a very specific point, when there are more than 65,536 of this kind of "thing" in the spreadsheet, the value of the 16bit counter can never equal the value of the 32bit variable. The 16bit counter can count and count and count for all eternity, but a 16bit counter cannot hold a value greater than 65535, it just cycles through the range 0 to 65535 over and over and over. And the Save function hangs. If I delete stuff out of the spreadsheet to get it below 1M, I end up with less than 65535 "things", and the problem disappears. I don't *know* that this is the problem, but it perfectly explains the symptoms. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
