Re: [sqlite] Cross-compiled sqlite3 tool runs into segmentation fault when creating a table

2011-12-15 Thread imin imup
On Mon, Dec 12, 2011 at 10:41 PM, Richard Hipp  wrote:

> On Mon, Dec 12, 2011 at 11:34 PM, imin imup  wrote:
>
> >  Hello,
> >
> > I'm cross-compiling SQLite 3.6.12 onto Fedora 14 on MIPS cpu. The command
> > line tool sqlite3 runs into segmentation fault when I tried to create a
> > table:
> >
> >
> > # sqlite3_mipsel test.db
> > SQLite version 3.6.12
> > Enter ".help" for instructions
> > Enter SQL statements terminated with a ";"
> > sqlite> create table tbl1(one varchar(10), two smallint);
> > Segmentation fault
> >
> >
> > Any idea how to fix this?
> >
>
> Compile the following patch instead:
> http://www.sqlite.org/src/ci/54cc119811?sbs=0
>
> It works! Tons of thanks!
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Cross-compiled sqlite3 tool runs into segmentation fault when creating a table

2011-12-12 Thread Richard Hipp
On Mon, Dec 12, 2011 at 11:34 PM, imin imup  wrote:

>  Hello,
>
> I'm cross-compiling SQLite 3.6.12 onto Fedora 14 on MIPS cpu. The command
> line tool sqlite3 runs into segmentation fault when I tried to create a
> table:
>
>
> # sqlite3_mipsel test.db
> SQLite version 3.6.12
> Enter ".help" for instructions
> Enter SQL statements terminated with a ";"
> sqlite> create table tbl1(one varchar(10), two smallint);
> Segmentation fault
>
>
> Any idea how to fix this?
>

Compile the following patch instead:
http://www.sqlite.org/src/ci/54cc119811?sbs=0


> It runs well on Fedora14 on i386 CPU.
>
>
> Thanks
> Imin
> ___
> 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


[sqlite] Cross-compiled sqlite3 tool runs into segmentation fault when creating a table

2011-12-12 Thread imin imup
 Hello,

I'm cross-compiling SQLite 3.6.12 onto Fedora 14 on MIPS cpu. The command
line tool sqlite3 runs into segmentation fault when I tried to create a
table:


# sqlite3_mipsel test.db
SQLite version 3.6.12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> create table tbl1(one varchar(10), two smallint);
Segmentation fault


Any idea how to fix this?
It runs well on Fedora14 on i386 CPU.


Thanks
Imin
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users