Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-12-01 Thread Gilles Vollant
The crash occur with sqlite 3.7.8 on line below:   u.bp.pC->nullRow = (u8)u.bp.res; u.bp.pC did not reference a valid address. here is the stack (gdb) bt #0  0x00055000 in sqlite3VdbeExec (p=0x18e9d8) at /Volumes/hfsdata/sqliteTest/sqlite/sqlite3.c:68038 #1  0x96d2 in sqlite3_step

Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-11-04 Thread Price,Ray
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of James Berry Sent: Thursday, November 03, 2011 3:56 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations On Nov 3, 2011, at 6:19 AM, James Berry wrote: > I've s

Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-11-03 Thread James Berry
On Nov 3, 2011, at 6:19 AM, James Berry wrote: > I've seen this same problem. It crashes seemingly due to bugs in llvm-clang > when compiled for arm6 if, as you say, optimizations at any level are turned > on. I've worked around this issue by turning off optimizations for arm6. > Sqlite3, by

Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-11-03 Thread James Berry
I've seen this same problem. It crashes seemingly due to bugs in llvm-clang when compiled for arm6 if, as you say, optimizations at any level are turned on. I've worked around this issue by turning off optimizations for arm6. Sqlite3, by the way, is not the only bit of my iOS app that

Re: [sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-11-03 Thread Simon Slavin
On 3 Nov 2011, at 8:39am, Price,Ray wrote: > I'm having a VERY odd problem with Sqlite at the moment. I have an > application that works fine and has been working find for over a year, but > since updating to xcode 4 and the ios 5 SDK Sqlite crashes regularly, but > ONLY on older devices

[sqlite] iPhone iOS 3.1.3 Sqlite3 Crashes Unless Compiled Without Optimizations

2011-11-03 Thread Price,Ray
Hi All, I'm having a VERY odd problem with Sqlite at the moment. I have an application that works fine and has been working find for over a year, but since updating to xcode 4 and the ios 5 SDK Sqlite crashes regularly, but ONLY on older devices still running iOS 3.1.3. However, if I compile

Re: [sqlite] iPhone/iPad Database Disk Image Malformed

2010-11-02 Thread Raeldor
Ah, that's great to know... thank you for the link. I was going crazy trying to figure out what setting I'd screwed up. Thanks Ray On Tue, Nov 2, 2010 at 7:05 PM, Raeldor wrote: > > I believe you. The main problem is in the iPad simulator... funny thing > is > that

Re: [sqlite] iPhone/iPad Database Disk Image Malformed

2010-11-02 Thread Richard Hipp
On Tue, Nov 2, 2010 at 7:05 PM, Raeldor wrote: > > I believe you. The main problem is in the iPad simulator... funny thing is > that the same database opens fine on the iPhone device and iPhone > simulator. > There is a bug in the iPad/iPhone simulator that causes SQLite

Re: [sqlite] iPhone/iPad Database Disk Image Malformed

2010-11-02 Thread Raeldor
I believe you. The main problem is in the iPad simulator... funny thing is that the same database opens fine on the iPhone device and iPhone simulator. BareFeetWare-2 wrote: > > Hi Ray, > > In reply to: > >> My application was working fine, but now I get this message consistantly >> in >>

[sqlite] iPhone/iPad Database Disk Image Malformed

2010-11-02 Thread Raeldor
Hi All, My application was working fine, but now I get this message consistantly in the iPad simulator and on the device too when I try and run my updated database since iOS 4.0. My database was built on the PC and copied to the Mac and then into my xCode project which I've never had a problem

Re: [sqlite] iPhone App close database

2009-12-10 Thread Greg Walters
Simon, Thanks a lot. This is just what I needed. Greg From: Simon Slavin <slav...@bigfraud.org> To: General Discussion of SQLite Database <sqlite-users@sqlite.org> Sent: Wed, December 9, 2009 4:34:09 PM Subject: Re: [sqlite] iPhone App close databas

Re: [sqlite] iPhone App close database

2009-12-09 Thread Simon Slavin
On 9 Dec 2009, at 11:13pm, Greg Walters wrote: > I am looking for some general information regarding closing the sqlite > database when used from an iPhone app. Since you never know when you app will > go away, when do you close the database. I have found one example application > that closes

[sqlite] iPhone App close database

2009-12-09 Thread Greg Walters
Hi, I am looking for some general information regarding closing the sqlite database when used from an iPhone app. Since you never know when you app will go away, when do you close the database. I have found one example application that closes the database after getting data and doing updates.

Re: [sqlite] iPhone

2007-07-02 Thread Will Leshner
On 7/2/07, RaghavendraK 70574 <[EMAIL PROTECTED]> wrote: Congratulations to DRH and all. I Just love this beast,incredibly small but with monster features. Of course, SQLite is already a big part of Mac OS X. It is the "core" of Core Data:

Re: [sqlite] iPhone

2007-07-02 Thread RaghavendraK 70574
and delete it! * - Original Message - From: P Kishor <[EMAIL PROTECTED]> Date: Tuesday, July 3, 2007 10:32 am Subject: Re: [sqlite] iPhone > On 7/2/07, RaghavendraK 70574 <[EMAIL PROTE

Re: [sqlite] iPhone

2007-07-02 Thread P Kishor
about here? ;-) - Original Message - From: Rich Shepard <[EMAIL PROTECTED]> Date: Tuesday, July 3, 2007 3:01 am Subject: Re: [sqlite] iPhone > On Mon, 2 Jul 2007, Peter van Dijk wrote: > > > Apple's new iPhone uses SQLite 3.1.3 to manage its database of > certifica

Re: [sqlite] iPhone

2007-07-02 Thread RaghavendraK 70574
ct: Re: [sqlite] iPhone > On Mon, 2 Jul 2007, Peter van Dijk wrote: > > > Apple's new iPhone uses SQLite 3.1.3 to manage its database of > certificates > Well, then: imagine how much more folks would have had to pay > to cover the > costs of developing their own dbms,

Re: [sqlite] iPhone

2007-07-02 Thread Rich Shepard
On Mon, 2 Jul 2007, [EMAIL PROTECTED] wrote: Rich, can you bring this to attention of Steve Jobs for me. ;-) Well, I'd be happy to, but he would most likely ignore any email message I sent. More to the point, he wouldn't care. Rich -- Richard B. Shepard, Ph.D. |The

Re: [sqlite] iPhone

2007-07-02 Thread drh
Rich Shepard <[EMAIL PROTECTED]> wrote: > On Mon, 2 Jul 2007, Peter van Dijk wrote: > > > Apple's new iPhone uses SQLite 3.1.3 to manage its database of certificates > >Well, then: imagine how much more folks would have had to pay to cover the > costs of developing their own dbms, or

Re: [sqlite] iPhone

2007-07-02 Thread Rich Shepard
On Mon, 2 Jul 2007, Peter van Dijk wrote: Apple's new iPhone uses SQLite 3.1.3 to manage its database of certificates Well, then: imagine how much more folks would have had to pay to cover the costs of developing their own dbms, or licensing a commercial one. Rich -- Richard B. Shepard,

[sqlite] iPhone

2007-07-02 Thread Peter van Dijk
Apple's new iPhone uses SQLite 3.1.3 to manage its database of certificates :) Cheers, Peter - To unsubscribe, send email to [EMAIL PROTECTED]