1 +
> Von: "Black, Michael (IS)" <michael.bla...@ngc.com>
> An: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Betreff: Re: [sqlite] Segmentation Fault on SQLITE3_exex
> What you're showing should basically work as long it's not a single class
"Black, Michael (IS)" <michael.bla...@ngc.com>
> An: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Betreff: Re: [sqlite] Segmentation Fault on SQLITE3_exex
> What you're showing should basically work as long it's not a single class
> instantiatio
base; sqlite-users@sqlite.org
Subject: EXT :Re: [sqlite] Segmentation Fault on SQLITE3_exex
First of all thanks for your detailed reply! According to the documentation its
not recommended to reuse a preparedStatement after finalizing it. So my initial
guess to do something like this:
sqlite3_st
On Fri, Oct 28, 2011 at 10:07 AM, Christian wrote:
> static char command [1024];
> ...
> sprintf (command, "SELECT * from model where id=?");
>
FYI: that can be simplified to:
static char const * command = "SELECT * from model where id=?";
There's no reason why the overhead
;Black, Michael (IS)" <michael.bla...@ngc.com>
> An: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Betreff: Re: [sqlite] Segmentation Fault on SQLITE3_exex
> I think we went throught something similar to this a while ago.
>
>
>
> Does each cla
0:24 AM
To: General Discussion of SQLite Database; sqlite-users@sqlite.org
Subject: EXT :Re: [sqlite] Segmentation Fault on SQLITE3_exex
Currently I'm using valgrinds memcheck tools to solve the issue, I already
found some undelete memory which is definitly not causing the error, but I
r
com>
> An: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Betreff: Re: [sqlite] Segmentation Fault on SQLITE3_exex
>
>
> Then put a breakpoint on the "p" being passed into this function to catch
> when it changesit should onl
on Systems
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on
behalf of Christian [siriu...@gmx.de]
Sent: Thursday, October 27, 2011 6:49 AM
To: General Discussion of SQLite Database; sqlite-users@sqlite.org
Subject: EXT :Re: [sqlite] Segmentation Fault on SQ
t; An: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Betreff: Re: [sqlite] Segmentation Fault on SQLITE3_exex
> Me thinkst you're corrupting your stack or memory.
>
>
>
> I'd be willing to bet big money that this is your program causing this as
> the
: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on
behalf of Christian [siriu...@gmx.de]
Sent: Thursday, October 27, 2011 4:51 AM
To: sqlite-users@sqlite.org
Subject: EXT :[sqlite] Segmentation Fault on SQLITE3_exex
Hello everybody,
I'm facing a strange issue and believe that my
Hello everybody,
I'm facing a strange issue and believe that my setup is somehow wrong. From
time to time my program crashes with segfault when calling:
if (sqlite3_exec (db, "BEGIN TRANSACTION", 0, 0, 0) != SQLITE_OK)
{
//error
}
The stacktrace points to this function:
static void
11 matches
Mail list logo