-
Notifications
You must be signed in to change notification settings - Fork 99
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
Seg Fault almost every time #9
Comments
Hi could you try debbuging so that I can see when the seg fault occur? Thanks Sent from my iPhone On Nov 11, 2011, at 11:43 AM, rdoherty47
|
Never mind, I used the gdb and was able to get some output, here it is: Starting program: /home/ryan/OpenTLD/bin/run_tld exec-file /home/ryan/OpenTLD/bin/run_tld Program received signal SIGSEGV, Segmentation fault. |
Hi, I can see that the algorithm cant find any good or bad bounding boxes On Fri, Nov 11, 2011 at 12:23 PM, rdoherty47 <
h:92 w:90
Alan I. Torres Nogales |
I just run the first command given in the README to use my laptop webcam... I've had this working before. I thought the seg fault was my fault from playing around with the code a little bit, so i just downloaded a new copy today, but it is still seg faulting. the command i run is ./run_tld -p ../parameters.yml -tl |
What happens when you run it using a video? On Fri, Nov 11, 2011 at 8:10 PM, rdoherty47 <
Alan I. Torres Nogales |
This is the output: VIDIOC_QUERYMENU: Invalid argument I tried the command above, but when I looked in the _input directory I noticed there wasn't a file called motocross.mpg... but there was one call motorbike.mp4. Regardless I tried both command, and they resulted in the same error. |
Hi I just re-downloaded and tried the code but it worked fine with both What OS are you on? On Sat, Nov 12, 2011 at 12:12 PM, rdoherty47 <
Alan I. Torres Nogales |
Could you also try running valgrind on it? valgrind ./run_tld -p ../parameters.yml -s ../_input/motorbike.mp4 -tl On Sat, Nov 12, 2011 at 12:43 PM, Alan Torres [email protected]:
Alan I. Torres Nogales |
I haven't changed the parameters.yml at all. When I was compiling the software, I get the printf errors, and add #include <stdio.h> in the necessary files. Does yours compile before fixing those? Also, here is the output from running valgrind on the .mp4 file.... I haven't gotten the seg fault there though, because the video never even opens. Here is the output from valgrind: ==3630== Memcheck, a memory error detector |
Well, I just deleted my copy again, redownloaded and built it. The tracking using my webcam works now, but the second command to use the input video still doesn't work. same error. |
Great to know that its working with the camera. I included the missing ./run_tld -p ../parameters.yml -s motorbike.mp4 -tl Or try it with a different video, I don't have any issues running it with On Sat, Nov 12, 2011 at 1:32 PM, rdoherty47 <
Alan I. Torres Nogales |
Alan,
I've downloaded and had your code working before, but I just redownloaded and built it, everything went smooth, but when I run it now based on the command given in the README, it seg faults when I select the bounding box. In fact, the very first time I ran it, it froze every time i moved the window or tried specifying the bounding box. Now it just seg faults everytime
The text was updated successfully, but these errors were encountered: