techi eth wrote:
You should compile your code & sqlite3.c with -g -O0 when
sending a stack trace.
Most likely, the bug is in your program. Since you're on Linux,
try running with valgrind memcheck tool to find bugs (access
to free memory, uninitialized memory, etc.)
If you compile with
I'm not an sqlite3 dev, but I don't think you'll get much help until you
provide enough information for somebody to see what is going wrong. You
were already asked to provide a backtrace from a debug-compiled sqlite3
library (the backtrace you sent is all but useless).
A self-contained .c
Please provide me hint to solve the issue.
Thanks..
On Fri, Oct 11, 2013 at 7:58 PM, techi eth wrote:
> It is giving same trace what i have sent last time.
>
> It is possible by some one to send test code snapshot of scenario of
> selecting user defined function while
It is giving same trace what i have sent last time.
It is possible by some one to send test code snapshot of scenario of
selecting user defined function while trigger execution.
Thanks a lot...
On Fri, Oct 11, 2013 at 7:41 PM, Richard Hipp wrote:
> On Fri, Oct 11, 2013 at
Data Info is not an problem.I am passing data information for building
query before passing to sqlite exec function.If i remove trigger for insert
then my code is working perfectly fine.
My assumption is it is due to selecting function during trigger.Please
suggest hint by looking sequence
On Fri, Oct 11, 2013 at 4:06 PM, techi eth wrote:
> > #4 0x778e1127 in SqliteTestInsert (SQLitePrivate=0x602300,
> > TableName_p=0x4019a0 "dbTestTbl", DataInfoList=0x4)
>
There's the problem: DataInfoList is an invalid pointer. i have no idea
what that is, but it's
On Fri, Oct 11, 2013 at 10:06 AM, techi eth wrote:
> Please provide some hint.
>
Recompile with -O0 and -g and then post the stack trace after the segfault.
--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
Please provide some hint.I have added some more details about function
definition & query.
/* Create function definition */
static void Test(sqlite3_context *context, int argc, sqlite3_value **argv)
{
printf ("Trigger Function Called\n");
if (argc == 1) {
char *text =
Please find below :
#0 0x7fffe0b8 in ?? ()
#1 0x776988f6 in ?? () from
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#2 0x7769e451 in sqlite3_step () from
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#3 0x776a1e4c in sqlite3_exec () from
On Fri, Oct 11, 2013 at 7:57 AM, techi eth wrote:
> Hi,
>
> I am getting segmentation fault while executing query in sqlite3. [Linux
> OS].
>
Can you send us a stack trace?
>
> Find below sequence.
>
> // Getting SQLiteHandler
>
> OpenConnection ();
>
> //Creating user
Hi,
I am getting segmentation fault while executing query in sqlite3. [Linux
OS].
Find below sequence.
// Getting SQLiteHandler
OpenConnection ();
//Creating user defined function “Test”
sqlite3_create_function(SQLiteHandler, "Test",1, SQLITE_UTF8, NULL, ,
NULL, NULL)
//Creating table,Below
11 matches
Mail list logo