Subject: Re: Unix build broken.
From: Dom Lachowicz (dominicl@seas.upenn.edu)
Date: Mon May 14 2001 - 08:24:45 CDT
I think that I did this, so I'll fix it :-)
Sorry,
Dom
Quoting Martin Sevior <msevior@mccubbin.ph.unimelb.edu.au>:
> 
> 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!
> 
> Martin
> 
> 
> 
> 
This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:04 CDT