Menu

Sqlite3 threads on Ubuntu

Help
Dom
2006-08-19
2013-05-30
  • Dom

    Dom - 2006-08-19

    Hello,

    I have an issue when I launch mediatomb :
    ...
    2006-07-19 18:11:22 WARNING: SQLITE3: (21) library routine called out of sequence
    Query:SELECT COUNT(*) FROM cds_objects WHERE object_type <> 1 AND is_virtual = 0
    Exception: Sqlite3: query error
    _STRACE_ 0 ./mediatomb [0x806cb92]
    _STRACE_ 1 ./mediatomb [0x8054599]
    _STRACE_ 2 ./mediatomb [0x8063d4d]
    _STRACE_ 3 ./mediatomb [0x8069928]
    _STRACE_ 4 ./mediatomb [0x804bb66]
    _STRACE_ 5 ./mediatomb [0x804f068]
    _STRACE_ 6 ./mediatomb [0x804f17d]
    _STRACE_ 7 /lib/libpthread.so.0 [0xb7b71c8c]
    _STRACE_ 8 /lib/libc.so.6(__clone+0x5a) [0xb7c7610a]

    I googled a bit and found that is the proble with the sqlite3 library compile with --enable-threadsafe (standard now on Debian/Ubuntu).

    Do you know how I can solve this problem ?

    Thanks

    Dom

     
    • Jin

      Jin - 2006-08-19

      Hi,

      you have to use an sqlite3 version that was compiled without the --enable-threadsafe option.

      Version 0.9.0 will take care of that problem so both variants will work, but right now the only solution is the one described above.

      Greetings,
      Jin

       

Log in to post a comment.