FB crashes since #7589a56a (package constants #8916)

39 views
Skip to first unread message

Pavel Zotov

unread,
May 17, 2026, 1:06:36 PM (2 days ago) May 17
to firebird-devel
1) firebird.conf:
===========
BugCheckAbort = 1
RemoteServicePort = 3600
ServerMode = Super
DefaultDBCachePages = 10K
IpcName = C__FB_60SS
===========

2) sql:
===========
set bail on;
set heading off;
set echo on;
shell if exist r:\temp\tmp4test.fdb del r:\temp\tmp4test.fdb;
create database 'localhost:r:\temp\tmp4test.fdb' user sysdba password 'masterkey';
--create database 'r:\temp\tmp4test.fdb' user sysdba;
 
set term ^;
create or alter package pg_test as
begin
   -- empty! --
end
^
commit
^
execute block as
begin
    execute statement ('drop package body pg_test');
    execute statement ('drop package pg_test');
end
^
commit
^
select rdb$get_context('USER_SESSION', 'foo') as "Finish. Total objects removed:" from rdb$database
^
===========

3) outcome:
Error writing data to the connection

Dump, stack-trace and snapshot:
https://drive.google.com/drive/folders/1wGfq4RS4SN03ZK2hjnag0A785vd0dl_F?usp=sharing

Artyom Abakumov

unread,
May 18, 2026, 5:29:43 AM (yesterday) May 18
to firebird-devel
Thanks for the script to reproduce the segfault. I'll fix it as soon as possible.

воскресенье, 17 мая 2026 г. в 20:06:36 UTC+3, Pavel Zotov:

Artyom Abakumov

unread,
May 18, 2026, 5:46:39 AM (yesterday) May 18
to firebird-devel
I made a fix: https://github.com/FirebirdSQL/firebird/pull/9031. Please check your case there if possible.

понедельник, 18 мая 2026 г. в 12:29:43 UTC+3, Artyom Abakumov:

Pavel Zotov

unread,
8:27 AM (7 hours ago) 8:27 AM
to firebird-devel
Checked on artifact from https://github.com/FirebirdSQL/firebird/actions/runs/26029961860
Result: all fine, no crash. Package has been removed OK.
Thanks!

понедельник, 18 мая 2026 г. в 12:46:39 UTC+3, Artyom Abakumov:
Reply all
Reply to author
Forward
0 new messages