Closed iyanmv closed 7 months ago
It appears the crash only arises with the additional flags you're using (I was able to re-create on Ubuntu with CXXFLAGS=-Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2
)
I think it's pointing to a valid issue though. I would bet on #1228
It is actually this commit: 810fe93fcfb5121a50f232f13eafc4e32321667d
Makes sense. The code introduced in that commit was later pulled into a function validate_output_filename
, which is where I tracked it to in GDB. The branch in #1239 should fix
Makes sense. The code introduced in that commit was later pulled into a function
validate_output_filename
, which is where I tracked it to in GDB. The branch in #1239 should fix
Yes, I can confirm that branch works again
Thanks for reporting. We will probably wait a couple days to see if anything else comes in before releasing a 2.34.1 that will include that patch
Summary:
Provided example (bernoulli) fails to run on latest release
Description:
I'm trying to package Stan (together with cmdstan) to Arch Linux. I followed the building instructions using the tarball from the latest release. There are no issues while generating the binaries (stanc, stansummary and diagnose) but then trying to run the example from the docs: 1.3 Checking the Stan compiler, I get the following error:
Reproducible Steps:
I'm writing a PKGBUILD for Arch Linux, but here are the relevant steps:
curl -OL https://github.com/stan-dev/cmdstan/releases/download/v2.34.0/cmdstan-2.34.0.tar.gz
tar -xf cmdstan-2.34.0.tar.gz
cd cmdstan-2.34.0
make -j$(nproc) build
make -j$(nproc) examples/bernoulli/bernoulli
./examples/bernoulli/bernoulli sample data file=examples/bernoulli/bernoulli.data.json
At this point I get the error from above.
Additional Information:
I don't observe this issue with previous release (v2.33.1).
I will try to bisect when it stopped working.
Current Version:
v2.34.0