Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV on exit #1586

Closed
OPNA2608 opened this issue Jan 14, 2024 · 2 comments
Closed

SIGSEGV on exit #1586

OPNA2608 opened this issue Jan 14, 2024 · 2 comments
Assignees
Labels
Bug The issue in the run-time.

Comments

@OPNA2608
Copy link
Contributor

Describe the bug

Thread 1 "Primary thread" received signal SIGSEGV, Segmentation fault.
0x00007fffa44f2ad0 in ?? ()
(gdb) bt
#0  0x00007fffa44f2ad0 in ?? ()
#1  0x00007ffff7ef84d7 in ImFontAtlas::ClearInputData (this=this@entry=0x41ce10) at /build/source/Externals/imgui/imgui_draw.cpp:2095
#2  0x00007ffff7ef8779 in ImFontAtlas::Clear (this=this@entry=0x41ce10) at /build/source/Externals/imgui/imgui_draw.cpp:2134
#3  0x00007ffff7ef8799 in ImFontAtlas::~ImFontAtlas (this=<optimized out>, this=<optimized out>) at /build/source/Externals/imgui/imgui_draw.cpp:2086
#4  0x00007ffff7ea4a8a in IM_DELETE<ImFontAtlas> (p=0x41ce10) at /build/source/Externals/imgui/imgui.h:1962
#5  IM_DELETE<ImFontAtlas> (p=0x41ce10) at /build/source/Externals/imgui/imgui.h:1962
#6  ImGui::Shutdown () at /build/source/Externals/imgui/imgui.cpp:3693
#7  0x00007ffff7ea4ac5 in ImGui::DestroyContext (ctx=0x4169f0) at /build/source/Externals/imgui/imgui.cpp:3614
#8  0x00007ffff7e351ff in xray::editor::ide::~ide (this=<optimized out>, this=<optimized out>) at /build/source/src/xrEngine/editor_base.cpp:55
#9  0x00007ffff7e88ed7 in CRenderDevice::~CRenderDevice (this=<optimized out>, this=<optimized out>) at /build/source/src/xrEngine/device.h:31
#10 0x00007ffff7256e91 in __cxa_finalize () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/libc.so.6
#11 0x00007ffff7e2ee27 in __do_global_dtors_aux () from /nix/store/hgw8hjix0xzj5g0hldjpqpq09dnq7pv2-openxray-2188-unstable-2024-01-13/lib/xrEngine.so
#12 0x00007ffff7fc2460 in ?? ()
#13 0x00007ffff7fcb0e2 in _dl_call_fini () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/ld-linux-x86-64.so.2
#14 0x00007ffff7fced04 in _dl_fini () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/ld-linux-x86-64.so.2
#15 0x00007ffff7257426 in __run_exit_handlers () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/libc.so.6
#16 0x00007ffff725755e in exit () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/libc.so.6
#17 0x00007ffff723f0d5 in __libc_start_call_main () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/libc.so.6
#18 0x00007ffff723f189 in __libc_start_main_impl () from /nix/store/p3jshbwxiwifm1py0yq544fmdyy98j8a-glibc-2.38-27/lib/libc.so.6
#19 0x0000000000401215 in _start ()

To Reproduce
Steps to reproduce the behavior:

  1. xr_3da
  2. Once in main menu, just "Exit to Windows"

Expected behavior
No segfault.

Screenshots, videos
n/a

BugTrap error report
n/a

Desktop (please complete the following information):

  • OS: NixOS 23.11
  • OpenXRay build version 2188-november-2023-rc1 tag as well as current master 692666f

Additional context
Log, in case any details in there are relevant: openxray.log

@OPNA2608 OPNA2608 added the Bug The issue in the run-time. label Jan 14, 2024
@Xottab-DUTY Xottab-DUTY self-assigned this Jan 17, 2024
@Xottab-DUTY Xottab-DUTY moved this to In Progress in Roadmap Jan 17, 2024
@ericwomer
Copy link

Can confirm here. Frame 0 is ?? () even when built with debug info

OS: KUbuntu 23.10
OpenXRay Build: Dev ebeb3d1
Build: RelWithDebInfo

@Xottab-DUTY
Copy link
Member

Should have been fixed in 1b121f1. Assuming so and closing.
Please, reopen if crash persists!

@github-project-automation github-project-automation bot moved this from In Progress to Done in Roadmap Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue in the run-time.
Projects
Status: Done
Development

No branches or pull requests

3 participants