SQLite Forum

Status of wal2 branch
Login
Hi Dan,

I like to report a bug find about wal2.

call sqlite3_database_file_object from xOpen get this:

```c
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x48)
    frame #0: 0x0000000100056459 tests_db_bench.exe`sqlite3_database_file_object(zName="/private/tmp/test.db-wal2") at sqlite3c.h:56776:18
   56773	    zName--;
   56774	  }
   56775	  pPager = *(Pager**)(zName - 4 - sizeof(Pager*));
-> 56776	  return pPager->fd;
   56777	}
   56778	
   56779	
Target 0: (tests_db_bench.exe) stopped.
```