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

paste region in overwrite mode at the end of editable region -> assertion triggered in debug mode #54

Closed
firexx opened this issue Dec 20, 2016 · 3 comments
Labels

Comments

@firexx
Copy link

firexx commented Dec 20, 2016

reproduce:

  1. copy any two bytes (ctrl-c)
  2. go to the end of document
  3. paste the clipboard (ctrl-v)
  4. crash
@firexx
Copy link
Author

firexx commented Dec 22, 2016

can't reproduce anymore.

@firexx firexx closed this as completed Dec 22, 2016
@firexx
Copy link
Author

firexx commented Dec 23, 2016

reopen.
the issue is not crash but assertion triggered in qt 4.6.0
callstack:
QtCored4.dll!qt_message_output(QtMsgType msgType, const char * buf) Line 2214 C++
QtCored4.dll!qt_message(QtMsgType msgType, const char * msg, char * ap) Line 2272 C++
QtCored4.dll!qFatal(const char * msg, ...) Line 2455 C++
QtCored4.dll!qt_assert(const char * assertion, const char * file, int line) Line 1989 C++
QtCored4.dll!QByteArray::at(int i) Line 388 C++
qhexedit.dll!Chunks::dataChanged(__int64 pos) Line 165 C++
qhexedit.dll!CharCommand::redo() Line 86 C++
QtGuid4.dll!QUndoStack::push(QUndoCommand * cmd) Line 543 C++
qhexedit.dll!UndoStack::removeAt(__int64 pos, __int64 len) Line 140 C++
qhexedit.dll!UndoStack::overwrite(__int64 pos, int len, const QByteArray & ba) Line 162 C++
qhexedit.dll!QHexEdit::replace(__int64 pos, __int64 len, const QByteArray & ba) Line 328 C++

qhexedit.dll!QHexEdit::keyPressEvent(QKeyEvent * event) Line 572 C++

so it is not correct function.

@firexx firexx reopened this Dec 23, 2016
@firexx firexx changed the title paste region in overwrite mode at the end of editable region -> crash paste region in overwrite mode at the end of editable region -> assertion triggered in debug mode Dec 23, 2016
@Simsys
Copy link
Owner

Simsys commented Dec 23, 2016

fixed, see 0c6efdf

@Simsys Simsys closed this as completed Dec 23, 2016
@Simsys Simsys added the bug label Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants