-
Notifications
You must be signed in to change notification settings - Fork 25
Music playback - stop - crash observed with error! #65
Comments
Hi @sakthisg, Thanks a lot for reaching out and providing the backtrace, it seems like GUI layer might be sending incorrect value with When you hit the crash, can you go to the frame and try to fetch the payload by printing them to logs (the symbols are missing currently), that will give more information. Just as a reference, rapidjson does not implicitly assumes integer value to be a subset of double causing some asserts. |
Closing this issue due to inactivity. Feel free to reopen it if you're still experiencing the issue. |
@zsubas We are seeing random crashes in rapid json in many scenarios. which triggers the SIGABORT.
|
-DRAPIDJSON_MEM_OPTIMIZATION=OFF is only used for AVS SDK build. In latest version of smart screen sdk, we merged the rapidjson libraries. Right now we are referring avs sdk's rapidjson and apl-core's rapidjson: https://developer.amazon.com/en-US/docs/alexa/alexa-smart-screen-sdk/mac-os.html I would suggest you to update the smart screen sdk to the latest version if possible. If not, please share the details of the crash (at which scenario it crashes, detailed logs) so we can investigate further. |
Thanks for the inputs. Most of the times the core is not getting generated. For the above version used can you please confirm the rapid json flags to be used? /home/kumar.jagadish/commit_userid/alexa/prebuilts/mvoiceapp/avs/prebuilts/include/rapidjson/document.h:1692: double rapidjson::GenericValue<Encoding, Allocator>::GetDouble() const [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocatorrapidjson::CrtAllocator]: Assertion `IsNumber()' failed. |
Hello @sakthisg, The rapidjson flag to use on AVS is: -DRAPIDJSON_MEM_OPTIMIZATION and the flag to be used on Alexa smart screen sdk is: -DAPLCORE_RAPIDJSON_INCLUDE_DIR. As for the crash, have you been able to fetch the payload through the backtrace as @VaruPan suggested? This will help us debug further |
Hi @VaruPan/@karpuv Payload and crash scenario: Observation: can we block to send this payload(when x and y are null) to APL. if yes, is there any regression or side effect with that. BTW, may i know how this cursorPosition payload is used in APL..? |
The rendering engine needs to know the cursor position to respond correctly to clicks/hover/swiping events. I suspect blocking these messages may result in missed events. I encourage you to post this question on rendering engine project for further clarifications. You can also investigate on - why the browser is sending null cursor positions? I can confirm that we do not see null values in payload on reference platforms. Thank you for your contribution to Alexa Smart Screen SDK! |
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
Stop command - getting errors and SIGABORT
What is the expected behavior?
Should run normally.
What behavior are you observing?
Application crashes.
There are errors:
AlexaPresentation:processExecuteCommandsResultExecutorFailed:reason=asked to process missing directive,messageId=RenderPlayerInfo
[2020-12-10 19:14:39.261] 2020-12-10 13:44:38.454 [ 1b] E CapabilityAgent:sendExceptionEncounteredAndReportFailed:reason=infoNotFound
[2020-12-10 19:14:39.261] 2020-12-10 13:44:38.464 [ 1b] E AlexaPresentation:processExecuteCommandsResultExecutorFailed:reason=asked to process missing directive,messageId=RenderPlayerInfo
SIGABORT:
SIGABRT: software abort
Backtrace and logs:
PR_TO_SSSDK.txt
backtrace.txt
Provide the steps to reproduce the issue, if applicable:
Play Songs from Amazon Music . Pause it .
Tell us about your environment:
Modified the sampleApp...
What version of the AVS Device SDK are you using?
AVS SDK version 1.20.1, APL version 1.3.3 and SS SDK version 2.2.1
Tell us what hardware you're using:
Crosscompiled
Tell us about your OS (Type & version):
Have you tried the same use case with AVS Device SDK SampleApp?
The text was updated successfully, but these errors were encountered: