Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2007-06

Widestring problems on Mac

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

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

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 19 lines
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 ?

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 6 lines
On 6/23/07, zeljko wrote: > did U try to put there try..except and see result ? yep ... didn't work Must be yet another widestring problem.

hm...did U try to compile your own libqt4intfs for Mac ? I cannot get Dens libqt4intfs to work on my distro (raises floating point errors), so I have to compile my own libqt4intfs.

Reply by email