Open iwarford opened 2 years ago
Ran into the same issue on MacOS 12.5 on arm64 installed via homebrew - will attempt the install with the --head option.
Hi, to be able to reproduce I would need the CREATE TABLE sql definition and also a sample data file, please. I tried reproducing with SBCL 2.2.6 and the load file and it just works here. That's what I have typed at the SBCL REPL:
(pgloader::compile-lisp-command
(first (pgloader::parse-commands-from-file
"/Users/dim/dev/temp/pgloader/1380/1380.load")))
For what it's worth, the same database but doing the migration with the docker image actually worked. Building pgloader with brew install pgloader --head
gave me a compile error right away - which gives me the sneaky suspicion that something isn't quite ready for arm64 / Apple Silicon?
I will try tomorrow to provide you a sample data set
Bug Report
I assume it's tagged as ~devel for a reason, this was built from the 3.6.3 release tarball.
[x] did you test a fresh compile from the source tree?
Yes.
[x] did you search for other similar issues?
Yes.
[x] how can I reproduce the bug?
It's not reliably reproducable. It takes several hours of heavy activity with multiple jobs running for it to manifest. While I could provide a database schema and data file, I don't think that's what's going on, since it fails well before it's doing any database activity.
If it is absolutely required, I can try and anonymize some of our data for an test load, but I don't think the issue is with the data, especially given the workaround.
As far as I can tell from the stack traces, it is crashing before any data is actually loaded.
[x] EDIT THIS FILE TO MATCH YOUR BUG REPORT
The error seems to generate different stack traces randomly depending on where it happens.
Workaround
We were able to work around this by rebuilding with SBCL 2.1.0.
None of these issues occur when built with SBCL 2.1.0 at all.