[FB-Tracker] Created: (CORE-5560) Firebird crashes when UDF (Delphi?) gets loaded and unloaded frequently

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

[FB-Tracker] Created: (CORE-5560) Firebird crashes when UDF (Delphi?) gets loaded and unloaded frequently

JIRA tracker@firebirdsql.org
Firebird crashes when UDF (Delphi?) gets loaded and unloaded frequently
-----------------------------------------------------------------------

                 Key: CORE-5560
                 URL: http://tracker.firebirdsql.org/browse/CORE-5560
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.2
         Environment: Windows 64
            Reporter: Alexander Muylaert-Gelein
            Priority: Blocker


Engine crashes when you frequently load and unload UDF dll in firebird.  Especially when you're accessing multiple databases.

To reproduce

1.  Copy the fast.dll to the udf folder.
2.  copy multiple versions of the test.fdb to "d:\1\test.Fdb", "d:\2\test.fdb" ...  "d:\10\test.fdb"
3. Launch firebird
4. Run the attached app.  Or basically, Open a connection, execute the UDF function, close the connection.

Do this with multiple threads on multiple databases.  The firebird process will crashes within 10 minutes with an access violation.

Workaround is to open another database that uses the udf.  As long as the dll stays in memory, no crashes.  As soon as it is unloaded, you have a fair chance that it crashes.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Loading...