Save Copy to HTML segfault - latest CVS


Subject: Save Copy to HTML segfault - latest CVS
From: Adrian Phillips (adrianp@powertech.no)
Date: Fri Jan 11 2002 - 03:39:53 CST


I'm having a hard time trying to debug a crash with the latest CVS (as
of 07 GMT).

- Save Copy to .html gives :-

09:31:32:virusscan 511 $ ~/abiword/bin/abiword_debug mail_hub.abw
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
[New Thread 1024 (LWP 16011)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 16011)]
0x815e100 in pt_PieceTable::_tellAndMaybeAddListener (this=Cannot access memory at address 0x676e7036
)
    at pt_PT_Listener.cpp:77
77 bool bStatus2 = pListener->populate(sfh,pcr);
(gdb) bt
#0 0x815e100 in pt_PieceTable::_tellAndMaybeAddListener (this=Cannot access memory at address 0x676e7036
)
    at pt_PT_Listener.cpp:77
Cannot access memory at address 0x676e702e
(gdb)

- this is when compiling using -O2 -g
- when compiling with -g (no -O2) it saves without problem and I can
  continue editing

I don't know whether its related to these changes to
pt_PT_Listener.cpp or something else :-

----------------------------
revision 1.14
date: 2001/02/06 22:54:38; author: cuenca; state: Exp; lines: +36 -36
Now you can forget that UT_Bool, UT_TRUE & UT_FALSE were never existed :)

This is with :-
ii gcc 2.95.4-5 The GNU C compiler.

I'm attempting to upgrade to the latest Debian gcc 2.95 to see if
anything in gcc has been fixed and recompiling without -g (and without
-O2) to see if its an optimizer bug/feature; any help would be
appreciated,

Sincerely,

Adrian Phillips

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



This archive was generated by hypermail 2b25 : Fri Jan 11 2002 - 03:40:02 CST