Comments (1)
I have managed to compile nng in debug mode and attach to my process.
The error that is raised is:
Run-Time check Failure #0 - The value of ESP was not properly saved accross a function call. This is usually a result of calling a function pointer declared with a different calling convention.
The error is located in taskq.c, line 164, but the previous instruction line 161 (task->task_cb(task->task_arg;)
looks like it could be the source of the problem, as I suspect it results in calling the callback defined on the .net side, and this callback does not have the proper attribute for x86 (no idea why it works in x64).
Adding this attribute makes it work under x86 and x64.
from nng.netcore.
Related Issues (20)
- Benchmarks for CI/CD
- released HOT 1
- NativeLibrary and function pointers
- NU5104 when depending on a "release" of nng.NET HOT 2
- IRepSocket receiving duplicate messages
- ECONNREFUSED when SubscriberOpen
- Cannot resolve symbol 'nng' HOT 1
- AsyncBase implementations not freeing allocated nng_ctx
- [Question] Is this one already complete for production now, or just paused for development? HOT 1
- .NET 6 support HOT 1
- listenOrDial is not method. HOT 2
- Connected event when socket connected
- Update to nng 1.3 HOT 3
- "malloc(): memory corruption (fast)" when using ISendSocket.SendMsg(IMessage) HOT 5
- pair RecvMsg cannot recieve data. use a working code in c++. HOT 4
- new nuget package fails to load HOT 4
- Enforce various *AsyncContext wrappers use correct sockets
- full duplex Pair with context HOT 3
- pipe support
- Calling `Take()` on msg and memory allocations can crash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nng.netcore.