how to debug a segfault in wine-preloader?

Dan Kegel dank at kegel.com
Sun Jun 18 17:48:52 CDT 2006


paul wrote:
> when i run the result with wine, i get a segfault long before control
> has been transferred to my code. it appears to be in wine-preloader
> i cannot see how to debug this without endless printf's

Don't pooh-pooh print statements as a debugging technique.
It's like the duct tape of the debugging world.

wine-preloader is a special environment, though; you'll
have to use wld_printf rather than normal printf.
- Dan



More information about the wine-devel mailing list