Menu

#85 Failed to terminate a thread on tab close

latest_stable
closed
nobody
None
1
2015-11-27
2015-09-30
Guilimote
No

Description:

If I close a tab representing an open file (middle mouse button on tab, or dedicated button on HMI), I often get a "Wxhexeditor Error" popup indicating "Failed to terminate a thread". However, the tab "seems" to be correctly closed anyway.

If there is only one tab open, it does not seem to happen by closing WxHexEditor, but only when manually closing the tab.
If there are multiple tabs open, it seems to be easier to reproduce, and can also be reproduced by closing directly WxOpenEditor.

Reproduction:
I would say it happens ~20% of the time when closing one open tab. If you have multiple tabs open, it happens nearly 100% of the time when closing directly the main window.

Other info:
wxHexEditor 0.23 Beta
Ubuntu 14.04 x64

Discussion

  • Death Knight®

    Death Knight® - 2015-11-24

    I fight with it and failed.
    Issue due scroll thread.
    Scrolling done via thread.
    So when closing the wxHexEditor, that thread not closed properly.

    You can try to fix it at src/ HexEditor.h file line ~286
    Don't know proper way to do this.

     
  • Death Knight®

    Death Knight® - 2015-11-27

    I believe this is fixed on latest git trunk. So I close it.
    If there is still having same error, please open it on github tracker.

    https://github.com/EUA/wxHexEditor/tree/8da5e24c83d74c921e9cfb4da4f1b615ef15aae3

     

    Last edit: Death Knight® 2015-11-27
  • Death Knight®

    Death Knight® - 2015-11-27
    • status: open --> closed
     

Log in to post a comment.