DW_FORM_strx with no .debug_str_offsets section
Author: denis-obukhovCreated Aug 8, 2024Updated Apr 30, 2025
The issue has appeared when I updated to Mac OS 15.0 Beta (24A5309e) I use GoLand 2024.2, Go 1.22.6, go-sqlite3 v1.14.22
Just add a simple import to an empty project:
import (
_ "github.com/mattn/go-sqlite3"
)After launching I get this error:
GOROOT=/Users/username/go/go1.23rc2 #gosetup
GOPATH=/Users/username/go #gosetup
/Users/username/go/go1.23rc2/bin/go build -o /Users/username/Library/Caches/JetBrains/GoLand2024.2/tmp/GoLand/___go_build_LiveKitBE -gcflags all=-N -l LiveKitBE #gosetup
/Applications/GoLand.app/Contents/plugins/go-plugin/lib/dlv/macarm/dlv --listen=127.0.0.1:53060 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /Users/username/Library/Caches/JetBrains/GoLand2024.2/tmp/GoLand/___go_build_LiveKitBE --
API server listening at: 127.0.0.1:53060
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-1600.0.30.5
for arm64.
Got a connection, launched process /Users/username/Library/Caches/JetBrains/GoLand2024.2/tmp/GoLand/___go_build_LiveKitBE (pid = 7993).
2024-08-08T15:40:59+07:00 error layer=debugger error loading binary "/Users/username/Library/Caches/JetBrains/GoLand2024.2/tmp/GoLand/___go_build_LiveKitBE": error reading debug_info: decoding dwarf section info at offset 0x5fe92: DW_FORM_strx with no .debug_str_offsets section
Exiting.
could not launch process: error reading debug_info: decoding dwarf section info at offset 0x5fe92: DW_FORM_strx with no .debug_str_offsets section
It seems like it's something with binary compatibility
Source: mattn/go-sqlite3