TDahlmann/canpp

can2win Segmentation fault

Closed this issue · 4 comments

Hello!,
I am able to successfully run can2win in Debian 5.10.120, but unable to do it in Debian 6.1.94 neither Ubuntu 6.8.0, getting "Segmentation Fault" when connecting from windows can++ application. Any clue to solve this?
6.8
Segmentation fault

Hello Alfredo, thanks for testing. Next week when I am back from vacation I will have a look at this issue.

Thomas

Hi Alfredo, I could reproduce the fault with Ubuntu 24.04. It was an unallocated string pointer on the stack. It is fixed now.

We used can2win a lot some years ago but never had this issue. I assume this occurred now due to better stack protection in current distros or we just had luck with the stack layout :)

Please could you give it a new try?

Thomas

Hello!, Checked on Ubuntu 6.8.0 and running flawlessly! Thank you so much Thomas! You created an awesome app.

Great to hear that the issue is fixed and you like can++ :)