elisp-ffi icon indicating copy to clipboard operation
elisp-ffi copied to clipboard

Handle nonexistent libraries better

Open remexre opened this issue 8 years ago • 1 comments

Right now, if you try to call a function from a library that doesn't exist, you get an infinite loop somewhere. Instead, this should throw.

remexre avatar May 01 '17 23:05 remexre

This is certainly not intentional. What might be happening is the subprocess is crashing and Emacs is hung up waiting for a response. If it's the C++ program stuck in a loop, and you can't find the specific source of this problem, manually construct the "bytecode" that triggers this and examine it under GDB without Emacs present.

skeeto avatar May 02 '17 00:05 skeeto