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
Back-ends: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
Compiler: v12.2.1-gcc
Operating System: Arch Linux
My Issue/Question:
I get a segmentation fault whenever I select a readonly InputTextMultiline and then deselect it. I ran a git bisect and 5a2b1e8 is the first broken commit. I use imgui_stdlib but it seems to be broken without it too. This is a backtrace:
(gdb) bt
#0 __memcpy_evex_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:318
#1 0x0000555555643a77 in ImGui::InputTextDeactivateHook (id=2670150314) at /home/blueburgers/Documents/Dev/C++/thing/imgui/imgui_widgets.cpp:4039
#2 0x00005555555a00c7 in ImGui::SetActiveID (id=0, window=0x0) at /home/blueburgers/Documents/Dev/C++/thing/imgui/imgui.cpp:3781
#3 0x00005555555a02bf in ImGui::ClearActiveID () at /home/blueburgers/Documents/Dev/C++/thing/imgui/imgui.cpp:3822
#4 0x0000555555646f92 in ImGui::InputTextEx (label=0x55555568c15d "##itm", hint=0x0, buf=0x555555715090 <logs[abi:cxx11]+16> "", buf_size=16, size_arg=..., flags=67387392,
callback=0x555555666b87 <InputTextCallback(ImGuiInputTextCallbackData*)>, callback_user_data=0x7fffffffa780) at /home/blueburgers/Documents/Dev/C++/thing/imgui/imgui_widgets.cpp:4734
#5 0x000055555563fc8e in ImGui::InputTextMultiline (label=0x55555568c15d "##itm", buf=0x555555715090 <logs[abi:cxx11]+16> "", buf_size=16, size=..., flags=278528,
callback=0x555555666b87 <InputTextCallback(ImGuiInputTextCallbackData*)>, user_data=0x7fffffffa780) at /home/blueburgers/Documents/Dev/C++/thing/imgui/imgui_widgets.cpp:3613
#6 0x0000555555666e0a in ImGui::InputTextMultiline (label=0x55555568c15d "##itm", str=0x555555715080 <logs[abi:cxx11]>, size=..., flags=278528, callback=0x0, user_data=0x0)
at /home/blueburgers/Documents/Dev/C++/thing/imgui/misc/cpp/imgui_stdlib.cpp:62
#7 0x00005555555637ea in main () at /home/blueburgers/Documents/Dev/C++/thing/src/main.cpp:671
Screenshots/Video
XXX (you can drag files here)
Standalone, minimal, complete and verifiable example:(see #2261)
std::string someString;
// Here's some code anyone can copy and paste to reproduce your issue
ImGui::Begin("Example Bug");
ImGui::InputTextMultiline("##itm", &someString, ImVec2(0, 0), ImGuiInputTextFlags_ReadOnly);
ImGui::End();
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
Version: 5a2b1e8
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
Compiler: v12.2.1-gcc
Operating System: Arch Linux
My Issue/Question:
I get a segmentation fault whenever I select a readonly InputTextMultiline and then deselect it. I ran a git bisect and 5a2b1e8 is the first broken commit. I use imgui_stdlib but it seems to be broken without it too. This is a backtrace:
Screenshots/Video
XXX (you can drag files here)
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: