[Qt] Widestring problems on Mac

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Jun 23 09:30:27 CEST 2007


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

-- 
Felipe Monteiro de Carvalho



More information about the Qt mailing list