-
Notifications
You must be signed in to change notification settings - Fork 605
terminate called without an active exception #127
Comments
Hi Boyce, Are you able to provide some steps we can use to reproduce this issue using the SampleApp or one of the unit/integration tests? Alternately, if you are using some custom code, can you provide a compilable example that demonstrates the issue? The error you are seeing indicates that a thread has been destroyed without first being joined, but we don't have enough detail in the log to tell which thread. Other things which might help us debug:
Ken |
This error occurred in the 251th line of the HTTP2Transport.cpp file while try to join thread.(Version 1.0.2) After connect to AVS, it seems like will try pingStream every five minutes. It will free the class of HTTP2Transport and do disconnect while pingFailed. This error will occur at that time. Reproduction:
|
Thanks for the clarification @jacky-ge. I've reproduced the crash as you've described. We will investigate and and get back to you with our findings. Ken |
@kencecka Do you have a update for this issue? Or can you provide a workaround? |
when the following error happened,SampleApp will also exit.
|
Hi NyxRockchip2017, We have root caused the problem (HTTP2Transport's network thread ends up triggering a join on itself). We have fix in progress for the next release. The log in your latest comment looks like a separate issue. Would you please create a new issue for that and include more comprehensive logs and steps to reproduce the problem, if possible? Thank you! |
@scotthea-amazon |
Hi @boyce-xx , did you try version 1.0.3 ? |
@mradulan I have tried version 1.0.3, the problem is not solved. Will there be any updates recently? |
Hi @jacky-ge , there will be an update soon. Thanks! |
- Changes in this update: - Better GStreamer error reporting. MediaPlayer used to only report `MEDIA_ERROR_UNKNOWN`, now reports more specific errors as defined in `ErrorType.h`. - Codebase has been formatted for easier reading. - `DirectiveRouter::removeDirectiveHandler()` signature changed and now returns a bool indicating if given handler should be successfully removed or not. - Cleanup of raw and shared pointers in the creation of `Transport` objects. - `HTTP2Stream`s now have IDs assigned as they are acquired as opposed to created, making associated logs easier to interpret. - `AlertsCapabilityAgent` has been refactored. - Alert management has been factored out into an `AlertScheduler` class. - Creation of Reminder (implements Alert) class. - Added new capability agent for `PlaybackController` with unit tests. - Added Settings interface with unit tests. - Return type of `getOffsetInMilliseconds()` changed from `int64_t` to `std::chronology::milliseconds`. - Added `AudioPlayer` unit tests. - Added teardown for all Integration tests except Alerts. - Implemented PlaylistParser. - Bug fixes: - AIP getting stuck in `LISTENING` or `THINKING` and refusing user input on network outage. - SampleApp crashing if running for 5 minutes after network disconnect. - Issue where on repeated user barge-ins, `AudioPlayer` would not pause. Specifically, the third attempt to “Play iHeartRadio” would not result in currently-playing music pausing. - Utterances being ignored after particularly long TTS. - GStreamer errors cropping up on SampleApp exit as a result of accessing the pipeline before it’s been setup. - Crashing when playing one URL after another. - Buffer overrun in Alerts Renderer. - [SampleApp crashing when issuing "Alexa skip" command with iHeartRadio.](#153) - [`HTTP2Transport` network thread triggering a join on itself.](#127) - [`HTTP2Stream` request handling truncating exception messages.](#67) - [`AudioPlayer` was attempting an incorrect state transition from `STOPPED` to `PLAYING` through a `playbackResumed`.](#138)
The issue is fixed in v1.1.0. Thanks! |
|
We have reproduced the issue that SampleApp will exit in connecting to AVS. |
I encountered a fatal error during my test(running about 15 minutes) as below, my test app will exit when it happened, but my network is good to test, how this error happened? and how can I avoid it? and I saw this, but have no answer.
some code snippet:
The text was updated successfully, but these errors were encountered: