Issue 62653 - OO crashes without dialog, usually after several CTRL+Zs
Summary: OO crashes without dialog, usually after several CTRL+Zs
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 2.0.2
Hardware: PC Windows, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: crash, needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2006-02-28 17:18 UTC by filipg
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Version of drwatson on XP laptop (7.32 KB, image/jpeg)
2006-03-01 20:30 UTC, filipg
no flags Details
with drwatson running, this was shown while it dumped (40.73 KB, image/jpeg)
2006-03-01 20:31 UTC, filipg
no flags Details
Win 98 drwatson log file of the dump (405.55 KB, application/octet-stream)
2006-03-04 00:52 UTC, filipg
no flags Details
Text (sort of) of the dump, manually extracted from drwatson dump file (141.38 KB, text/plain)
2006-03-04 00:53 UTC, filipg
no flags Details
Bugdoc (6.80 KB, application/vnd.sun.xml.writer)
2006-03-30 14:12 UTC, andreas.martens
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description filipg 2006-02-28 17:18:42 UTC
I know the summary is sketchy. I'm polishing a 300pp dissertation with a dozen
tables and a few dozen figures/graphs and every now and then - usually after I
undo some automatic bullets that OO writer 'thinks' I'm inserting, I get an
hourglass (like it's saving) and then everything OO-related just disappears. Soon
after, the quickstart also quits. I have been unable to recreate (but it happens
on both Win2K desktop and WinXP laptop) and don't really have the time to 'play'
right now. I have the autosave set for 5 minutes and I think that CTLR+Z and that
might not be playing nice.

Question: is there any way I can force OO writer to keep a logfile or something
that will catch this? Drwatson doesn't trigger either - I don't see anything.

Worst of all, it looses all the autosaves and rolls back to an intentional save!
I have a PDF file I exported, then it crashed, and I had to cut'n'paste from
PDF! Sad.

Again, sorry for the sketchy issue. I will see if I can get a dev build and
maybe enable some sort of log. My file uses templates and has many embedded
objects - I'm amazed that I got this far :)

OO 2.0.2rc1
Comment 1 hwoarang 2006-02-28 17:56:50 UTC
filipg, can you please attach the file? or send me in private?

Seems a particular property of your document... so without it will be hard to
found out what's happening.

Thank you.

Hwoarang
Comment 2 michael.ruess 2006-03-01 07:55:48 UTC
MRU->ES: pls care about this; looks like an "Undo" issue.
Comment 3 eric.savary 2006-03-01 08:46:14 UTC
->filipg:

1) yes, please attach your document to the issue.
2) if you get a crash report send the report with the issue ID as summary and
your OOo email address in the corresponding field (easier to track known reports)
3) try to reproduce it.

Note: such crashes are not P1.
Comment 4 filipg 2006-03-01 20:28:33 UTC
Bad news. Here's the report I wrote up this afternoon:

In my first post, I got dumped out twice on a Win2K SP 4 system running
2.0.2RC1. 2.0.2RC4 doesn't fix this... I got kicked out of OO writer 
again (1PM 3/1/06). All of these are on a laptop running XP 2002 SP 2.

I recreated what I was doing and repeated the dump. I narrowed it down to
these actions (1:10 PM 3/1/06):

Load dissertation
Tools->Options->Load+Save->Save Autorecover->1 minute[1] (10 does it too)
Go to Table of Contents and jump to Section 2.4 (Research Questions).
Put cursor after 1st question and *KEEP PLAYING* with OO:
a. I did Enter (it will Autoformat) the Numbering,
b. CTRL+Z that
c. try selecting the footnote and cut and past the footnote here and there.
d. type in something
e. CTRL+Z
f. Rinse. Repeat.

Basically, try to be using some aspect of CTRL+Z while OO writer tries to Auto
save. I got an hourglass and then everything just disappeared.

