Boost logo

Boost :

Subject: Re: [boost] [log] Segfault in "rotating_file" example
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-04-16 15:11:49

On Tuesday 16 April 2013 11:55:53 Jason wrote:
> I'm working from SVN trunk revision 83923. I've been experiencing segfaults
> when trying to set up a file sink that has date/time format specifiers in
> its file name. I thought I was doing something wrong, but I found that the
> "rotating_file" example also illustrates the same behavior. Here is a sample
> backtrace:
> Looking at the disassembly of where the segfault happens, it seems to have
> gone off the rails and is executing invalid code. Specifically, the function
> pointer "converter" inside the date_time::microsec_clock<>:create_time()
> function seems to be invalid. Any ideas? I'm using gcc 4.7.2 on Ubuntu
> 12.10.

I have the same setup and the rotating_file example runs fine for me (I tried
with revision 83930 though). What compiler switches do you use?

Boost list run by bdawes at, gregod at, cpdaniel at, john at