https://bugs.winehq.org/show_bug.cgi?id=54661
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Sorry, it's not the context pointer that causes libpcsclite to fail. Based on the libpcsclite code it would be the scope that ends up having a bad value.