mattyoung101 / omicron

Repo for Team Omicron, RoboCup Jr Open Soccer, 2019-2020
Mozilla Public License 2.0
1 stars 0 forks source link

Segfault if Omicam exits while connected to Omicontrol #4

Open mattyoung101 opened 4 years ago

mattyoung101 commented 4 years ago

Occasionally Omicam will segfault on exit, and ASan says it's a heap use after free, however, it got stuck printing the backtrace so I don't know where it's coming from.

Low priority because it's difficult to replicate and doesn't matter too much as it's only segfaulting on exit, after cleaning everything else up (it happens after the log file is closed too).

mattyoung101 commented 4 years ago

If I recall correctly this is related to the remote debugger module, and occurs only when it's connected to Omicontrol and Omicam exits which is a rare situation (shouldn't ever happen in production).