Re: [Dspam-user] Assertion fail using libsqlite3_drv

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] Assertion fail using libsqlite3_drv

Stevan Bajić
 On Sat, 07 May 2011 13:03:49 -0400, Jason Boxman wrote:

> On 05/07/2011 10:30 AM, Stevan Bajić wrote:
>> On Thu, 05 May 2011 18:56:34 -0400 Jason Boxman wrote: Hello Jason,
>>
>>> Using the current latest git (29261fb31ec3aca0...), I get the
>>> following when using the libsqlite3_drv: (It works fine with the
>>> libpgsql driver.) dspam: tpp.c:63: __pthread_tpp_change_priority:
>>> Assertion `new_prio == -1 || (new_prio>= __sched_fifo_min_prio&&
>>> new_prio
>> let me quess: You use DSPAM in daemon mode with SQLite3. Can this
>> be?
>> If this is the case then allow me to point you to the excellent
>> README
>> that is included in DSPAM. Especially section "0. PREREQUISITES".
>> There
>> you see that SQLite2/3 is NOT thread safe. If thread safety is
>> important for you and you want to use the SQLite v2/v3 driver then
>> you
>> need to modify the DSPAM storage driver for SQLite v2/v3 and add
>> thread
>> safety to it. If you do that then don't forget to submit a patch to
>> our
>> SourceForge bug tracker.
> Problem solved. I'll use a thread safe driver instead. Thanks!
>
 Hmmm... and I assumed that this would be a good way in getting a thread
 safe SQLite v2/v3 driver from another coder. :(


--
 Kind Regards from Switzerland,

 Stevan Bajić

> --
> Thursday next week is indeed time for a thorough insight into the
> swirling red debian vortex. -- leeta
>
 ------------------------------------------------------------------------------

> WhatsUp Gold - Download Free Network Management Software The most
> intuitive, comprehensive, and cost-effective network management
> toolset
> available today. Delivers lowest initial acquisition cost and overall
> TCO
> of any competing solution. http://p.sf.net/sfu/whatsupgold-sd [2]
> _______________________________________________ Dspam-user mailing
> list
> [hidden email] [3]
> https://lists.sourceforge.net/lists/listinfo/dspam-user [4]


 

 Links:
 ------
 [1] mailto:[hidden email]
 [2] http://p.sf.net/sfu/whatsupgold-sd
 [3] mailto:[hidden email]
 [4] https://lists.sourceforge.net/lists/listinfo/dspam-user

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user