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

Reply via email to