segfaults in mysql driver

Jan-Henrik Haukeland hauk at tildeslash.com
Fri Mar 21 18:39:50 CET 2008


On 21. mars. 2008, at 16.58, Paul J Stevens wrote:
> Jan-Henrik,
>
> A bit late in the afternoon, I'm testing your recent mysql fix.  
> Seems to work
> great, but I found a regression in URL.re
>
> Whenever I specify a port in the url, I get:
>
> AssertException: ThreadData_set(Exception_stack, &Exception_frame)==0
> raised in parseURL at src/net/URL.re:444
> Aborted (core dumped)

Ah thanks for catching this. I have checked in a fix. Because an  
exception handler is installed when testing the URL port number,  
initialization of the exception stack has now been moved to the URL  
class, as URL is first used. I did not catch this, as all my tests  
programs either does not use a port number in the URL or the exception  
stack is explicit initialize in unit test programs.


More information about the libzdb-general mailing list