Opened 10 years ago

Closed 10 years ago

#2627 closed Bugs (duplicate)

Using operator "<<" with boost::posix_time::time_duration with duration over 24 hours causes crash

Reported by: pacchang@… Owned by: az_sw_dude
Milestone: Boost 1.38.0 Component: date_time
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

Using MSVC 9.0, when using operator "<<" with boost::posix_time::time_duration with duration over 24 hours, I get the following assertion error at runtime:

f:\dd\vctools\crt_bld\self_x86\crt\src\strftime.c(658) : Assertion failed: ( ( timeptr->tm_hour >=0 ) && ( timeptr->tm_hour <= 23 ) )

Change History (3)

comment:1 Changed 10 years ago by Steven Watanabe

Component: Nonedate_time
Owner: set to az_sw_dude

comment:2 Changed 10 years ago by Andrey Semashev

This should already be fixed in trunk and branches/release. The fix will be released in 1.38.

comment:3 Changed 10 years ago by Andrey Semashev

Resolution: duplicate
Status: newclosed

Duplicate for #1861.

Note: See TracTickets for help on using tickets.