|
Boost Users : |
From: Lorenzo Cavallaro (sullivan_at_[hidden])
Date: 2007-09-03 14:59:22
Hi all,
I'm experiencing something very weird. I'm developing a shared object
written in C++ and linked against libboost-serialization-gcc41.so. This
dynamic library is preloaded before launching a test program (proftpd).
As soon as a try to log into the ftp server using a non-anonymous user, I
get a segfault from the child the was handling the client connection. Of
course, the same code, without libboost-serialization-gcc41.so linked
against is perfectly working.
I also removed any serialize method so basically only the libboost header
file are included with the library linked as well.
Do you guys have any idea of what's going on?
Libboost version 1.34.1, gcc version 4.1. I'm going to build the gcc-3.4
version of the library and I'll turn debugging on.
TIA, bye
Lorenzo
PS: of course I tried to debug but what I got was pretty useless. No clue.
For instance, strace showed a syscall (gettimeofday) is successfully invoked
before the segfault.
-- Lorenzo `Gigi Sullivan' Cavallaro <sullivan_at_[hidden]> GPG key at http://security.dico.unimi.it/~sullivan/sullivan.asc Until I loved, life had no beauty; I did not know I lived until I had loved. (Theodor Korner) See the reality in your eyes, when the hate makes you blind. (A.H.X)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net