I did manage to get the new version installed on the system, but the issue 
persists.  But I did create a new database file under the 3.7.9 version and can 
back this up with no problem, but the database files under the 3.6.4 version 
crash.  How can I "upgrade" the existing database files to the new version?  I 
am unsure on how to run a debugger since my code is executed from a TCL script.

Jerry Tilsley, Sr Systems Analyst
St. Claire Regional Medical Center
Morehead, Ky


-----Original Message-----
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Richard Hipp
Sent: Wednesday, January 04, 2012 8:27 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Performing Backup via TCL, receiving error

On Wed, Jan 4, 2012 at 8:23 AM, Tilsley, Jerry M.
<jmtils...@st-claire.org>wrote:

> I use the tcl commands:
>
> Sqlite3 db h.db
> Db backup h.bak
>
> This causes the segmentation fault and this happens with any database.
>  Would this be because Sqlite 3.6.4 was used to create them, or maybe
> I need to generate all the binaries for 3.7.9 because I only made the
> TEA libraries so far.
>

Can you run this in a debugger and tell us where the segfault occurs?



>
> Jerry Tilsley, Sr Systems Analyst
> St. Claire Regional Medical Center
> Morehead, Ky
>
> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:
> sqlite-users-boun...@sqlite.org] On Behalf Of Dan Kennedy
> Sent: Wednesday, January 04, 2012 12:03 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Performing Backup via TCL, receiving error
>
> On 01/04/2012 06:55 AM, Tilsley, Jerry M. wrote:
> > All,
> >
> > I am attempting to generate a backup script written in TCL that will
> backup all the databases in a given directory.  These databases were
> all created with SQLite version 3.6.4.  I have the tea package for
> version
> 3.7.9 which is what I am using to execute the backup command.  When
> the script attempts to execute the command I receive a SEGMENTATION
> FAULT.  Any ideas as to what is going on, or what I should do to correct this 
> issue?
>
> Can you post the script that causes the segfault?
>
> Does it crash when trying to backup a specific database, or any
> database at all?
>
> Dan.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
> Disclaimer****
> This email is confidential and intended solely for the use of the
> individual to whom it is addressed.  Any views or opinions presented
> are solely those of the author and do not necessarily represent those of St.
> Claire Regional Medical Center.  If you are not the intended
> recipient, be advised that you have received this email in error and
> that any use, dissemination, forwarding, printing or copying of the
> email is strictly prohibited.  If you received this email in error please 
> notify the St.
> Claire Regional Helpdesk by telephone at 606-783-6565.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



--
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Disclaimer****
This email is confidential and intended solely for the use of the individual to 
whom it is addressed.  Any views or opinions presented are solely those of the 
author and do not necessarily represent those of St. Claire Regional Medical 
Center.  If you are not the intended recipient, be advised that you have 
received this email in error and that any use, dissemination, forwarding, 
printing or copying of the email is strictly prohibited.  If you received this 
email in error please notify the St. Claire Regional Helpdesk by telephone at 
606-783-6565.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to