Opened 3 years ago
Closed 3 years ago
#17091 closed bug (fixed)
deadbeef in notify_select_event_pool while using serial port with avrdude
Reported by: | pulkomandy | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | System/Kernel | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I'm using avrdude to program an Atmel microcontroller. It uses an USB serial port.
The chip is succesfully programmed but then I get a crash. This is reproductible. I looked at the tty using the appropriate KDL command and it appears to be fine.
Attachments (6)
Change History (12)
by , 3 years ago
Attachment: | _20210717_172016.JPG added |
---|
by , 3 years ago
Attachment: | DSC_2025.JPG added |
---|
by , 3 years ago
Attachment: | avrdude.trace.txt added |
---|
strace of avrdude (during a run without crash)
comment:2 by , 3 years ago
I am looking closer at the code and noticed that the tty
KDL command does not work as I thought. You can ignore the info in DSC_2025.JPG which is not about the TTYs involved in the crash.
comment:3 by , 3 years ago
Added a new capture showing the backtrace and the TTYsfound in the cookie. What's strange is the address passed to tty_notify_if_available and printed in the backtrace does not look valid. What could be happening here? It should be one of the two TTYs found in the cookie?
comment:5 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
comment:6 by , 3 years ago
Milestone: | R1 → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | in-progress → closed |
Fix merged in hrev55558
It only happens with the usb_serial driver. No problems with pc_serial.