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

Maximum call stack size exceeded #60

Closed
marqueeeeeee opened this issue Jul 5, 2016 · 2 comments
Closed

Maximum call stack size exceeded #60

marqueeeeeee opened this issue Jul 5, 2016 · 2 comments

Comments

@marqueeeeeee
Copy link

I was trying to send a multiple message using QoS 2 in one topic while the receiver is offline. When i reconnect the receiver with un-clean session i throws an error and after a few errors aedes will crash.

`C:\nodejs\node_modules\aedes\node_modules\aedes-persistence\persistence.js:74
return {
^

RangeError: Maximum call stack size exceeded
at mapSub (C:\nodejs\node_modules\aedes\node_modules\aedes-persistence\per
sistence.js:74:5)
at Array.map (native)
at MemoryPersistence.addSubscriptions (C:\nodejs\node_modules\aedes\node_m
odules\aedes-persistence\persistence.js:73:8)
at SubscribeState.storeSubscriptions (C:\nodejs\node_modules\aedes\lib\han
dlers\subscribe.js:63:9)
at work (C:\nodejs\node_modules\aedes\node_modules\fastfall\fall.js:105:23
)
at Aedes.defaultAuthorizeSubscribe [as authorizeSubscribe](C:nodejsnode
_modulesaedesaedes.js:294:3)
at SubscribeState.authorize (C:\nodejs\node_modules\aedes\lib\handlers\sub
scribe.js:39:17)
at Holder.work (C:\nodejs\node_modules\aedes\node_modules\fastfall\fall.js
:105:23)
at SubscribeState.compiled (C:\nodejs\node_modules\aedes\node_modules\fast
fall\fall.js:55:17)
at SubscribeState.doSubscribe (C:\nodejs\node_modules\aedes\lib\handlers\s
ubscribe.js:34:16)`

I'm not sure why but it should be possible right? when a the receiving client disconnected temporarily? Tho if i only send one message it works well. i think i may have a persistence setting problem.

@mcollina
Copy link
Collaborator

mcollina commented Jul 9, 2016

Can you please specify a way to reproduce?

@mcollina
Copy link
Collaborator

mcollina commented Sep 2, 2016

Closing for no activity, feel free to reopen.

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

2 participants