> Hi folks,
>         The unix build immediately segfaults upon pressing a key. A bit of
> tracing with electric fence led to this:
> 
> ElectricFence Aborting: free(48e07ffc): address not from malloc().
> 
> Program received signal SIGILL, Illegal instruction.
> 0x403bd8c1 in kill () from /lib/libc.so.6
> 
> backtracing led to this..
> 
> 5  0x08209ec5 in ev_UnixKeyboard::keyPressEvent (this=0x45bc4ff8,
>     pView=0x4889af08, e=0x48ab1018) at ev_UnixKeyboard.cpp:197
> 197                             delete ucs;
> (gdb) list
> 192                                             if(m.mbtowc(wc,mbs[i]))
> 193                                             ucs[uLength++]=wc;
> 194                                     }
> 195                              }
> 196                           invokeKeyboardMethod(pView,pEM,ucs,uLength); // no 
>char data to offer
> 197                             delete ucs;
> 198                             return true;
> 
> Sorry I don't more time for debugging. Good Luck!

The Windows version does something very similar upon pressing a key:

Debug Assertion failed!

Program: ...\abiword\abi\src\WIN32_1.1.8_i386_DBG/bin/AbiWord.exe
File: dbgheap.c
Line: 1011

Expression: _CrtIsValidHeapPointer(pUserData)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

Andrew.

-- 
http://linguaphile.sourceforge.net

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to