I got this dump on next start:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN"
"errormail.dtd">
<errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail"
usertype="">
<reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail"
version="1.1" feedback="false" email="">
<reportmail:title></reportmail:title>
<reportmail:attachment name="description.txt"
media-type="text/plain;charset=UTF-8" class="UserComment"/>
<reportmail:attachment name="user.dmp" media-type="application/octet-stream"
class="UserDump"/>
</reportmail:mail>
<officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo"
build="680m5(Build:9011)" platform="wntmsci10.pro" language=""
procpath="C:\Program Files\OpenOffice.org 2.0\program\"
exceptiontype="0xC0000005" product="OpenOffice.org 2.0"/>
<systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo">
<systeminfo:System name="Windows NT" version="5.1" build="2600"
locale="0x00000409"/>
<systeminfo:CPU type="x86"/>
</systeminfo:systeminfo>
<errormail:Stack type="Win32">
<errormail:StackInfo pos="0" ip="0x00000000" rel="0xFFC00000" name="soffice.BIN"
path="C:\Program Files\OpenOffice.org 2.0\program\"/>
</errormail:Stack>
<errormail:Checksums type="MD5">
<errormail:Checksum sum="0x4E63B74EC7FACCCC737954F001B01FAA" bytes="2478080"
file="soffice.BIN"/>
</errormail:Checksums>
</errormail:errormail>

Now that I'm done writing this note, I'm going to try recreate the problem...
it crashed but no hourglass this time - just froze and then disappeared a few
seconds later (1:55PM 3/1/06). I was "playing" with it but doing step (a) 
wait 5 seconds (b) wait 5 seconds, etc.... for about 3 minutes.

The dump on startup is identical to previous:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN"
"errormail.dtd">
<errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail"
usertype="">
<reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail"
version="1.1" feedback="false" email="">
<reportmail:title></reportmail:title>
<reportmail:attachment name="description.txt"
media-type="text/plain;charset=UTF-8" class="UserComment"/>
<reportmail:attachment name="user.dmp" media-type="application/octet-stream"
class="UserDump"/>
</reportmail:mail>
<officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo"
build="680m5(Build:9011)" platform="wntmsci10.pro" language=""
procpath="C:\Program Files\OpenOffice.org 2.0\program\"
exceptiontype="0xC0000005" product="OpenOffice.org 2.0"/>
<systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo">
<systeminfo:System name="Windows NT" version="5.1" build="2600"
locale="0x00000409"/>
<systeminfo:CPU type="x86"/>
</systeminfo:systeminfo>
<errormail:Stack type="Win32">
<errormail:StackInfo pos="0" ip="0x00000000" rel="0xFFC00000" name="soffice.BIN"
path="C:\Program Files\OpenOffice.org 2.0\program\"/>
</errormail:Stack>
<errormail:Checksums type="MD5">
<errormail:Checksum sum="0x4E63B74EC7FACCCC737954F001B01FAA" bytes="2478080"
file="soffice.BIN"/>
</errormail:Checksums>
</errormail:errormail>

And, after running drwatson (V1.00b, stock one that ships with XP), it dumped
again BUT this time it flashed a "I'm crashing" dialog (which I even caught with
MWSnap). Here's the dump this time (2:20PM):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE errormail:errormail PUBLIC "-//OpenOffice.org//DTD ErrorMail 1.0//EN"
"errormail.dtd">
<errormail:errormail xmlns:errormail="http://openoffice.org/2002/errormail"
usertype="">
<reportmail:mail xmlns:reportmail="http://openoffice.org/2002/reportmail"
version="1.1" feedback="false" email="">
<reportmail:title></reportmail:title>
<reportmail:attachment name="description.txt"
media-type="text/plain;charset=UTF-8" class="UserComment"/>
<reportmail:attachment name="user.dmp" media-type="application/octet-stream"
class="UserDump"/>
</reportmail:mail>
<officeinfo:officeinfo xmlns:officeinfo="http://openoffice.org/2002/officeinfo"
build="680m5(Build:9011)" platform="wntmsci10.pro" language=""
procpath="C:\Program Files\OpenOffice.org 2.0\program\"
exceptiontype="0xC0000005" product="OpenOffice.org 2.0"/>
<systeminfo:systeminfo xmlns:systeminfo="http://openoffice.org/2002/systeminfo">
<systeminfo:System name="Windows NT" version="5.1" build="2600"
locale="0x00000409"/>
<systeminfo:CPU type="x86"/>
</systeminfo:systeminfo>
<errormail:Stack type="Win32">
<errormail:StackInfo pos="0" ip="0x00000000" rel="0xFFC00000" name="soffice.BIN"
path="C:\Program Files\OpenOffice.org 2.0\program\"/>
</errormail:Stack>
<errormail:Checksums type="MD5">
<errormail:Checksum sum="0x4E63B74EC7FACCCC737954F001B01FAA" bytes="2478080"
file="soffice.BIN"/>
</errormail:Checksums>
</errormail:errormail>

