Re: prelude-manager: timer and segfault on 64bit machine
Olaf Gellert <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
Olaf Gellert wrote: > Hi all, > > I have written a manager-plugin that uses the prelude_timer > function (prelude_timer_set_callback etc). > > When the timer expires and the callback function is called, > I get a segfault on a 64bit machine (while it runs smoothly > on my 32bit desktop). Output of gdb: Ok, that had to do with the generic GCC option -fpack-structs which did not only pack the structs that I wanted, but all structs. This is especially bad for structs that are arguments to some system libraries (wich of course are not expecting packed structs...) ;-) Regards... Olaf -- Dipl.Inform. Olaf Gellert INTRUSION-LAB.NET Senior Researcher, www.intrusion-lab.net PKI - and IDS - Services [email protected] _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel