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

Crash on undo #2617

Closed
wRAR opened this issue Mar 13, 2024 · 1 comment
Closed

Crash on undo #2617

wRAR opened this issue Mar 13, 2024 · 1 comment

Comments

@wRAR
Copy link

wRAR commented Mar 13, 2024

Just typing something (e.g. in the server connection tab) and pressing Ctrl-Z crashes KVIrc. This is a locally built 5.2.2.

(gdb) bt
#0  std::_Tuple_impl<0ul, KviInputEditor::EditCommand*, std::default_delete<KviInputEditor::EditCommand> >::_Tuple_impl (this=0x7fff8db240b0) at /usr/include/c++/13/tuple:527
#1  std::tuple<KviInputEditor::EditCommand*, std::default_delete<KviInputEditor::EditCommand> >::tuple (this=0x7fff8db240b0) at /usr/include/c++/13/tuple:1351
#2  std::__uniq_ptr_impl<KviInputEditor::EditCommand, std::default_delete<KviInputEditor::EditCommand> >::__uniq_ptr_impl (__u=..., this=0x7fff8db240b0) at /usr/include/c++/13/bits/unique_ptr.h:185
#3  std::__uniq_ptr_data<KviInputEditor::EditCommand, std::default_delete<KviInputEditor::EditCommand>, true, true>::__uniq_ptr_data (this=0x7fff8db240b0) at /usr/include/c++/13/bits/unique_ptr.h:242
#4  std::unique_ptr<KviInputEditor::EditCommand, std::default_delete<KviInputEditor::EditCommand> >::unique_ptr (this=0x7fff8db240b0) at /usr/include/c++/13/bits/unique_ptr.h:366
#5  KviInputEditor::undo (this=0x55ab759a7310) at ./src/kvirc/ui/KviInputEditor.cpp:2606

Happens every time so should be easy to debug.

ctrlaltca added a commit to ctrlaltca/KVIrc that referenced this issue Mar 13, 2024
@ctrlaltca
Copy link
Contributor

Hi @wRAR , thank you for the ticket. The fix is in #2618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants