[Qt] Widestring problems on Mac

zeljko zeljko at holobit.net
Sat Jun 23 11:22:03 CEST 2007


On Saturday 23 June 2007 09:30, Felipe Monteiro de Carvalho wrote:
> Hi,
>
> A trivial code, like this:
>
> procedure TForm1.Button1Click(Sender: TObject);
> begin
>    Edit1.Text := '';
> end;
>
> Will generate a exception without useful stacktrace on Qt4 / Mac
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
> 0x00009d1c in fpc_widestr_decr_ref ()
> (gdb) bt
> #0  0x00009d1c in fpc_widestr_decr_ref ()
>
> wierd .... maybe that's related to the problem we solved on Linux by
> using the try .. except block

did U try to put there try..except and see result ?



More information about the Qt mailing list