Hi, When I get a seg fault in gdb, I usually do 'bt' to get the stack. But sometimes it crashes in a windows dll (I suppose) ...and the stack is just one function. I assume wrong parameters or such were given to the winapi. Does anybody have any tip what I could do to see from where in the lcl this call originated? Thanks, Micha.