I'll attach the snap of the crashing dialog to this issue - BTW, why does it
SHOW a crashing dialog with drwatson running and NOTHING when drwatson is NOT
running? (on XP)

My feelings are mixed: I'm GLAD I can duplicate it and then I'm SAD that a
developer will have to spend time on this.

BTW, in my UNFORTUNATE experience, whatever is causing writer to crash seems to
clobber ALL auto-recovery files such that auto-recover rolls back to latest
instance file was manually saved! This is what prompted me to waste a solid 2
hours on recreating and reporting this bug!

[1] When I set Autorecover saving to 1 minute and then keep typing, OO writer
does NOT autosave. I have to pause writing for almost half a minute for it to do
it! While I can see how it's not nice to be 'interruped' with a slow save of a
big file to, say, an USB 1.1 flashdisk ... but I'd rather be interrupted than
lose 10 minutes of an inspiration (read:furious typing)! Maybe an option to
force-saving even if user is actively typing in the Tools->Options?

I'll attach the pictures - please e-mail me for dissertation file. It's defended
but unreleased (yet). It's about 800KB.
Comment 5 filipg 2006-03-01 20:30:51 UTC
Created attachment 34533 [details]
Version of drwatson on XP laptop
Comment 6 filipg 2006-03-01 20:31:23 UTC
Created attachment 34534 [details]
with drwatson running, this was shown while it dumped
Comment 7 filipg 2006-03-01 20:37:27 UTC
I e-mailed the trigger file to es and hwoarang. Thank you for your time.
Comment 8 hwoarang 2006-03-01 23:02:07 UTC
filipg, thank you for the file.

Can confirm with OOo2.0.2rc4 WinXP SP2.

But, no need to set the AutoRecover...
I'm for me no freezing, but a crash... (crash report sent)...

And in my opinion is not related with Ctrl+Z but clipboard...
I tried Ctrl+z several times without problems... after using Ctrl+C and Ctrl+V,
OOo crash after few commands (like enter to open a new line).

I do not receive the Crash Report ID yet (I will post here when it comes), but I
put "issue 62653" in it's description to easy search.

Thank you.

Hwoarang
Comment 9 hwoarang 2006-03-01 23:07:45 UTC
Report ID: rdvhbf

Hwoarang
Comment 10 filipg 2006-03-02 02:40:53 UTC
"for me no freezing, but a crash"
Your computer is probably much faster than my laptop (800Mhz P3, ~400MB ram).
I should consider than when filing reports, sorry.

I ONLY get a crash when I CTRL+Z after some autoformatting took place. Really
never had a problem with anything else. I rewrote a whole chapter over last 2
days (40pp) and only the activity I mentioned above caused problems.
Comment 11 filipg 2006-03-03 13:42:15 UTC
No disrespect intended but I can not recreate issue WITHOUT using CTRL+Z. It's
possible that there are *several* bugs being triggered by my document - I have
been editing it heavily over the last few days and avoided CTRL+Z and no
crashes. Then, last night, I used used it and it crashed again.

This is not a 'scientific' observation but 2.0.2RC1 seems to be MORE stable with
regard to this issue. Could be just my wishful thinking, though.
Comment 12 eric.savary 2006-03-03 13:59:13 UTC
-> filipg: once again, send a crash report with the issue ID as summary and your
e-mail address. Without this, we cannot do anything!

-> hwoarang: we have received your crash report (stack ID 431294 - for my
records). Thank you! But I think like you that it has not a lot to do with the
current issue.
Comment 13 hwoarang 2006-03-03 14:16:04 UTC
Hwoarang -> ES:

In fact, the Report ID that I said could not be the right one, as I was trying
to reproduce others crashes (and running qatesttool too). As the e-mail
confimation from crash reporter tool could be delayed the ID could be other, but
I'm sure that I'm send it in the same day.

