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

macOS 2.4.x MSG_OPENDSM memory exception #16

Open
enlightenedmouse opened this issue Nov 28, 2019 · 1 comment
Open

macOS 2.4.x MSG_OPENDSM memory exception #16

enlightenedmouse opened this issue Nov 28, 2019 · 1 comment

Comments

@enlightenedmouse
Copy link

Description

DG_CONTROL / DAT_PARENT / MSG_OPENDSM fails on macOS using any of the 2.4.x releases of the TWAINDSM.framework.

malloc: Non-aligned pointer 0x1004e632a being freed
malloc: *** set a breakpoint in malloc_error_break to debug

Tested on

macOS Mojave
Version 10.14.6

@enlightenedmouse
Copy link
Author

Seems the culprit is the CFStringCreateWithCStringNoCopy method within the DSM_LoadFunction:

CFStringCreateWithCStringNoCopy(0, _pszSymbol, kCFStringEncodingUTF8, 0));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant