BindWebViewCallback & Debug

Post bugreports for the Mac OSX version here
User avatar
Piero
Addict
Addict
Posts: 1149
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

BindWebViewCallback & Debug

Post 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
User avatar
mk-soft
Always Here
Always Here
Posts: 6431
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: BindWebViewCallback & Debug

Post 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
Last edited by mk-soft on Sat Dec 13, 2025 9:21 pm, edited 2 times in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 1149
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: BindWebViewCallback & Debug

Post by Piero »

The problem seems to be

Code: Select all

ProcedureReturn UTF8(…
User avatar
mk-soft
Always Here
Always Here
Posts: 6431
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: BindWebViewCallback & Debug

Post by mk-soft »

Update

Crashed with compiler option Enable Purifier on Window, Linux and macOS
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 1149
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: BindWebViewCallback & Debug

Post 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!
Fred
Administrator
Administrator
Posts: 18397
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: BindWebViewCallback & Debug

Post by Fred »

It's already fixed
User avatar
mk-soft
Always Here
Always Here
Posts: 6431
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: BindWebViewCallback & Debug

Post 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)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply