SQLite

Artifact [428b056f]
Login

Artifact 428b056fa10d1635a96ad5017c24ba424e25fd59:

Ticket change [428b056f] - Ticket [5eaa61ea] sigbus on disk ful in WAL mode status still Open with 1 other change by drh 2012-11-13 09:28:13.
D 2012-11-13T09:28:13.411
J +comment \n\n<hr><i>drh\sadded\son\s2012-11-13\s09:28:13:</i><br>\nYes,\sthe\ssqlite3\sshell\swas\srun\sas\srun.\s\sI\salso\srepeated\sthe\sexperiment\smultiple\stimes\swith\svalgrind,\sfor\swhat\sit\sis\sworth.\s\sNo\sissues\sobserved.\r\n\r\nFurthermore,\sI\stried\screating\swrite-ahead\slog\sfiles\sthat\sneeded\sto\sbe\srecovered\s(since\sthe\soriginal\sproblem\sstatement\ssaid\sthat\sthe\ssegfault\soccurred\sduring\srecovery)\sand\srecover\sthem,\sas\sroot,\swith\szero\sspace\sleft\son\sthe\sdevice.\s\sStill\sno\sproblems.\r\n\r\nThe\ssegfault\soccurs\son\sa\sline\sthat\sis\sattempting\sto\swrite\sinto\sa\snewly\sallocated\smmap-ed\sfile\s(the\sdb.sqlite-shm\sfile,\sspecifically).\s\sIt\sappears\sthat\sLinux\swill\sallow\sdisk\sspace\sfor\smmap-ed\sfiles\sto\sbe\sovercommitted.\s\sThat\sis\sto\ssay,\sbased\son\smy\sexperiments,\syou\scan\smmap\smore\sspace\sthan\syou\shave\son\sdisk\sand\sthe\smmap()\scall\sstill\sworks.\s\sPerhaps\syou\ssystem\sis\sconfigured\sin\ssome\sway\sdifferent\sfrom\smine\s(perhaps\sit\sis\salso\sunder\smemory\spressure)\sso\sthat\sthe\smmap-ed\sregion\sis\sbecoming\sunmapped\ssomehow?
K 5eaa61ea1881040b17449ca043b6f8fd9ca55dc3
U drh
Z 4743a4ba68bcb53c70e6b8a2e3f6cd7c