SQLite Forum

Building SQLIte3 wiuth debug options fails on UBUNTU
Login
Here is the GDB info
fish: “./sqlite3” terminated by signal SIGSEGV (Address boundary error)
Program received signal SIGSEGV, Segmentation fault.
0x000055555556888c in integerValue (zArg=0x0) at shell.c:762
762       if( zArg[0]=='-' ){
-- more source lines
755         { "GB",  1000000000 },
756         { "K",   1000 },
757         { "M",   1000000 },
758         { "G",   1000000000 },
759       };
760       int i;
761       int isNeg = 0;
762       if( zArg[0]=='-' ){
763         isNeg = 1;
764         zArg++;
p
v = 0
aMult = {{zSuffix = 0x55555570e695 "KiB", iMult = 1024}, {zSuffix = 0x55555570e699 "MiB", iMult = 1048576}, {zSuffix = 0x55555570e69d "GiB", iMult = 1073741824}, {zSuffix = 0x55555570e6a1 "KB", iMult = 1000}, {zSuffix = 0x55555570e6a4 "MB", iMult = 1000000}, {zSuffix = 0x55555570e6a7 "GB", iMult = 1000000000}, {
    zSuffix = 0x55555570e6aa "K", iMult = 1000}, {zSuffix = 0x55555570e6ac "M", iMult = 1000000}, {zSuffix = 0x55555570e6ae "G", iMult = 1000000000}}
i = 21845
isNeg = 0
l
Is tthis a problem? → zArg = 0x0
bt
#0  integerValue (zArg=0x0) at shell.c:762
#1  0x000055555558f7c9 in do_meta_command (zLine=0x5555557d9440 ".selecttrace", p=0x7fffffffc8f0) at shell.c:17488
#2  0x0000555555593094 in process_input (p=0x7fffffffc8f0) at shell.c:18718
#3  0x0000555555594ef6 in main (argc=1, argv=0x7fffffffdef8) at shell.c:19521