[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread mdipierro
in trunk On Apr 5, 11:52 am, Gabriele Alberti wrote: > Hello, > I am not using connection pooling, and threaded=True is needed to > avoid segfaults. > > I dont know why this happens, my wild guess is that cx_Oracle (or its > underlying libs), when used in the same process, also if different > th

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
Hello, I am not using connection pooling, and threaded=True is needed to avoid segfaults. I dont know why this happens, my wild guess is that cx_Oracle (or its underlying libs), when used in the same process, also if different threads, share something between different connections, needing locking

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread mdipierro
perhaps I misread your original post. Your patch suggested REMOVING threaded=True and all I am saying is that it is not there. Are you saying I misread your patch and you think threaded=True SHOULD be there? Are you using connection pooling? That may be why it is needed. Massimo On Apr 5, 6:23 a

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
Hello, I am sorry but I have to disagree. I dont know exactly what happens as I am not into the DAL so much, but as I installed the latest version (running 1.76.5 now) with no threaded argument in the cx_Oracle connection I started getting back segfaults. They disappeared immediately after I put th

[web2py] Re: cx_Oracle segfaults

2010-04-05 Thread Gabriele Alberti
Hello, yes I am running 1.76.1 (2010-03-01 19:56:55); I'll try the latest and I'll let you know ASAP. Thank you very much, G. On Apr 5, 5:43 am, mdipierro wrote: > Thank you Gabriele, > > is should definitively be threaded=False and not True since web2py > does not share connection between thre

[web2py] Re: cx_Oracle segfaults

2010-04-04 Thread mdipierro
Thank you Gabriele, is should definitively be threaded=False and not True since web2py does not share connection between threads. Yet, this is already the default. You must be running an older version of web2py.You should upgrade. Massimo On Apr 4, 11:33 am, Gabriele Alberti wrote: > Hello, >