Opened 15 years ago
Closed 15 years ago
Last modified 14 years ago
#6117 closed patch (fixed)
Mythcommflag experimental segfaulting for all(?) recordings
Reported by: | otto at kolsi dot fi | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | yes |
Description
Mythcommflag with experimental method seems to segfault for almost if not all recordings. I'm not sure if I've had a successful flagging since moving from -fixes to trunk.
Segfault seems to occur in same place, I've attached two backtraces.
Attachments (3)
Change History (7)
Changed 15 years ago by
Attachment: | mythcommflag-backtrace1.txt added |
---|
Changed 15 years ago by
Attachment: | mythcommflag-backtrace2.txt added |
---|
Changed 15 years ago by
Attachment: | CommDetector2_iter_fix.diff added |
---|
comment:2 Changed 15 years ago by
Replying to gnome42:
Hi Otto, It looks like the iterator was being invalidated by erasing from the vector while iterating over it.
Patch solves the issue, I've commflagged >20 recordings with it and so far none have segfaulted.
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 14 years ago by
Ticket locked: | set |
---|
Note: See
TracTickets for help on using
tickets.
Hi Otto, It looks like the iterator was being invalidated by erasing from the vector while iterating over it.