From: Dan K. <da...@ke...> - 2003-05-12 07:29:42
|
Dan Kegel wrote: > The good news is, I verified that valgrind 1.9.6 on Red Hat 7.2 > does run openoffice1.1beta just fine. > I believe I'm unstuck now, and will continue with OO on valgrind > next chance I get. Damn, damn, damn. Nope. Here's the deal: even on red hat 7.2, only the first couple of errors invoke gdb properly. After that, when gdb is invoked, something is wrong with stdin; gdb thinks it's at EOF. Think openoffice is closing stdin? For what it's worth, here's the bug I'm really going after: http://www.openoffice.org/project/www/issues/show_bug.cgi?id=14046 To reproduce it, just load the file FR0453p.doc into ooo1.1beta1 or the later snapshot build 644_m11. Without valgrind, you have to click on the first page, click Format/arrange/send to back (or any of the other arrange commands, probably), then undo, to trigger the crash. With Valgrind, I get ==6614== Invalid memory access of size 2 ==6614== at 0x41020329: (within /usr/X11R6/lib/libX11.so.6.2) ==6614== by 0x4101F934: (within /usr/X11R6/lib/libX11.so.6.2) ==6614== by 0x4102043A: XSubtractRegion (in /usr/X11R6/lib/libX11.so.6.2) ==6614== by 0x4102049B: XXorRegion (in /usr/X11R6/lib/libX11.so.6.2) ==6614== Address 0x42C1D970 is 0 bytes after a block of size 16 alloc'd ==6614== at 0x40150E99: realloc (vg_clientfuncs.c:276) ==6614== by 0x4101A78A: (within /usr/X11R6/lib/libX11.so.6.2) ==6614== by 0x4101AEB7: XPolygonRegion (in /usr/X11R6/lib/libX11.so.6.2) ==6614== by 0x40590A17: SalGraphics::DrawPolyPolygon(unsigned long, unsigned long const*, SalPoint const**, OutputDevice const*) (in /home/dank/opt/OpenOffice.org1.1Beta/program/libvcl644li.so) ==6614== as soon as the file finishes loading; you don't even have to do the send-to-back/undo thing. Saying 'y' to valgrind at that point starts gdb, but it goes haywire as if the keyboard isn't really attached anymore. I'd like to get a backtrace with gdb there. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |