Skip to content

Firebird 3.0.13 Win32: KERNEL32.GetThreadId import breaks Windows XP (regression vs 3.0.12) #8850

@gobbo67

Description

@gobbo67

Environment:

  • Windows XP SP3 32-bit (legacy internal testing)
  • Firebird Win32 ZIP kits:
    • 3.0.12.33787-0: OK
    • 3.0.13.33818-0: FAIL

Problem:
On Windows XP, Firebird 3.0.13 Win32 binaries fail to load with:
“The procedure entry point GetThreadId could not be located in KERNEL32.dll”.

Evidence (dumpbin on Windows 11):

  • 3.0.12 fbclient.dll: does NOT import GetThreadId
  • 3.0.13 fbclient.dll: imports KERNEL32.dll -> GetThreadId

In 3.0.13 Win32, these files also import GetThreadId:

  • fbclient.dll, firebird.exe, fbguard.exe, fb_lock_print.exe, plugins/engine12.dll, plugins/fbtrace.dll
    (our quick check: gbak.exe does not import GetThreadId)

This looks like a regression introduced between 3.0.12 and 3.0.13 (not an installer/VC++ redist issue).

Related discussion (firebird-support):

Maintainer mentioned this may be caused by backporting fix #8403; please confirm and/or point to the exact commit.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions