-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Description
I can't re-open tickets, but I noticed a system deadlock bug that was partially handled here:
The bug is when the file is corrupted (or we have some bug in the underline library), and we get panic:
panic when reading doc format: runtime error: slice bounds out of range [:-1]
we are in deadlock (waiting for channel that nothing writes to it).
If you look at the code:
go func() {
defer func() {
if e := recover(); e != nil {
log.Printf("panic when reading doc format: %v", e)
}
}()in the case of panic we don't write to mc channel, casing a dead lock.
Metadata
Metadata
Assignees
Labels
No labels