[Lazarus] is it me or a bug that i've been fighting?

2009-01-18 Thread waldo kitty
history: i'm a long time pascal coder... since TP3 first appeared on the market... then to TP5 and most of my time with TP6/BP6 and numerous commercial apps under my belt... i've dabbled with OOP stuffs, TP7/BP7 and even have a copy of delphi6-personal that i've not been able to wrap my head

Re: [Lazarus] is it me or a bug that i've been fighting?

2009-01-18 Thread Reenen Laurie
I am very uninformed when it comes to databases, but access violations happens when you do stuff to stuff that's not there. My guess is that for some reason your close code gets fired twice, and thus it's already closed by the time you get there the second time. So if there's a way to check if

Re: [Lazarus] is it me or a bug that i've been fighting?

2009-01-18 Thread Reenen Laurie
I am very uninformed when it comes to databases, but access violations happens when you do stuff to stuff that's not there. My guess is that for some reason your close code gets fired twice, and thus it's already closed by the time you get there the second time. So if there's a way to check if

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
thanks for your response, reenen... it does tend to make sense on the one hand but on the other i must ask if you have looked at and/or run the demo code i pointed to? it does check if the connection is open ;) procedure TFormTryMySQL.ConnectButtonClick(Sender: TObject); begin // Check if

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread Lord Satan
Hi, I have never done any database stuff either, but AVs cry for a debugger. Maybe other people on this list can help you, but it will do no harm to give gdb (or some such) a chance. hih -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: let me start with No I have not executed the demo code; :) i can appreciate that ;) but a couple of thinks that come to mind: 1) What version of FPC are you using (you only said you updated Lazarus); you refer to FPC 2.2.2, have you tried the fixes branch (2.2.3)? or

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: 2) You say you do not know the exact error: because the popup box doesn't state it = Try running the exe in the debugger, make sure you compile with debug symbols for gdb (-g, maybe also -gl). just following up on this (as my other reply hasn't srrived back from the

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
waldo kitty wrote: Project raised exception class 'External SIGSEGV' at which point i could only click on the [OK] button in that box... then it appeared that my box was locked up but it took a minute or so and another box appeared titled Assembly with what appeared to be a list of

Re: [Lazarus] is it me or a bug that i ve been fighting?

2009-01-18 Thread waldo kitty
Martin Friebe wrote: Or try to compile not as a windows app (switch off -WG) then you get a console window, and a lot of output. (Both options are in Project-compiler options-tab: linking) now i've done this and i still got the GUI window of my app which allowed me to click the [connect] so