AVR C Runtime Library - Bugs: bug #52181, assert should make Serial.flush()...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52181: assert should make Serial.flush() before calling abort()
Submitter: | Hannes Studeny <pukuri> | ||
Submitted: | Sat 07 Oct 2017 02:58:08 AM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | Wont Fix | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | Any | Fixed Release: | None |
Sun 08 Oct 2017 06:59:36 PM UTC, comment #3: |
Hannes Studeny <pukuri> |
Sun 08 Oct 2017 05:47:12 PM UTC, comment #2: I agree with Johann on that. There's nothing avr-libc could do about it.
|
Joerg Wunsch <joerg_wunsch> |
Sun 08 Oct 2017 09:34:46 AM UTC, comment #1: This is not an avr-libc problem. The stdio routines like prinf are fully synchronous, and there is no buffering.
|
Georg-Johann Lay <gjlayde> |
Sat 07 Oct 2017 02:58:08 AM UTC, original submission:
I'm quite new to this project, hopefully I'm submitting this bug at the corect place, if not, please point me in the right direction...
|
Hannes Studeny <pukuri> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-10-08 | joerg_wunsch | Status | None | Wont Fix | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4448.
Corresponding source code
Thanks a lot for your help and pointing me in the right direction!
Added a Destructor to the Serial class, temporarily enabled the interrupts, to print out the last bytes, freed some resources and it worked like a charm.
Sadly it showed me again how buggy the Arduino environment is...