jadonk / beagleconnect

Moved to https://git.beagleboard.org/beagleconnect/freedom
https://git.beagleboard.org/beagleconnect/freedom
36 stars 16 forks source link

SW: linux/wpanusb : memory leak ? #95

Open Carton32 opened 2 years ago

Carton32 commented 2 years ago

Hi,

I'm using kernel 4.14.112 on a Raspberry Pi built with Yocto and your wpanusb kernel module. I've noticed that each time I perform a cycle of ifdown -> hard reset of MCU -> ifup, I get 2 memory leak reported by KMEMLEAK. I've spent several days to try to figure out what could cause this without success.

More details here: https://stackoverflow.com/questions/73743268/wpanusb-kernel-module-unable-to-find-memory-leak-in-probe-function-usb

Did you also notice this ? It doesn't seem to be a false positive as I've tried to perform thousands of ifup/ifdown in a script over 24h and my device ended up being frozen with a black screen after a single touch on it.

jadonk commented 2 years ago

Thanks for the report. I'm in the process of rebasing and upstreaming and there are a lot of todos left on wpanusb. I'll dig into it.

Carton32 commented 1 year ago

Thank you very much. I will keep an eye on the updates!