I have finally found what caused Jaybird 3.0 to crash Firebird 2.1.7 
with about a 100% success rate.

When detaching from a database, I refrained from reading the response to 
op_detach (as I thought this would be irrelevant as the connections is 
going to get closed anyway). Doing this causes Firebird 2.1.7 to crash 
(SuperServer, 64 bit, on windows 10; haven't tested other platforms). 
This doesn't always happen immediately, sometimes it requires multiple 
attach/detach cycles.

I know that Firebird 2.1.7 is EOL, but maybe this is a serious enough 
denial of service bug to consider releasing a security update.

The specific case I used includes creating and dropping a database, so I 
am not entirely sure that just attaching and detaching is sufficient.

Specifically I used:

public class FB21Crash {

     private static final int RETRY_LIMIT = 10;

     @Test
     public void tryCrash() throws Exception {
         int remaining = RETRY_LIMIT;
         do {
             System.out.println("Attempts remaining " + remaining--);
             FBManager fbManager = new 
FBManager(FBTestProperties.getGdsType());
             FBTestProperties.defaultDatabaseSetUp(fbManager);
             FBTestProperties.defaultDatabaseTearDown(fbManager);
         } while (remaining > 0);
     }
}
-- 
Mark Rotteveel

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to