Issue Details (XML | Word | Printable)

Key: CORE-5560
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Alexander Muylaert-Gelein
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

Firebird crashes when UDF (Delphi?) gets loaded and unloaded frequently

Created: 07/Jun/17 06:21 PM   Updated: 08/Jun/17 03:26 PM
Component/s: Engine
Affects Version/s: 3.0.2
Fix Version/s: None

Environment: Windows 64
Issue Links:

QA Status: No test

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun made changes - 07/Jun/17 07:52 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Pavel Cisar made changes - 08/Jun/17 08:22 AM
Status Resolved [ 5 ] Closed [ 6 ]
Sean Leyne made changes - 08/Jun/17 09:37 AM
Link This issue is duplicated by CORE-5561 [ CORE-5561 ]
Mark Rotteveel made changes - 08/Jun/17 03:26 PM
Link This issue duplicates CORE-5562 [ CORE-5562 ]