Re: util-vserver segfault with SSP : found the problem, need more info
Romain Rivière <[email protected]> Sat, 30 Dec 2017 19:40:58 +0100
| Newsgroups | gmane.linux.vserver |
|---|---|
| Message-ID | <[email protected]> |
In spite of my nearly non-existent C++-foo, I have determined that it's the __attribute__((__constructor__)) of both initHertz() and initPageSize() that's causing the segfault. And in spite of my best efforts, I don't understand why these two functions are declared as constructors, since both hertz and pagesize seem to be initialized when/if necessary. But then again, I'm not used to that kind of debugging at all. So I guess the remaining question is whether that declaration is still needed and why, and how to make it "compatible" with SSP. Cheers -- Romain