Artifact
ebf4da05db6529bfe70ff2d24f0080c43b2b4bcf:
Ticket change
[ebf4da05db]
- New ticket
[95ab8f02c3] Bus error in SQLite under Solaris 9 (sparc).
by
chi
2009-06-07 12:01:07.
0000: 44 20 32 30 30 39 2d 30 36 2d 30 37 54 31 32 3a D 2009-06-07T12:
0010: 30 31 3a 30 37 0a 4a 20 63 6f 6d 6d 65 6e 74 20 01:07.J comment
0020: 54 6f 5c 73 64 65 76 65 6c 6f 70 5c 73 61 6e 6f To\sdevelop\sano
0030: 74 68 65 72 5c 73 70 72 6f 6a 65 63 74 5c 73 75 ther\sproject\su
0040: 6e 64 65 72 5c 73 53 6f 6c 61 72 69 73 5c 73 39 nder\sSolaris\s9
0050: 5c 73 28 73 70 61 72 63 29 2c 5c 73 49 5c 73 64 \s(sparc),\sI\sd
0060: 65 63 69 64 65 64 5c 73 66 69 72 73 74 5c 73 74 ecided\sfirst\st
0070: 6f 5c 73 62 75 69 6c 64 5c 73 46 6f 73 73 69 6c o\sbuild\sFossil
0080: 5c 73 74 6f 5c 73 75 73 65 5c 73 69 74 5c 73 61 \sto\suse\sit\sa
0090: 73 5c 73 56 43 53 5c 73 66 6f 72 5c 73 6d 79 5c s\sVCS\sfor\smy\
00a0: 73 70 72 6f 6a 65 63 74 2e 5c 73 55 6e 66 6f 72 sproject.\sUnfor
00b0: 74 75 6e 61 74 65 6c 79 5c 73 69 74 5c 73 77 61 tunately\sit\swa
00c0: 73 5c 73 6e 6f 74 5c 73 70 6f 73 73 69 62 6c 65 s\snot\spossible
00d0: 5c 73 74 6f 5c 73 62 75 69 6c 64 5c 73 69 74 5c \sto\sbuild\sit\
00e0: 73 73 74 72 65 69 67 68 74 5c 73 61 68 65 61 64 sstreight\sahead
00f0: 2e 5c 73 46 6f 6c 6c 6f 77 69 6e 67 5c 73 77 61 .\sFollowing\swa
0100: 73 5c 73 6e 65 63 65 73 73 61 72 79 3a 5c 72 5c s\snecessary:\r\
0110: 6e 5c 72 5c 6e 5c 73 5c 73 31 5c 73 5c 73 3c 73 n\r\n\s\s1\s\s<s
0120: 61 6d 70 3e 73 68 61 31 2e 63 3c 2f 73 61 6d 70 amp>sha1.c</samp
0130: 3e 5c 73 6f 75 67 68 74 5c 73 74 6f 5c 73 62 65 >\sought\sto\sbe
0140: 5c 73 70 61 74 63 68 65 64 5c 73 76 69 61 5c 73 \spatched\svia\s
0150: 3c 76 65 72 62 61 74 69 6d 3e 2d 2d 2d 5c 73 73 <verbatim>---\ss
0160: 72 63 2f 73 68 61 31 2e 63 5c 73 5c 73 54 68 75 rc/sha1.c\s\sThu
0170: 5c 73 4d 61 79 5c 73 32 38 5c 73 30 32 3a 34 34 \sMay\s28\s02:44
0180: 3a 33 38 5c 73 32 30 30 39 5c 72 5c 6e 2b 2b 2b :38\s2009\r\n+++
0190: 5c 73 2e 2e 2f 66 6f 73 73 69 6c 2f 73 72 63 2f \s../fossil/src/
01a0: 73 68 61 31 2e 63 5c 73 5c 73 5c 73 5c 73 5c 73 sha1.c\s\s\s\s\s
01b0: 5c 73 5c 73 5c 73 53 61 74 5c 73 4a 75 6e 5c 73 \s\s\sSat\sJun\s
01c0: 5c 73 36 5c 73 31 38 3a 30 37 3a 33 39 5c 73 32 \s6\s18:07:39\s2
01d0: 30 30 39 5c 72 5c 6e 40 40 5c 73 2d 32 2c 37 5c 009\r\n@@\s-2,7\
01e0: 73 2b 32 2c 31 32 5c 73 40 40 5c 72 5c 6e 5c 73 s+2,12\s@@\r\n\s
01f0: 2a 2a 5c 73 54 68 69 73 5c 73 69 6d 70 6c 65 6d **\sThis\simplem
0200: 65 6e 74 61 74 69 6f 6e 5c 73 6f 66 5c 73 53 48 entation\sof\sSH
0210: 41 31 5c 73 69 73 5c 73 61 64 61 70 74 65 64 5c A1\sis\sadapted\
0220: 73 66 72 6f 6d 5c 73 74 68 65 5c 73 65 78 61 6d sfrom\sthe\sexam
0230: 70 6c 65 5c 73 69 6d 70 6c 65 6d 65 6e 74 61 74 ple\simplementat
0240: 69 6f 6e 5c 72 5c 6e 5c 73 2a 2a 5c 73 63 6f 6e ion\r\n\s**\scon
0250: 74 61 69 6e 65 64 5c 73 69 6e 5c 73 52 46 43 2d tained\sin\sRFC-
0260: 33 31 37 34 2e 5c 72 5c 6e 5c 73 2a 2f 5c 72 5c 3174.\r\n\s*/\r\
0270: 6e 2d 23 69 6e 63 6c 75 64 65 5c 73 3c 73 74 64 n-#include\s<std
0280: 69 6e 74 2e 68 3e 5c 72 5c 6e 2b 23 69 66 64 65 int.h>\r\n+#ifde
0290: 66 5c 73 5f 5f 73 70 61 72 63 5f 5f 5c 72 5c 6e f\s__sparc__\r\n
02a0: 2b 5c 73 5c 73 74 79 70 65 64 65 66 5c 73 75 6e +\s\stypedef\sun
02b0: 73 69 67 6e 65 64 5c 73 69 6e 74 5c 73 75 69 6e signed\sint\suin
02c0: 74 33 32 5f 74 3b 5c 72 5c 6e 2b 5c 73 5c 73 74 t32_t;\r\n+\s\st
02d0: 79 70 65 64 65 66 5c 73 75 6e 73 69 67 6e 65 64 ypedef\sunsigned
02e0: 5c 73 63 68 61 72 5c 73 75 69 6e 74 38 5f 74 3b \schar\suint8_t;
02f0: 5c 72 5c 6e 2b 23 65 6c 73 65 5c 72 5c 6e 2b 23 \r\n+#else\r\n+#
0300: 5c 73 69 6e 63 6c 75 64 65 5c 73 3c 73 74 64 69 \sinclude\s<stdi
0310: 6e 74 2e 68 3e 5c 72 5c 6e 2b 23 65 6e 64 69 66 nt.h>\r\n+#endif
0320: 5c 72 5c 6e 5c 73 23 69 6e 63 6c 75 64 65 5c 73 \r\n\s#include\s
0330: 3c 73 79 73 2f 74 79 70 65 73 2e 68 3e 5c 72 5c <sys/types.h>\r\
0340: 6e 5c 73 23 69 6e 63 6c 75 64 65 5c 73 22 63 6f n\s#include\s"co
0350: 6e 66 69 67 2e 68 22 5c 72 5c 6e 5c 73 23 69 6e nfig.h"\r\n\s#in
0360: 63 6c 75 64 65 5c 73 22 73 68 61 31 2e 68 22 3c clude\s"sha1.h"<
0370: 2f 76 65 72 62 61 74 69 6d 3e 5c 72 5c 6e 5c 72 /verbatim>\r\n\r
0380: 5c 6e 5c 73 5c 73 32 5c 73 5c 73 54 68 65 5c 73 \n\s\s2\s\sThe\s
0390: 62 69 6e 61 72 79 5c 73 3c 73 61 6d 70 3e 66 6f binary\s<samp>fo
03a0: 73 73 69 6c 3c 2f 73 61 6d 70 3e 5c 73 68 61 73 ssil</samp>\shas
03b0: 5c 73 74 6f 5c 73 62 65 5c 73 6c 69 6e 6b 65 64 \sto\sbe\slinked
03c0: 5c 73 77 69 74 68 5c 73 3c 73 61 6d 70 3e 2d 6c \swith\s<samp>-l
03d0: 73 6f 63 6b 65 74 5c 73 2d 6c 6e 73 6c 3c 2f 73 socket\s-lnsl</s
03e0: 61 6d 70 3e 5c 72 5c 6e 5c 72 5c 6e 41 66 74 65 amp>\r\n\r\nAfte
03f0: 72 5c 73 74 68 65 73 65 2c 5c 73 74 68 65 5c 73 r\sthese,\sthe\s
0400: 62 69 6e 61 72 79 5c 73 63 6f 75 6c 64 5c 73 62 binary\scould\sb
0410: 65 5c 73 62 75 69 6c 74 2e 5c 73 42 75 74 5c 73 e\sbuilt.\sBut\s
0420: 75 73 69 6e 67 5c 73 69 74 5c 73 74 6f 5c 73 65 using\sit\sto\se
0430: 2e 67 2e 5c 73 63 6c 6f 6e 65 5c 73 6f 72 5c 73 .g.\sclone\sor\s
0440: 72 65 62 75 69 6c 64 5c 73 61 6e 5c 73 65 78 69 rebuild\san\sexi
0450: 73 74 69 6e 67 5c 73 72 65 70 6f 73 69 74 6f 72 sting\srepositor
0460: 79 2c 5c 73 77 69 6c 6c 5c 73 72 65 73 75 6c 74 y,\swill\sresult
0470: 5c 73 69 6e 5c 73 61 5c 73 62 75 73 5c 73 65 72 \sin\sa\sbus\ser
0480: 72 6f 72 5c 73 77 69 74 68 5c 73 63 6f 72 65 5c ror\swith\score\
0490: 73 64 75 6d 70 2e 5c 73 41 5c 73 64 65 62 75 67 sdump.\sA\sdebug
04a0: 67 65 72 5c 73 65 78 63 65 72 70 74 5c 73 73 68 ger\sexcerpt\ssh
04b0: 6f 77 73 3a 3c 76 65 72 62 61 74 69 6d 3e 62 61 ows:<verbatim>ba
04c0: 73 68 2d 32 2e 30 35 24 5c 73 2e 2f 66 6f 73 73 sh-2.05$\s./foss
04d0: 69 6c 5c 73 63 6c 6f 6e 65 5c 73 7e 2f 72 65 70 il\sclone\s~/rep
04e0: 6f 73 2f 74 33 78 2e 66 73 6c 5c 73 74 33 78 2e os/t3x.fsl\st3x.
04f0: 66 73 6c 5c 72 5c 6e 5c 73 52 65 70 6f 73 69 74 fsl\r\n\sReposit
0500: 6f 72 79 5c 73 63 6c 6f 6e 65 64 5c 73 69 6e 74 ory\scloned\sint
0510: 6f 5c 73 74 33 78 2e 66 73 6c 5c 72 5c 6e 5c 73 o\st3x.fsl\r\n\s
0520: 52 65 62 75 69 6c 64 69 6e 67 5c 73 72 65 70 6f Rebuilding\srepo
0530: 73 69 74 6f 72 79 5c 73 6d 65 74 61 2d 64 61 74 sitory\smeta-dat
0540: 61 2e 2e 2e 5c 72 5c 6e 42 75 73 5c 73 45 72 72 a...\r\nBus\sErr
0550: 6f 72 5c 73 28 63 6f 72 65 5c 73 64 75 6d 70 65 or\s(core\sdumpe
0560: 64 29 5c 72 5c 6e 62 61 73 68 2d 32 2e 30 35 24 d)\r\nbash-2.05$
0570: 5c 73 67 64 62 5c 73 66 6f 73 73 69 6c 5c 73 63 \sgdb\sfossil\sc
0580: 6f 72 65 5c 72 5c 6e 47 4e 55 5c 73 67 64 62 5c ore\r\nGNU\sgdb\
0590: 73 35 2e 30 5c 72 5c 6e 43 6f 70 79 72 69 67 68 s5.0\r\nCopyrigh
05a0: 74 5c 73 32 30 30 30 5c 73 46 72 65 65 5c 73 53 t\s2000\sFree\sS
05b0: 6f 66 74 77 61 72 65 5c 73 46 6f 75 6e 64 61 74 oftware\sFoundat
05c0: 69 6f 6e 2c 5c 73 49 6e 63 2e 5c 72 5c 6e 47 44 ion,\sInc.\r\nGD
05d0: 42 5c 73 69 73 5c 73 66 72 65 65 5c 73 73 6f 66 B\sis\sfree\ssof
05e0: 74 77 61 72 65 2c 5c 73 63 6f 76 65 72 65 64 5c tware,\scovered\
05f0: 73 62 79 5c 73 74 68 65 5c 73 47 4e 55 5c 73 47 sby\sthe\sGNU\sG
0600: 65 6e 65 72 61 6c 5c 73 50 75 62 6c 69 63 5c 73 eneral\sPublic\s
0610: 4c 69 63 65 6e 73 65 2c 5c 73 61 6e 64 5c 73 79 License,\sand\sy
0620: 6f 75 5c 73 61 72 65 5c 72 5c 6e 77 65 6c 63 6f ou\sare\r\nwelco
0630: 6d 65 5c 73 74 6f 5c 73 63 68 61 6e 67 65 5c 73 me\sto\schange\s
0640: 69 74 5c 73 61 6e 64 2f 6f 72 5c 73 64 69 73 74 it\sand/or\sdist
0650: 72 69 62 75 74 65 5c 73 63 6f 70 69 65 73 5c 73 ribute\scopies\s
0660: 6f 66 5c 73 69 74 5c 73 75 6e 64 65 72 5c 73 63 of\sit\sunder\sc
0670: 65 72 74 61 69 6e 5c 73 63 6f 6e 64 69 74 69 6f ertain\sconditio
0680: 6e 73 2e 5c 72 5c 6e 54 79 70 65 5c 73 22 73 68 ns.\r\nType\s"sh
0690: 6f 77 5c 73 63 6f 70 79 69 6e 67 22 5c 73 74 6f ow\scopying"\sto
06a0: 5c 73 73 65 65 5c 73 74 68 65 5c 73 63 6f 6e 64 \ssee\sthe\scond
06b0: 69 74 69 6f 6e 73 2e 5c 72 5c 6e 54 68 65 72 65 itions.\r\nThere
06c0: 5c 73 69 73 5c 73 61 62 73 6f 6c 75 74 65 6c 79 \sis\sabsolutely
06d0: 5c 73 6e 6f 5c 73 77 61 72 72 61 6e 74 79 5c 73 \sno\swarranty\s
06e0: 66 6f 72 5c 73 47 44 42 2e 5c 73 5c 73 54 79 70 for\sGDB.\s\sTyp
06f0: 65 5c 73 22 73 68 6f 77 5c 73 77 61 72 72 61 6e e\s"show\swarran
0700: 74 79 22 5c 73 66 6f 72 5c 73 64 65 74 61 69 6c ty"\sfor\sdetail
0710: 73 2e 5c 72 5c 6e 54 68 69 73 5c 73 47 44 42 5c s.\r\nThis\sGDB\
0720: 73 77 61 73 5c 73 63 6f 6e 66 69 67 75 72 65 64 swas\sconfigured
0730: 5c 73 61 73 5c 73 22 73 70 61 72 63 2d 73 75 6e \sas\s"sparc-sun
0740: 2d 73 6f 6c 61 72 69 73 32 2e 39 22 2e 2e 2e 5c -solaris2.9"...\
0750: 72 5c 6e 43 6f 72 65 5c 73 77 61 73 5c 73 67 65 r\nCore\swas\sge
0760: 6e 65 72 61 74 65 64 5c 73 62 79 5c 73 60 2e 2f nerated\sby\s`./
0770: 66 6f 73 73 69 6c 5c 73 63 6c 6f 6e 65 5c 73 2f fossil\sclone\s/
0780: 65 78 70 6f 72 74 2f 68 6f 6d 65 2f 63 6c 65 2f export/home/cle/
0790: 72 65 70 6f 73 2f 74 33 78 2e 66 73 6c 5c 73 74 repos/t3x.fsl\st
07a0: 33 78 2e 66 73 6c 27 2e 5c 72 5c 6e 50 72 6f 67 3x.fsl'.\r\nProg
07b0: 72 61 6d 5c 73 74 65 72 6d 69 6e 61 74 65 64 5c ram\sterminated\
07c0: 73 77 69 74 68 5c 73 73 69 67 6e 61 6c 5c 73 31 swith\ssignal\s1
07d0: 30 2c 5c 73 42 75 73 5c 73 45 72 72 6f 72 2e 5c 0,\sBus\sError.\
07e0: 72 5c 6e 52 65 61 64 69 6e 67 5c 73 73 79 6d 62 r\nReading\ssymb
07f0: 6f 6c 73 5c 73 66 72 6f 6d 5c 73 2f 75 73 72 2f ols\sfrom\s/usr/
0800: 6c 69 62 2f 6c 69 62 7a 2e 73 6f 2e 31 2e 2e 2e lib/libz.so.1...
0810: 64 6f 6e 65 2e 5c 72 5c 6e 4c 6f 61 64 65 64 5c done.\r\nLoaded\
0820: 73 73 79 6d 62 6f 6c 73 5c 73 66 6f 72 5c 73 2f ssymbols\sfor\s/
0830: 75 73 72 2f 6c 69 62 2f 6c 69 62 7a 2e 73 6f 2e usr/lib/libz.so.
0840: 31 5c 72 5c 6e 52 65 61 64 69 6e 67 5c 73 73 79 1\r\nReading\ssy
0850: 6d 62 6f 6c 73 5c 73 66 72 6f 6d 5c 73 2f 75 73 mbols\sfrom\s/us
0860: 72 2f 6c 69 62 2f 6c 69 62 73 6f 63 6b 65 74 2e r/lib/libsocket.
0870: 73 6f 2e 31 2e 2e 2e 64 6f 6e 65 2e 5c 72 5c 6e so.1...done.\r\n
0880: 4c 6f 61 64 65 64 5c 73 73 79 6d 62 6f 6c 73 5c Loaded\ssymbols\
0890: 73 66 6f 72 5c 73 2f 75 73 72 2f 6c 69 62 2f 6c sfor\s/usr/lib/l
08a0: 69 62 73 6f 63 6b 65 74 2e 73 6f 2e 31 5c 72 5c ibsocket.so.1\r\
08b0: 6e 52 65 61 64 69 6e 67 5c 73 73 79 6d 62 6f 6c nReading\ssymbol
08c0: 73 5c 73 66 72 6f 6d 5c 73 2f 75 73 72 2f 6c 69 s\sfrom\s/usr/li
08d0: 62 2f 6c 69 62 6e 73 6c 2e 73 6f 2e 31 2e 2e 2e b/libnsl.so.1...
08e0: 64 6f 6e 65 2e 5c 72 5c 6e 4c 6f 61 64 65 64 5c done.\r\nLoaded\
08f0: 73 73 79 6d 62 6f 6c 73 5c 73 66 6f 72 5c 73 2f ssymbols\sfor\s/
0900: 75 73 72 2f 6c 69 62 2f 6c 69 62 6e 73 6c 2e 73 usr/lib/libnsl.s
0910: 6f 2e 31 5c 72 5c 6e 52 65 61 64 69 6e 67 5c 73 o.1\r\nReading\s
0920: 73 79 6d 62 6f 6c 73 5c 73 66 72 6f 6d 5c 73 2f symbols\sfrom\s/
0930: 75 73 72 2f 6c 69 62 2f 6c 69 62 63 2e 73 6f 2e usr/lib/libc.so.
0940: 31 2e 2e 2e 64 6f 6e 65 2e 5c 72 5c 6e 4c 6f 61 1...done.\r\nLoa
0950: 64 65 64 5c 73 73 79 6d 62 6f 6c 73 5c 73 66 6f ded\ssymbols\sfo
0960: 72 5c 73 2f 75 73 72 2f 6c 69 62 2f 6c 69 62 63 r\s/usr/lib/libc
0970: 2e 73 6f 2e 31 5c 72 5c 6e 52 65 61 64 69 6e 67 .so.1\r\nReading
0980: 5c 73 73 79 6d 62 6f 6c 73 5c 73 66 72 6f 6d 5c \ssymbols\sfrom\
0990: 73 2f 75 73 72 2f 6c 69 62 2f 6c 69 62 64 6c 2e s/usr/lib/libdl.
09a0: 73 6f 2e 31 2e 2e 2e 64 6f 6e 65 2e 5c 72 5c 6e so.1...done.\r\n
09b0: 4c 6f 61 64 65 64 5c 73 73 79 6d 62 6f 6c 73 5c Loaded\ssymbols\
09c0: 73 66 6f 72 5c 73 2f 75 73 72 2f 6c 69 62 2f 6c sfor\s/usr/lib/l
09d0: 69 62 64 6c 2e 73 6f 2e 31 5c 72 5c 6e 52 65 61 ibdl.so.1\r\nRea
09e0: 64 69 6e 67 5c 73 73 79 6d 62 6f 6c 73 5c 73 66 ding\ssymbols\sf
09f0: 72 6f 6d 5c 73 2f 75 73 72 2f 6c 69 62 2f 6c 69 rom\s/usr/lib/li
0a00: 62 6d 70 2e 73 6f 2e 32 2e 2e 2e 64 6f 6e 65 2e bmp.so.2...done.
0a10: 5c 72 5c 6e 4c 6f 61 64 65 64 5c 73 73 79 6d 62 \r\nLoaded\ssymb
0a20: 6f 6c 73 5c 73 66 6f 72 5c 73 2f 75 73 72 2f 6c ols\sfor\s/usr/l
0a30: 69 62 2f 6c 69 62 6d 70 2e 73 6f 2e 32 5c 72 5c ib/libmp.so.2\r\
0a40: 6e 52 65 61 64 69 6e 67 5c 73 73 79 6d 62 6f 6c nReading\ssymbol
0a50: 73 5c 73 66 72 6f 6d 5c 73 2f 75 73 72 2f 70 6c s\sfrom\s/usr/pl
0a60: 61 74 66 6f 72 6d 2f 53 55 4e 57 2c 55 6c 74 72 atform/SUNW,Ultr
0a70: 61 2d 35 5f 31 30 2f 6c 69 62 2f 6c 69 62 63 5f a-5_10/lib/libc_
0a80: 70 73 72 2e 73 6f 2e 31 2e 2e 2e 64 6f 6e 65 2e psr.so.1...done.
0a90: 5c 72 5c 6e 4c 6f 61 64 65 64 5c 73 73 79 6d 62 \r\nLoaded\ssymb
0aa0: 6f 6c 73 5c 73 66 6f 72 5c 73 2f 75 73 72 2f 70 ols\sfor\s/usr/p
0ab0: 6c 61 74 66 6f 72 6d 2f 53 55 4e 57 2c 55 6c 74 latform/SUNW,Ult
0ac0: 72 61 2d 35 5f 31 30 2f 6c 69 62 2f 6c 69 62 63 ra-5_10/lib/libc
0ad0: 5f 70 73 72 2e 73 6f 2e 31 5c 72 5c 6e 23 30 5c _psr.so.1\r\n#0\
0ae0: 73 5c 73 73 71 6c 69 74 65 33 52 6f 77 53 65 74 s\ssqlite3RowSet
0af0: 49 6e 73 65 72 74 5c 73 28 70 3d 30 78 31 30 65 Insert\s(p=0x10e
0b00: 37 61 30 2c 5c 73 72 6f 77 69 64 3d 31 36 29 5c 7a0,\srowid=16)\
0b10: 73 61 74 5c 73 73 72 63 2f 73 71 6c 69 74 65 33 sat\ssrc/sqlite3
0b20: 2e 63 3a 33 30 30 32 30 5c 72 5c 6e 33 30 30 32 .c:30020\r\n3002
0b30: 30 5c 73 5c 73 5c 73 5c 73 5c 73 70 45 6e 74 72 0\s\s\s\s\spEntr
0b40: 79 2d 3e 76 5c 73 3d 5c 73 72 6f 77 69 64 3b 5c y->v\s=\srowid;\
0b50: 72 5c 6e 28 67 64 62 29 5c 73 62 74 5c 72 5c 6e r\n(gdb)\sbt\r\n
0b60: 23 30 5c 73 5c 73 73 71 6c 69 74 65 33 52 6f 77 #0\s\ssqlite3Row
0b70: 53 65 74 49 6e 73 65 72 74 5c 73 28 70 3d 30 78 SetInsert\s(p=0x
0b80: 31 30 65 37 61 30 2c 5c 73 72 6f 77 69 64 3d 31 10e7a0,\srowid=1
0b90: 36 29 5c 73 61 74 5c 73 73 72 63 2f 73 71 6c 69 6)\sat\ssrc/sqli
0ba0: 74 65 33 2e 63 3a 33 30 30 32 30 5c 72 5c 6e 23 te3.c:30020\r\n#
0bb0: 31 5c 73 5c 73 30 78 37 31 34 31 30 5c 73 69 6e 1\s\s0x71410\sin
0bc0: 5c 73 73 71 6c 69 74 65 33 56 64 62 65 45 78 65 \ssqlite3VdbeExe
0bd0: 63 5c 73 28 70 3d 30 78 66 66 35 36 38 29 5c 73 c\s(p=0xff568)\s
0be0: 61 74 5c 73 73 72 63 2f 73 71 6c 69 74 65 33 2e at\ssrc/sqlite3.
0bf0: 63 3a 35 34 36 32 38 5c 72 5c 6e 23 32 5c 73 5c c:54628\r\n#2\s\
0c00: 73 30 78 36 63 34 64 63 5c 73 69 6e 5c 73 73 71 s0x6c4dc\sin\ssq
0c10: 6c 69 74 65 33 53 74 65 70 5c 73 28 70 3d 30 78 lite3Step\s(p=0x
0c20: 66 66 35 36 38 29 5c 73 61 74 5c 73 73 72 63 2f ff568)\sat\ssrc/
0c30: 73 71 6c 69 74 65 33 2e 63 3a 34 39 30 39 32 5c sqlite3.c:49092\
0c40: 72 5c 6e 23 33 5c 73 5c 73 30 78 36 63 36 32 34 r\n#3\s\s0x6c624
0c50: 5c 73 69 6e 5c 73 73 71 6c 69 74 65 33 5f 73 74 \sin\ssqlite3_st
0c60: 65 70 5c 73 28 70 53 74 6d 74 3d 30 78 66 66 35 ep\s(pStmt=0xff5
0c70: 36 38 29 5c 73 61 74 5c 73 73 72 63 2f 73 71 6c 68)\sat\ssrc/sql
0c80: 69 74 65 33 2e 63 3a 34 39 31 36 38 5c 72 5c 6e ite3.c:49168\r\n
0c90: 23 34 5c 73 5c 73 30 78 38 35 66 35 63 5c 73 69 #4\s\s0x85f5c\si
0ca0: 6e 5c 73 73 71 6c 69 74 65 33 5f 65 78 65 63 5c n\ssqlite3_exec\
0cb0: 73 28 64 62 3d 30 78 66 35 34 66 38 2c 5c 73 7a s(db=0xf54f8,\sz
0cc0: 53 71 6c 3d 30 78 66 66 36 36 38 5c 73 22 44 52 Sql=0xff668\s"DR
0cd0: 4f 50 5c 73 54 41 42 4c 45 5c 73 27 66 69 6c 65 OP\sTABLE\s'file
0ce0: 6e 61 6d 65 27 22 2c 5c 72 5c 6e 5c 73 5c 73 5c name'",\r\n\s\s\
0cf0: 73 5c 73 78 43 61 6c 6c 62 61 63 6b 3d 30 2c 5c s\sxCallback=0,\
0d00: 73 70 41 72 67 3d 30 78 30 2c 5c 73 70 7a 45 72 spArg=0x0,\spzEr
0d10: 72 4d 73 67 3d 30 78 66 66 62 66 66 61 33 63 29 rMsg=0xffbffa3c)
0d20: 5c 73 61 74 5c 73 73 72 63 2f 73 71 6c 69 74 65 \sat\ssrc/sqlite
0d30: 33 2e 63 3a 35 34 32 31 5c 72 5c 6e 23 35 5c 73 3.c:5421\r\n#5\s
0d40: 5c 73 30 78 32 39 61 66 34 5c 73 69 6e 5c 73 64 \s0x29af4\sin\sd
0d50: 62 5f 6d 75 6c 74 69 5f 65 78 65 63 5c 73 28 7a b_multi_exec\s(z
0d60: 53 71 6c 3d 30 78 63 32 61 65 30 5c 73 22 44 52 Sql=0xc2ae0\s"DR
0d70: 4f 50 5c 73 54 41 42 4c 45 5c 73 25 51 22 29 5c OP\sTABLE\s%Q")\
0d80: 73 61 74 5c 73 64 62 5f 2e 63 3a 33 39 30 5c 72 sat\sdb_.c:390\r
0d90: 5c 6e 23 36 5c 73 5c 73 30 78 33 63 64 63 34 5c \n#6\s\s0x3cdc4\
0da0: 73 69 6e 5c 73 72 65 62 75 69 6c 64 5f 64 62 5c sin\srebuild_db\
0db0: 73 28 72 61 6e 64 6f 6d 69 7a 65 3d 30 2c 5c 73 s(randomize=0,\s
0dc0: 64 6f 4f 75 74 3d 31 30 33 39 38 30 38 29 5c 73 doOut=1039808)\s
0dd0: 61 74 5c 73 72 65 62 75 69 6c 64 5f 2e 63 3a 32 at\srebuild_.c:2
0de0: 32 31 5c 72 5c 6e 23 37 5c 73 5c 73 30 78 32 37 21\r\n#7\s\s0x27
0df0: 32 38 38 5c 73 69 6e 5c 73 63 6c 6f 6e 65 5f 63 288\sin\sclone_c
0e00: 6d 64 5c 73 28 29 5c 73 61 74 5c 73 63 6c 6f 6e md\s()\sat\sclon
0e10: 65 5f 2e 63 3a 39 34 5c 72 5c 6e 23 38 5c 73 5c e_.c:94\r\n#8\s\
0e20: 73 30 78 33 35 37 39 63 5c 73 69 6e 5c 73 6d 61 s0x3579c\sin\sma
0e30: 69 6e 5c 73 28 61 72 67 63 3d 30 2c 5c 73 61 72 in\s(argc=0,\sar
0e40: 67 76 3d 30 78 66 66 62 66 66 63 35 63 29 5c 73 gv=0xffbffc5c)\s
0e50: 61 74 5c 73 6d 61 69 6e 5f 2e 63 3a 32 34 38 5c at\smain_.c:248\
0e60: 72 5c 6e 28 67 64 62 29 5c 73 70 5c 73 70 45 6e r\n(gdb)\sp\spEn
0e70: 74 72 79 5c 72 5c 6e 4e 6f 5c 73 73 79 6d 62 6f try\r\nNo\ssymbo
0e80: 6c 5c 73 22 70 45 6e 74 72 79 22 5c 73 69 6e 5c l\s"pEntry"\sin\
0e90: 73 63 75 72 72 65 6e 74 5c 73 63 6f 6e 74 65 78 scurrent\scontex
0ea0: 74 2e 5c 72 5c 6e 28 67 64 62 29 5c 73 6c 69 73 t.\r\n(gdb)\slis
0eb0: 74 5c 72 5c 6e 33 30 30 31 35 5c 73 5c 73 5c 73 t\r\n30015\s\s\s
0ec0: 5c 73 5c 73 5c 73 5c 73 70 2d 3e 70 46 72 65 73 \s\s\s\sp->pFres
0ed0: 68 5c 73 3d 5c 73 70 4e 65 77 2d 3e 61 45 6e 74 h\s=\spNew->aEnt
0ee0: 72 79 3b 5c 72 5c 6e 33 30 30 31 36 5c 73 5c 73 ry;\r\n30016\s\s
0ef0: 5c 73 5c 73 5c 73 5c 73 5c 73 70 2d 3e 6e 46 72 \s\s\s\s\sp->nFr
0f00: 65 73 68 5c 73 3d 5c 73 52 4f 57 53 45 54 5f 45 esh\s=\sROWSET_E
0f10: 4e 54 52 59 5f 50 45 52 5f 43 48 55 4e 4b 3b 5c NTRY_PER_CHUNK;\
0f20: 72 5c 6e 33 30 30 31 37 5c 73 5c 73 5c 73 5c 73 r\n30017\s\s\s\s
0f30: 5c 73 7d 5c 72 5c 6e 33 30 30 31 38 5c 73 5c 73 \s}\r\n30018\s\s
0f40: 5c 73 5c 73 5c 73 70 45 6e 74 72 79 5c 73 3d 5c \s\s\spEntry\s=\
0f50: 73 70 2d 3e 70 46 72 65 73 68 2b 2b 3b 5c 72 5c sp->pFresh++;\r\
0f60: 6e 33 30 30 31 39 5c 73 5c 73 5c 73 5c 73 5c 73 n30019\s\s\s\s\s
0f70: 70 2d 3e 6e 46 72 65 73 68 2d 2d 3b 5c 72 5c 6e p->nFresh--;\r\n
0f80: 33 30 30 32 30 5c 73 5c 73 5c 73 5c 73 5c 73 70 30020\s\s\s\s\sp
0f90: 45 6e 74 72 79 2d 3e 76 5c 73 3d 5c 73 72 6f 77 Entry->v\s=\srow
0fa0: 69 64 3b 5c 72 5c 6e 33 30 30 32 31 5c 73 5c 73 id;\r\n30021\s\s
0fb0: 5c 73 5c 73 5c 73 70 45 6e 74 72 79 2d 3e 70 52 \s\s\spEntry->pR
0fc0: 69 67 68 74 5c 73 3d 5c 73 30 3b 5c 72 5c 6e 33 ight\s=\s0;\r\n3
0fd0: 30 30 32 32 5c 73 5c 73 5c 73 5c 73 5c 73 70 4c 0022\s\s\s\s\spL
0fe0: 61 73 74 5c 73 3d 5c 73 70 2d 3e 70 4c 61 73 74 ast\s=\sp->pLast
0ff0: 3b 5c 72 5c 6e 33 30 30 32 33 5c 73 5c 73 5c 73 ;\r\n30023\s\s\s
1000: 5c 73 5c 73 69 66 28 5c 73 70 4c 61 73 74 5c 73 \s\sif(\spLast\s
1010: 29 7b 5c 72 5c 6e 33 30 30 32 34 5c 73 5c 73 5c ){\r\n30024\s\s\
1020: 73 5c 73 5c 73 5c 73 5c 73 69 66 28 5c 73 70 2d s\s\s\s\sif(\sp-
1030: 3e 69 73 53 6f 72 74 65 64 5c 73 26 26 5c 73 72 >isSorted\s&&\sr
1040: 6f 77 69 64 3c 3d 70 4c 61 73 74 2d 3e 76 5c 73 owid<=pLast->v\s
1050: 29 7b 5c 72 5c 6e 28 67 64 62 29 5c 73 69 6e 66 ){\r\n(gdb)\sinf
1060: 6f 5c 73 6c 6f 63 5c 72 5c 6e 70 4c 61 73 74 5c o\sloc\r\npLast\
1070: 73 3d 5c 73 28 73 74 72 75 63 74 5c 73 52 6f 77 s=\s(struct\sRow
1080: 53 65 74 45 6e 74 72 79 5c 73 2a 29 5c 73 30 78 SetEntry\s*)\s0x
1090: 30 5c 72 5c 6e 28 67 64 62 29 5c 73 71 75 69 74 0\r\n(gdb)\squit
10a0: 3c 2f 76 65 72 62 61 74 69 6d 3e 5c 72 5c 6e 5c </verbatim>\r\n\
10b0: 72 5c 6e 48 6f 77 65 76 65 72 2c 5c 73 69 66 5c r\nHowever,\sif\
10c0: 73 49 5c 73 74 6f 6f 6b 5c 73 74 68 65 5c 73 66 sI\stook\sthe\sf
10d0: 69 6c 65 5c 73 3c 73 61 6d 70 3e 73 71 6c 69 74 ile\s<samp>sqlit
10e0: 65 33 2e 63 3c 2f 73 61 6d 70 3e 5c 73 6f 66 5c e3.c</samp>\sof\
10f0: 73 72 65 76 69 73 69 6f 6e 5c 73 5b 37 36 37 61 srevision\s[767a
1100: 65 37 39 63 33 64 5d 5c 73 72 65 70 6c 61 63 69 e79c3d]\sreplaci
1110: 6e 67 5c 73 74 68 65 5c 73 61 63 74 75 61 6c 5c ng\sthe\sactual\
1120: 73 66 69 6c 65 5c 73 6f 66 5c 73 72 65 76 69 73 sfile\sof\srevis
1130: 69 6f 6e 5c 73 5b 39 31 35 62 66 64 39 39 66 65 ion\s[915bfd99fe
1140: 5d 2c 5c 73 74 68 65 6e 5c 73 61 6c 6c 5c 73 77 ],\sthen\sall\sw
1150: 69 6c 6c 5c 73 72 75 6e 5c 73 63 6f 72 72 65 63 ill\srun\scorrec
1160: 74 6c 79 5c 73 77 69 74 68 6f 75 74 5c 73 61 6e tly\swithout\san
1170: 79 5c 73 66 61 75 6c 74 21 5c 72 5c 6e 5c 72 5c y\sfault!\r\n\r\
1180: 6e 53 6f 5c 73 49 5c 73 61 73 73 75 6d 65 2c 5c nSo\sI\sassume,\
1190: 73 74 68 65 5c 73 65 72 72 6f 72 5c 73 77 61 73 sthe\serror\swas
11a0: 5c 73 69 6e 74 72 6f 64 75 63 65 64 5c 73 69 6e \sintroduced\sin
11b0: 5c 73 72 65 76 69 73 69 6f 6e 5c 73 5b 33 62 37 \srevision\s[3b7
11c0: 36 63 30 34 37 34 65 5d 5c 73 28 53 51 4c 69 74 6c0474e]\s(SQLit
11d0: 65 5c 73 33 2e 36 2e 31 34 2e 31 29 2c 5c 73 61 e\s3.6.14.1),\sa
11e0: 73 5c 73 72 65 70 6c 61 63 69 6e 67 5c 73 74 68 s\sreplacing\sth
11f0: 65 5c 73 66 61 75 6c 74 79 5c 73 66 69 6c 65 5c e\sfaulty\sfile\
1200: 73 77 69 74 68 5c 73 74 68 61 74 5c 73 72 65 76 swith\sthat\srev
1210: 69 73 69 6f 6e 27 73 5c 73 6f 6e 65 2c 5c 73 61 ision's\sone,\sa
1220: 6c 73 6f 5c 73 63 61 75 73 65 64 5c 73 61 5c 73 lso\scaused\sa\s
1230: 62 75 73 5c 73 65 72 72 6f 72 2e 5c 72 5c 6e 5c bus\serror.\r\n\
1240: 72 5c 6e 49 66 5c 73 66 75 72 74 68 65 72 5c 73 r\nIf\sfurther\s
1250: 69 6e 66 6f 72 6d 61 74 69 6f 6e 5c 73 69 73 5c information\sis\
1260: 73 6e 65 63 65 73 73 61 72 79 2c 5c 73 70 6c 65 snecessary,\sple
1270: 61 73 65 5c 73 6c 65 74 5c 73 6d 65 5c 73 6b 6e ase\slet\sme\skn
1280: 6f 77 5c 73 2e 2e 2e 5c 72 5c 6e 5c 72 5c 6e 43 ow\s...\r\n\r\nC
1290: 69 61 6f 2c 5c 72 5c 6e 63 68 69 5c 73 3a 2d 29 iao,\r\nchi\s:-)
12a0: 0a 4a 20 66 6f 75 6e 64 69 6e 20 39 31 35 62 66 .J foundin 915bf
12b0: 64 39 39 66 65 0a 4a 20 70 72 69 76 61 74 65 5f d99fe.J private_
12c0: 63 6f 6e 74 61 63 74 20 36 33 66 34 63 62 39 64 contact 63f4cb9d
12d0: 36 39 37 31 66 37 64 62 64 65 65 30 35 34 31 32 6971f7dbdee05412
12e0: 62 38 35 34 36 39 37 35 31 38 32 62 33 32 65 34 b8546975182b32e4
12f0: 0a 4a 20 73 65 76 65 72 69 74 79 20 43 72 69 74 .J severity Crit
1300: 69 63 61 6c 0a 4a 20 73 74 61 74 75 73 20 4f 70 ical.J status Op
1310: 65 6e 0a 4a 20 74 69 74 6c 65 20 42 75 73 5c 73 en.J title Bus\s
1320: 65 72 72 6f 72 5c 73 69 6e 5c 73 53 51 4c 69 74 error\sin\sSQLit
1330: 65 5c 73 75 6e 64 65 72 5c 73 53 6f 6c 61 72 69 e\sunder\sSolari
1340: 73 5c 73 39 5c 73 28 73 70 61 72 63 29 0a 4a 20 s\s9\s(sparc).J
1350: 74 79 70 65 20 43 6f 64 65 5f 44 65 66 65 63 74 type Code_Defect
1360: 0a 4b 20 39 35 61 62 38 66 30 32 63 33 62 38 65 .K 95ab8f02c3b8e
1370: 62 33 31 34 63 61 65 38 39 36 32 64 38 62 38 65 b314cae8962d8b8e
1380: 64 38 61 34 35 61 62 64 65 34 32 0a 55 20 63 68 d8a45abde42.U ch
1390: 69 0a 5a 20 32 64 30 63 32 63 66 66 64 33 37 38 i.Z 2d0c2cffd378
13a0: 30 66 36 66 63 36 32 32 33 64 31 39 62 35 33 38 0f6fc6223d19b538
13b0: 35 31 34 32 0a 5142.