Uwe Grauer wrote:
Standalone my program runs ok, under gdb it crashes.

My program runs fine when run from gdb. So it seems your programs crashes for 
another reason than the failure of the mysqltest program.

BTW what command line options does Lazarus pass to gdb?

Perhaps you can also try another gdb version, like the one distributed with 
cygwin.

A general procedure to track down the failure cause is:
* put writeln's (or calls to your home made logger function) in your code to 
trace what its doing
* disable parts of the code to track down which part of the code crashes

A little more information about your application might help also (i.e. used 
components etc.). Perhaps other people have had similar problems in the past, 
but they will only remember it when mention the use of Component X or unit Y.

About the mysqltest program I send in my previous mail in this thread: the 
'Can't create TCP/IP socket' error is pretty weird. But it can be due to some 
incompatibilities in the mysql dll or headers, though that is not very likely 
in this case.

Regards,

Bram

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to