Closed zappybiby closed 7 years ago
How many do you connect mouse device? You have to connect only 1 mouse device. If not this problem, I need more information about your environment. Please type
cat /proc/bus/input/devices | grep mouse | awk '{print $3}'
in your ternimal and give me the result.
Thanks.
brian@brian-MS-7977:~/Desktop/ChosunTruck$ cat /proc/bus/input/devices | grep mouse | awk '{print $3}'
Peripherals
event6
I only have one mouse. I also have a dual monitor setup, I tried disabling one of the monitors but still get the same problem.
NOTE: I am talking about the Master version here.
Using Dr. Memory I found a similar buffer overflow error:
See the results.txt
I used a program called "Dr. Memory" to find the errors. Lines 144 and 149 are causing the buffer overflow for me.
I removed code that cause the problem. It does not find mouse device now. I changed the mouse input method in https://github.com/bethesirius/ChosunTruck/commit/dd02851dc2f411553d876d59cc2c13c043ac6b46. Pull and build from new commit. I think that it is better to create new issue for the overflow of the Windows branch.
Holy shit, It works!! You are the greatest!!! Thank you so much for your help!!!
When running "sudo ./auto_drive", a buffer overflow is detected:
Valgrind Info: