It is currently Wed Jan 27, 2021 11:18 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [SQLite v3.31.1] Bad query bug with Join and On clauses.
PostPosted: Tue Apr 07, 2020 12:23 am 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3382
Location: Boston, MA
Use this link to build your own sqlite3.dll if this bug impacts you.

EDIT: PB v573+ uses a newer SQLite v3.33 which corrects the query.

I am keeping the BUG open since using your own SQLite dll still causes a crash on exit.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Last edited by skywalk on Tue Jan 19, 2021 3:35 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [SQLite v3.31.1] Bad query bug with Join and On clauses.
PostPosted: Tue Apr 14, 2020 11:46 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3382
Location: Boston, MA
Curious, I am now seeing an IMA when exiting my app?
I had to use an external sqlite3.dll due to the query select bug.
UseSQLiteDatabase(#SQLITE_DLL_FNPATH$)
PrototypeC.i sqlite3_open(filename.s, *hDB)
PrototypeC.i sqlite3_close(hDB.i)

Code:
[10:57:13] Waiting for executable to start...
[10:57:13] Executable type: Windows - x64  (64bit, Unicode, Thread)
[10:57:13] Executable started.
[11:24:29] [ERROR] my.pb (Line: 14262)
[11:24:29] [ERROR] Invalid memory access. (write error at address 140725330514304)
This is the prototype address for:
PrototypeC.i sqlite3_close(hDB.i)

Any thoughts how to debug?
Is there a conflict with the prototype below?
I am not calling sqlite3_close(hDB.i) directly.
I am using the PB command CloseDatabase(*d\n).

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: [SQLite v3.31.1] Bad query bug with Join and On clauses.
PostPosted: Wed Apr 15, 2020 11:06 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3382
Location: Boston, MA
If the close dll bug is still around I can add this to the list.
If that was marked [DONE], then I still see an IMA when I dropped the prototype for sqlite3_close().
The IMA moves to another location in the sqlite3 population.
Somewhere between the next 2 prototypes. :(

I will try other sqlite3.dll compilations and see if it just my version.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye