Micke Prag

Results 18 comments of Micke Prag

I think this is a must. When/if someone starts working on such page then we have started som work on a couple XEPs: https://github.com/telldus/xmppjs-client-plugins

I have really tried boiling this down to a simple example to reproduce this issue. I am not sure I have succeded but in the mean time I have been...

I think I have some more information. I think the cause is two different threads try to access the lua runtime. The above example does this intentionally but in my...

Backtrace of the above observations: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff72ffd700 (LWP 32133)] 0x00007fffef133d82 in lua_rawgeti (L=L@entry=0x7fff60004ef0, idx=idx@entry=-1001000, n=n@entry=0) at lapi.c:654 654 setobj2s(L, L->top, luaH_getint(hvalue(t), n));...

Finally, a small-ish reproducible example! No threads or anything special... ;) https://gist.github.com/mickeprag/75a0fbf04cfd06c3fe48b759da22f5ef

I can only answer from my side. I have tried to see where the crash happen but I could not understand fully why. If @kmike done anyting more, I do...

> Maybe you could try to strip down the test case? It's very complex and uses lots of features: Lua couroutines, the @unpacks_lua_table decorator, runtime options I have simplified the...

From my side, no, unfortunately not.

I am probably getting the same error. This is the output if this helps? ``` /home/cncjs/cncjs-pendant-ps3/dualshock-controller/src/controller.js:131 device.write(buff); ^ Error: Cannot write to HID device at Controller.setExtras (/home/cncjs/cncjs-pendant-ps3/dualshock-controller/src/controller.js:131:16) at Timeout.updateControllerExtras [as...

One use case for me is that I have one firmware for multiple boards. So the firmware can detect at runtime what kind of display is connected and initiate the...