Project

General

Profile

Mysterious segfault on libwthttp.so.3.3.3

Added by Erhan Aydın almost 9 years ago

We have been struggling with a mysterious segfault on libwthttp.so.3.3.3.

When we first saw the problem, our wthttpd server had crashed on every midnight and the kernel log indicated that the segfault occured on libssl.so.

After many researches, we tried a couple of potential fixes but no good.

So we shut down the https server on wthttpd and used nginx as the reverse https proxy.

After that, the midnight crash happened again. This time kernel log blamed libwthttp.so. Although core dumps are enabled on our system, none was generated for this error.

Our server is a vmware machine running on an esx host. Os is Ubuntu Server 14.04 sp1.

You guys have an idea of what could be happened? Any clue towards the solution will be appreciated.


Replies (2)

RE: Mysterious segfault on libwthttp.so.3.3.3 - Added by Wim Dumon almost 9 years ago

Wild guess: something in a cron job sends a signal to the Wt process that is not handled? Maybe related to log rotations? What happens if you send a HUP signal to your Wt application?

There's nothing special in Wt happening at midnight...

Wim.

RE: Mysterious segfault on libwthttp.so.3.3.3 - Added by Erhan Aydın almost 9 years ago

It has been 3 days now but no crashes.

What I did was just to handle the SIGHUP signal.

Wim, you rock!

    (1-2/2)