spoussa has quit [Remote host closed the connection]
spoussa_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spoussa has joined #soletta
spoussa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spoussa has joined #soletta
anselmolsm has joined #soletta
jeez_ has joined #soletta
caiortp has joined #soletta
spoussa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aguedes has joined #soletta
otaviobp has joined #soletta
kamidi_preetham has joined #soletta
<otaviobp>
siovene: hi. I was able to build and run cordova-plugin-oic-demo and it is working fine. tested using soletta and iotivity 1.0.1. Thanks
<otaviobp>
siovene: hmmm. actually there was one issue.
<otaviobp>
siovene: it was not founding window.cordova.plugins.Keyboard. So I commented the lines using it in app.js
<otaviobp>
maybe there is a dependency missing. I don't know
ricardotk has joined #soletta
glima has joined #soletta
ceolin[AWAY] is now known as ceolin
mbelluzzo has joined #soletta
kamidi_preetham has quit [Ping timeout: 250 seconds]
ceolin is now known as ceolin[AWAY]
ceolin[AWAY] is now known as ceolin
bsmelo has joined #soletta
bdilly has joined #soletta
bdilly has quit [Changing host]
bdilly has joined #soletta
Zhao has quit [Quit: Connection closed for inactivity]
<jimmy1>
glima: what's the last number used in the prj.mdef file? is that the call stack size or something? i was hitting a random segfault on my apps untili raised it from 1024 to 2048
<Sachiel>
yes, stack size of the task
<jimmy1>
Sachiel: so what's an appropriate size? i had 1024 before and it was clearly not enough, but how high should you really set this to?
<glima>
jimmy1: what's your soletta sample like?
<glima>
is it a flow?
<glima>
what does it do?
<Sachiel>
jimmy1: I'm usually defaulting to 4096, but I never measured what a proper stack size would be
<jimmy1>
no, it is a C app that uses timers, but i integrated jerryscript, and it was causing the segfaults as soon as I have another layer of function calls
<Sachiel>
ou, js is going to be painful
<jimmy1>
it took me like 2-3 days to actually figure out what was causing it to crash, because it worked fine before with just js, or just soletta, not when i combined them both into one
<Sachiel>
that's microkernel, right? otherwise everything in the mdef is ignored
<jimmy1>
yeah
<glima>
oh, that's why
<glima>
1k for soletta + js...
<jimmy1>
i wish it had a better error code that tells me that the call stack exploded, all i was saw was random segfault with 0xdeaddead
<Sachiel>
those are complicated
<acidx>
he's dead, jimmy
<jimmy1>
yep
<jimmy1>
for now, i just inceased it to 2048, so hopefully it would fix it
<jhe>
jimmy1: there's include/misc/stack.h that can at least be used to analyze fiber stack usage, it might be possible to do something like that for tasks as well
<jimmy1>
so if you increase the stack size it just takes it from ram, right?
<jhe>
I suppose so yes
<jimmy1>
okok
lvladi_ has quit [Remote host closed the connection]
<otaviobp>
/quit
otaviobp has quit [Quit: WeeChat 1.4]
bsmelo has quit [Remote host closed the connection]
kamidi_preetham has joined #soletta
kamidi_preetham has quit [Quit: Page closed]
aguedes has quit [Quit: Leaving.]
bottazzini has quit [Remote host closed the connection]
caiortp has quit [Remote host closed the connection]
bottazzini has joined #soletta
bottazzini has quit [Remote host closed the connection]
bottazzini has joined #soletta
glima has quit [Remote host closed the connection]
ricardotk has quit [Quit: vlwflw]
ceolin is now known as ceolin[AWAY]
bdilly has quit [Quit: bdilly]
mbelluzzo has quit [Quit: Leaving]
anselmolsm has quit [Quit: Konversation terminated!]