ES, I wish to ask it from weeks, but now is a great opportunity: where I can
search for crash reports? Or just developers can do it?

Thank you.

Hwoarang
Comment 14 filipg 2006-03-03 14:48:40 UTC
"filipg: once again, send a crash report with the issue ID as summary and your
e-mail address. Without this, we cannot do anything!"

Really? I was not aware of this - I thought that posting an issue here would
"trump" the report. My laptop doesn't have net connection. I will try to
duplicate today and send it in (somehow).

Sorry.
Comment 15 filipg 2006-03-03 14:49:07 UTC
"filipg: once again, send a crash report with the issue ID as summary and your
e-mail address. Without this, we cannot do anything!"

Really? I was not aware of this - I thought that posting an issue here would
"trump" the report. My laptop doesn't have net connection. I will try to
duplicate today and send it in (somehow).

Sorry.
Comment 16 filipg 2006-03-04 00:50:07 UTC
Well, my attempts to hook up the laptop to the network failed. I did managed to
install 2.0.2RC4 on a Win98 machine (450Mhz, ugh) and get a drwatson dump from
it. I attached the dump file as well as text from it which gives you some
disassembler dump of what's crashing. The method I used to trigger the dump
involved CTLR+Z of autoformatted numbered list, pasting in of random text,
repeated over several times. Thus, hwoarang was onto something when he said that
CTLR+V was involved.

Sorry all. I will see if I can somehow get a dialup working... maybe I can
install OO on a friend's machine. That will take me time.

The dump command was:
crashrep.exe -p 4294669141 -excp 0x0111F230 -t 4294676837 -noui

RaiseException(c0000005)
eax=-------- ebx=00000000 ecx=-------- edx=-------- esi=7c34f744 edi=7c36bb92
eip=7c34f633 esp=006ae95c ebp=006ae98c
cs=017f ss=0187 ds=0187 es=0187 fs=4a87 gs=0000
MSVCR71.DLL:.text+0xe633:
>017f:7c34f633 ff1538a0377c        call    dword ptr [7c37a038] ->
KERNEL32.DLL!EnterCriticalSection

   sel  type base     lim/bot
   ---- ---- -------- --------
cs 017f r-x- 00000000 ffffffff
ss 0187 rw-e 00000000 00009820
ds 0187 rw-e 00000000 00009820
es 0187 rw-e 00000000 00009820
fs 4a87 rw-- 817b696c 00000037
gs 0000 ----

stack base:   005b0000
TIB limits:   00695000 - 006b0000

-- exception record --

   Exception Code: c0000005 (access violation)
Exception Address: bff7b992 (KERNEL32.DLL:.text+0x2992)
   Exception Info: 00000000
                   ffffffff

KERNEL32.DLL:.text+0x2992:
>017f:bff7b992 803e04              cmp     byte ptr [esi],04

 017f:bff7b989 5d                  pop     ebp
 017f:bff7b98a c20400              retd    0004
 017f:bff7b98d 56                  push    esi
 017f:bff7b98e 8b742408            mov     esi,dword ptr [esp+08]
KERNEL32.DLL:.text+0x2992:
*017f:bff7b992 803e04              cmp     byte ptr [esi],04
 017f:bff7b995 740f                jz      bff7b9a6 = KERNEL32.DLL:.text+0x29a6
 017f:bff7b997 33c0                xor     eax,eax
 017f:bff7b999 50                  push    eax
 017f:bff7b99a 50                  push    eax
 017f:bff7b99b 50                  push    eax
 017f:bff7b99c 68050000c0          push    c0000005
 017f:bff7b9a1 e82daeffff          call    bff767d3 = KERNEL32.DLL:_FREQASM+0x57d3
 017f:bff7b9a6 ff7604              push    dword ptr [esi+04]
 017f:bff7b9a9 e81389ffff          call    bff742c1 = KERNEL32.DLL:_FREQASM+0x32c1
 017f:bff7b9ae 5e                  pop     esi
 017f:bff7b9af c20400              retd    0004
 017f:bff7b9b2 56                  push    esi
 017f:bff7b9b3 8b742408            mov     esi,dword ptr [esp+08]
 017f:bff7b9b7 8a06                mov     al,byte ptr [esi]
 017f:bff7b9b9 3c04                cmp     al,04
 017f:bff7b9bb 7508                jnz     bff7b9c5 = KERNEL32.DLL:.text+0x29c5
 017f:bff7b9bd ff7604              push    dword ptr [esi+04]
 017f:bff7b9c0 e82989ffff          call    bff742ee = KERNEL32.DLL:_FREQASM+0x32ee
 017f:bff7b9c5 5e                  pop     esi
 017f:bff7b9c6 c20400              retd    0004
 017f:bff7b9c9 64a100000000        mov     eax,dword ptr fs:[00000000]
 017f:bff7b9cf 55                  push    ebp
 017f:bff7b9d0 8b                 ?db      8b
 017f:bff7b9d1 ec                 ?db      ec
 017f:bff7b9d2 page not present

(I have to admit I have little idea what I'm pasting.)
Comment 17 filipg 2006-03-04 00:52:07 UTC
Created attachment 34570 [details]
Win 98 drwatson log file of the dump
Comment 18 filipg 2006-03-04 00:53:08 UTC
Created attachment 34571 [details]
Text (sort of) of the dump, manually extracted from drwatson dump file
Comment 19 hwoarang 2006-03-04 11:10:50 UTC
Hwoarang -> ES:

Now this crash report ID is correct: rmyccf

Hwoarang

Comment 20 filipg 2006-03-09 01:19:10 UTC
I feel like a total idiot. I have been so busy with work that I never even
thought about having a machine connected to the internet on which I can install
software. I have access to many XP machines on the net but none of them allow me
to install OO. So, I, *personally* can NOT file a report. I hope that Hwoarang
or some other developer can help me out and do it.

I will try again this weekend but I'd give it maybe 30% chance.

Sorry,
Fil

P.S. Have 2 weeks until the dissertation is submitted to the university so my
wife can graduate and I have tons of edits to do so I'm strapped for time.
Comment 21 eric.savary 2006-03-09 12:37:55 UTC
.
Comment 22 filipg 2006-03-15 00:59:33 UTC
I am trying to get 2.0.2 stable installed on an official machine in wife's
office - will take pleading with IT folks but should happen. It seems MS Office
can't
open some of its own files - but OO can :-)
Comment 23 eric.savary 2006-03-30 13:09:43 UTC
ES->AMA: bugdoc is confidential (See your inbox with subject "i62653").
To reproduce:
1. Go to page 35
2. Select question 2 ("How does the tutor's...") and copy it (Ctrl+C)
3. Go to end of question 1 and hit enter to open a new line (a new numbering
will be created)
4. Past the text (Ctrl+V)
5. Hit Ctrl+Z until the cursor is back to end of question 1
6. Hit enter again = crash.

This is brokrn since OOo 2.0.1
Comment 24 andreas.martens 2006-03-30 14:12:34 UTC
Created attachment 35391 [details]
Bugdoc
Comment 25 andreas.martens 2006-03-30 14:14:10 UTC
It's a problem with autoformat + numbering + undo (maybe introduced by CWS
swnumtree).
Reproducible like this:
Create new document with two paragraphs like the attached small bug doc or open
the bug doc.
Select the word "World" and copy it into clipboard (Ctrl+C).
Enter <CR> and the end of paragraph 1 ("1. Hello") => the autoformat will create
an empty numbered paragraph. ("2.")
Insert your clipboard content into paragraph 2.
Undo 3x

Enter <CR> and the end of paragraph 1 again => Crash
Alternative: Press Redo until it crashes.
Comment 26 andreas.martens 2006-07-11 10:11:45 UTC
Good and bad news ;-)
Bad news: I'm not able to fix this problem...
good news: ...because it's already fixed :-))

I checked a src680m175 version and my colleague a SO8 PU 3.
It should be fixed since OOo2.0.3
Comment 27 andreas.martens 2006-07-11 10:13:45 UTC
Please double check and close this issue if I'm right.
Comment 28 eric.savary 2006-07-11 11:48:26 UTC
verified
Comment 29 eric.savary 2006-07-11 11:49:00 UTC
Closed