You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used abseil-cpp with other libraries like libtorch, I got segmentation fault at FlagRegistry::RegisterFlag. I solved this issue by removing the constexpr keyword from the constructor of absl::flags_internal::Flag.
Steps to reproduce the problem
create a main.cpp with a blank main function.
compile main.cpp into an executable and link libtorch and abseil-cpp to it.
run the executable, a segmentation fault will occur.
What version of Abseil are you using?
20240722.1
What operating system and version are you using?
ArchLinux, kernel version: Linux 6.13.1
What compiler and version are you using?
I tried both GCC13 and GCC14 with C++17.
What build system are you using?
cmake 3.30
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
When I used abseil-cpp with other libraries like libtorch, I got
segmentation fault
atFlagRegistry::RegisterFlag
. I solved this issue by removing theconstexpr
keyword from the constructor ofabsl::flags_internal::Flag
.Steps to reproduce the problem
What version of Abseil are you using?
20240722.1
What operating system and version are you using?
ArchLinux, kernel version: Linux 6.13.1
What compiler and version are you using?
I tried both GCC13 and GCC14 with C++17.
What build system are you using?
cmake 3.30
Additional context
No response
The text was updated successfully, but these errors were encountered: