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 when trying to copy paste text from the Run > Executable text field into the working directory text field: ig_text_callback_resize #32

Closed
1 of 2 tasks
DerTee opened this issue Oct 28, 2024 · 2 comments
Labels
- bug Something isn't working

Comments

@DerTee
Copy link

DerTee commented Oct 28, 2024

What happened?

Whitebox crashes when trying to copy paste text from the Run > Executable text field into the working directory text field.

Assertion text:

Internal Error: buffers should match

Assertion failed in `ig_text_callback_resize` - gui_primitives.c(975):
    buf_ptr[0]->arr == data->Buf
    last OS error => 0: The operation completed successfully.
Rich assert failed (hr: 0x80004005, comctl: 00007FFB72890000, TDI: 0000000000000000), using fallback...

System/app details

sys_info:
WhiteBox version - 2024-10-22
WhiteBox commit - 137532b2476839ab2ecc52324866745ec77ed0a8
Assert level - 1
Debug info - false
OS - Windows 10 Home x64 (10.0.22631)
Service pack - (0.0)
CPU - AMD Ryzen 5 2600 Six-Core Processor
Logical cores - 12
CPU revision - 0x802
RAM - 16.0 GiB
Address space - 128.0 TiB

How to reproduce the error

Steps to reproduce:

  1. Open whitebox_nightly-2024-10-22
  2. click on Run > Executable and select the executable
  3. copy the file path next to the executable button (because I want the working directory to be the dir of the exe 99% of the time)
  4. paste into the working directory text field -> CRASH assertion failure

Does the error happen consistently with the above steps?
Always

Crash/log attachments & additional info

  • crash dump file (much smaller if (g)-zipped)
  • whitebox-log.txt file

whitebox-2024-10-28-19-45-33.dmp.gz

@DerTee DerTee added the - bug Something isn't working label Oct 28, 2024
@azmr
Copy link
Contributor

azmr commented Oct 28, 2024

Thanks for these reports, I'll have a look tomorrow morning and see if I can repro.

As you say re working directory, these are in dire need of a UX pass anyway!

@azmr
Copy link
Contributor

azmr commented Oct 29, 2024

Fixed in 8aafa787

@azmr azmr closed this as completed Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants