Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process has died at trackThread #7

Open
sptree-m opened this issue Jul 7, 2019 · 0 comments
Open

Process has died at trackThread #7

sptree-m opened this issue Jul 7, 2019 · 0 comments

Comments

@sptree-m
Copy link

sptree-m commented Jul 7, 2019

Sometimes crash at void YoloROSTracker::trackThread().

When I preview the result image by rqt_image_view and window dragging by mouse, the proccess is died.

If I commented out below, not died.

    for (auto &i : old_result_vec) {
      auto it = std::find_if(result_vec.begin(), result_vec.end(),
                [&i](bbox_t const& b) { return b.track_id == i.track_id && b.obj_id == i.obj_id; });
      bool track_id_absent = (it == result_vec.end());
      if (track_id_absent)
        if (i.frames_counter-- > 1)
            result_vec.push_back(i);
        else it->frames_counter = std::min((unsigned)3, i.frames_counter + 1);
    }

Log

[ INFO] [1562515873.433609549]: Started darknet thread
[ INFO] [1562515873.433782295]: Reference Count > 0
[ INFO] [1562515873.434705322]: Inside tracking
[darknet_ros-1] process has died [pid 17620, exit code -11, cmd /home/nvidia/catkin_ws/devel/lib/darknet_ros/darknet_ros __name:=darknet_ros __log:=/home/nvidia/.ros/log/9f8b6bc4-a0cd-11e9-9537-00044bcbd854/darknet_ros-1.log].
log file: /home/nvidia/.ros/log/9f8b6bc4-a0cd-11e9-9537-00044bcbd854/darknet_ros-1*.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant