Page 1 of 1

BindWebViewCallback & Debug

Posted: Sat Dec 13, 2025 8:30 pm
by Piero
Here (just updated to Mac Sequoia 15.7.3, PB b5 ARM and 6.21 intel) I always get

Code: Select all

[ERROR] Program aborted. (by external library)
on ANY BindWebViewCallback example, if Debugger is on

Re: BindWebViewCallback & Debug

Posted: Sat Dec 13, 2025 9:05 pm
by mk-soft
WebView example works here with Intel

HW: Mac Mini 2018 (Intel)
OS: macOS v15.7.3
Command Line Tools: v16.2
PB: v6.21, v6.30 beta 5

Re: BindWebViewCallback & Debug

Posted: Sat Dec 13, 2025 9:19 pm
by Piero
The problem seems to be

Code: Select all

ProcedureReturn UTF8(…

Re: BindWebViewCallback & Debug

Posted: Sat Dec 13, 2025 9:21 pm
by mk-soft
Update

Crashed with compiler option Enable Purifier on Window, Linux and macOS

Re: BindWebViewCallback & Debug

Posted: Sat Dec 13, 2025 9:51 pm
by Piero
Worth a new bug report?
This (only this) with debugger on, gives linker error:

Code: Select all

Unicode("test")
:shock:

PS: Thanks mk! Seems that problem is purifier!

Re: BindWebViewCallback & Debug

Posted: Sun Dec 14, 2025 12:13 am
by Fred
It's already fixed

Re: BindWebViewCallback & Debug

Posted: Sun Dec 14, 2025 12:36 am
by mk-soft
Unicode(...) Fixed with Beta 6 :?:
Undefined symbols for architecture x86_64:
"_PB_Unicode_PURIFIER", referenced from:
_main in purebasic.o
ld: symbol(s) not found for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)