On 12/12/2009 05:03 PM, Rene Engelhard wrote: > On Sat, Dec 12, 2009 at 04:34:14PM -0800, Daniel Moerner wrote: >> oowriter is just hanging when I "Insert -> Header/Footnote". There is no >> segfault or backtrace in gdb. I have no idea how to debug this. This issue > > And strace/ltrace? I'm having some trouble getting a good trace of the problem. I tried a variety of ways to get an strace. First, I just tried to "strace oowriter file", but this would terminate before I did anything to the file--something about the way oowriter releases control from the terminal I think. So then I started it up, inserted a footnote, got the hang, and did an strace -p on it and got this output, going out forever. poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 1) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 300) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 297) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 299) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout) read(7, 0xfd00c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) Then I tried to start up the program, and strace -p it before inserting the footnote, and see what happens when I insert footnote. Then, I was no longer able to get it to hang. I suspect that this bug might have come from a corrupted document. Between getting the first two straces, and trying to get the third when I could no longer reproduce it, I used a full "Save As" to save a backup of the file. After I did this, I could no longer reproduce the problem on either document. Thanks for the quick reply, Daniel
Attachment:
signature.asc
Description: OpenPGP digital signature