Opened 9 years ago

Closed 9 years ago

#9265 closed Bugs (wontfix)

time_point_output_h test crashes regression test

Reported by: Thomas Kent <teeks99@…> Owned by: viboes
Milestone: Boost 1.55.0 Component: chrono
Version: Boost Development Trunk Severity: Regression
Keywords: Cc:

Description

When running the trunk regression test suite on windows, the test time_point_output_h (at: results\boost\bin.v2\libs\chrono\test\time_point_output_h.test\msvc-9.0\debug\asynch-exceptions-on\time_point_output_h.exe) crashes, causing an interruption in the regression test.

The output I have for it is with msvc-9.0, but I believe that it happens for other versions as well.

Attached is the stack trace for the crash, as well as some debugger variables at various points in the stack.

Attachments (1)

chrono_crash.txt (6.3 KB ) - added by Thomas Kent <teeks99@…> 9 years ago.

Download all attachments as: .zip

Change History (6)

by Thomas Kent <teeks99@…>, 9 years ago

Attachment: chrono_crash.txt added

comment:1 by viboes, 9 years ago

Status: newassigned

Would this patch unblock the regression tests

svn diff
Index: io/time_point_output.cpp
===================================================================
--- io/time_point_output.cpp	(revision 86355)
+++ io/time_point_output.cpp	(working copy)
@@ -173,12 +173,12 @@
 
   test_good_utc_fmt_system_clock("1970-01-01 02:00:00", "%Y-%m-%d %H:%M:%S", hours(2));
   test_good_utc_fmt_system_clock("1970-01-01 02", "%Y-%m-%d %H", hours(2));
-
+#if ! defined(BOOST_CHRONO_WINDOWS_API)
   test_good_utc_fmt_system_clock ("1970-01-01 02:00:00", "%Y-%m-%d %T", hours(2));
   test_good_utc_fmt_system_clock ("1970-01-01 02:00", "%Y-%m-%d %R", hours(2));
   test_good_utc_fmt_system_clock ("% 1970-01-01 02:00", "%% %Y-%m-%d %R", hours(2));
   test_good_utc_fmt_system_clock ("1970-01-01 02:00 Thursday January", "%Y-%m-%d %R %A %B", hours(2));
-
+#endif
 }
 
 void test_gmtime(std::time_t t)

comment:2 by viboes, 9 years ago

Milestone: To Be DeterminedBoost 1.55.0
Resolution: fixed
Status: assignedclosed
Last edited 9 years ago by viboes (previous) (diff)

comment:3 by viboes, 9 years ago

strftime doesn't supports these flags on windows platform.

comment:4 by viboes, 9 years ago

Resolution: fixed
Status: closedreopened

comment:5 by viboes, 9 years ago

Resolution: wontfix
Status: reopenedclosed
Note: See TracTickets for help on using tickets.