Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

2.60 SIGSEGV 12 years 5 days ago #1869

  • Keith Johnson
  • Keith Johnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Ok, the latest 2.60 seems to have some issues.

Building an application for win32 that uses SQLite, and the following command->

DB.GetTableNames(tbl);

Gives the SIGSEGV. 2.50 was fine.
The debugger is reporting Exception in TCollection.DoClear. Looking at 2 copies of collect.inc I have, it appears there has been a few changes here.

Also compiling same application for WINCE, has issues relating to the BGRABitmap stuff.
It stops in perspectivescan2.inc, line 1 -> {$asmmode intel}
I think the problem is most likely perspectivescan.inc there is at line 108 there is a {$IFDEF CPUI386} but the else is also including perspectivescan2.inc that is only INTEL based.

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 12 years 3 days ago #1883

  • Keith Johnson
  • Keith Johnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
No response ?..

Anyway, a bit of digging and I believe the error is related to ->

bugs.freepascal.org/view.php?id=21771

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 12 years 3 days ago #1884

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We try to fix and this Sir
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #1920

  • Keith Johnson
  • Keith Johnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Did you have any luck?

A little bit more information for you.
I would get the SIGSEGV just by writing a program that created a TDataset descendant component, and then freed it.

I think you mentioned 2.70 coming soon after website rebuild, so I'll try again then..

Thanks.

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #1947

  • Abdellah Al'Arief
  • Abdellah Al'Arief's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
Yes, i got SIGSEGV too.
My old project, run without any error with old version of Lazarus (but i don't want to use old version of Lazarus).
Now, i got SIGSEGV, my project use interface to encapsulate Zeos component, so it can be freed automatically on runtime.

I did a test to make sure KpjComp statement about TDataset true,
var   
   Fcon: TZConnection;
   Q: TZQuery;

begin
  Fcon:= TZConnection.Create(Self);
  Fcon.HostName:= 'localhost';
  Fcon.User:= 'root';
  Fcon.Password:= '';
  Fcon.Protocol:= 'mysql';
  Fcon.Database:= 'ppdb2011_pontianak';
  Fcon.Connect;

  Q:= TZQuery.Create(Self);
  Q.Connection:= Fcon;
  Q.SQL.Text:= 'select * from bobot';
  Q.Open;
  Q.Free;
  Fcon.Disconnect;
  Fcon.Free;

end;

SIGSEGV error occured when debugger try to execute
Q.Free;

i don't know, this (maybe bug) because Lazarus Bug, Code Typhon Bug, or my code?

i hope Sir Sternas has a solution for this.

Thanks.
altaifa.com

Please Log in or Create an account to join the conversation.

Last edit: by Abdellah Al'Arief.

Re: 2.60 SIGSEGV 11 years 11 months ago #1948

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hello.
Have you tried to run without debugger?
Or have you tried to close query before destroying it?
en.wikipedia.org/wiki/SIGSEGV
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: 2.60 SIGSEGV 11 years 11 months ago #1952

  • acoliveira
  • acoliveira's Avatar
  • Visitor
  • Visitor
Sir, try close first, and encapsulate with try/exception (sorry for my poor english)

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #1999

  • Abdellah Al'Arief
  • Abdellah Al'Arief's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 1
I did a simple test
procedure TForm1.Button1Click(Sender: TObject);
var Q: TSQLQuery;
begin
  Q:= TSQLQuery.Create(nil);
  Q.Close;
  Q.Free;
end;
it can work properly on Original Lazarus (from Lazarus site) and raise an SIGSEGV exception on Code Typhon Lazarus 2.60.

So i conclude, that Code Typhon 2.60 is released with non stable Lazarus version. Then, i'm waiting for next version of Code Typhon...
altaifa.com

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2000

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
I think we Solve this problem
with new ZeoDB SVN revision 1288 (trunk)
a big update...

your sample working with out problem

Please, give to my team 1-2 days for test and release CT ver 2.70
after this release we want to start CT Generation III with live updates (rolling installation)
but we will see

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Konstantinos Papadoulas

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: 2.60 SIGSEGV 11 years 11 months ago #2023

  • Keith Johnson
  • Keith Johnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Nice one, look forward to 2.70.

(rolling installation)


That sounds nice :), will this be able to SVN updates, and be able to select revision's etc. That would be really nice.

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2037

  • Adriano Soares
  • Adriano Soares's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 40
  • Thank you received: 9
Version 2.70. Really good news.

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2043

  • Chris
  • Chris's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 4
Hi Sternas

any update on when CT2.7 will be available?

I need to do some stuff with Zeoslib so I either wait for 2.7 or try and retro fit an older version of Zeos (possibly from CT2.5 as the latest Zeoslib from their SVN doesn't appear to compile in CT2.6 without some other changes and I don't really want to spend time battling with that if you've already resolved those issues in CT2.7).

TheBlackSheep

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2044

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
we want to release CT 2.70 tomorrow
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2045

  • Chris
  • Chris's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 4
excellent - great news, I'll await the update then.

Thanks Sternas

TheBlackSheep

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2046

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Don't forget
our test circle before every release :unsure:

Win32-Win64-WinCE
Linux32-Linux64 (Debian32/64,Ubuntu32/64,Scientific32/64 and Chakra32/64 for QT)
FreeBSD32-FreeBSD64 (PCBSD)
Solaris32-Solaris64 (OpenIndiana32/64)
Android Arm/i386

many things to do and test...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2056

  • Chris
  • Chris's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 4
hi Sternas

thanks for releasing CT2.70 (you must have been up very late last night doing this).

I noticed the link to the "changes log file" on the home page and on the download page still refer to 2.6 (the "latest version" also says 2.60 even though it's 2.70 now).

Thanks again.

TheBlackSheep

Please Log in or Create an account to join the conversation.

Re: 2.60 SIGSEGV 11 years 11 months ago #2057

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we fix download page
please refresh your Internet Browser
for changes log file (Browser cache)

Night or Day is the same for us... :silly:
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1