On 04/04/15 19:39, Mark Rotteveel wrote:
> What is the current status of events in the Firebird 3 client library?
> Are there known problems?
>
> I am currently reimplementing events in Jaybird, and when I talk to a
> Firebird 2.5.4 fbclient.dll it works ok, but when I talk to a Firebird
> 3.0.0.31733 fbclient.dll (snapshot from last week), it fails with an
> "Unrecognized events block" (error code:335544973, isc_bad_epb_form)
> when calling isc_que_events, the application exits with error code
> -1073741819 (0xC0000005).
>
> In both cases I talk to the same server (3.0.0.31733).
>
> The interesting thing is that if I remove or add(!) certain debug
> statements (which print out the content of the event block) then
> suddenly it works OK again. This seems to indicate there is some kind of
> timing or thread interference problem.
>
> The dumps of the memory blocks do seem to indicate that the event block
> sometimes get zeroed out.
>
> Has something changed in the parallelism of the client library, or the
> cleanup/release of event blocks?
>

There were changes. But must say that the symptom you get are quire 
strange - events block is 'const UCHAR*' parameter and does not seem to 
be modified wherever in client code. On the other hand certainly 
something bad may happen - code was really modified rather much. How can 
I try to reproduce that bug?



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to