Re: my app segfault, but why?



Hi,

Most of SIGSEG dump-core case are based on a overflow. When it arrive, it's very difficult to find quickly the error. You can check all yours malloc, g_malloc and g_malloc0 (and other g_lib functions based on memory allocations...) calls and see if all these call are terminated with free, g_free ... Maybe you try to use g_free twice on the same vars but allocated only one time ??.

Hope this can be helpfull.

JFB





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]