You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.9 KiB

--- !ditz.rubyforge.org,2008-03-06/issue
title: "test-bi-canceling: failure with -m32 and no debug"
desc: ""
type: :task
component: duk
release: v0.11
reporter: Sami Vaarala <sami.vaarala@iki.fi>
status: :closed
disposition: :fixed
creation_time: 2014-04-28 15:38:10.365533 Z
references: []
id: 2e9d9c2d761dabaf8136c0897b91a270d1a47147
log_events:
- - 2014-04-28 15:38:10.525553 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- created
- ""
- - 2014-04-28 20:53:27.789955 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- commented
- Requires -m32 and *no* -std=c99.
- - 2014-04-28 20:56:53.550141 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- commented
- |-
Very curious: the bug doesn't appear when running with Valgrind (32-bit
executable on a 64-bit system) but does appear with the same binary when
not using valgrind:
$ valgrind ./duk ecmascript-testcases/test-bi-date-canceling.js
==9417== Memcheck, a memory error detector
==9417== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==9417== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==9417== Command: ./duk ecmascript-testcases/test-bi-date-canceling.js
==9417==
1970-01-01T00:00:00.000Z
1970-01-01T00:00:00.000Z
==9417==
==9417== HEAP SUMMARY:
==9417== in use at exit: 0 bytes in 0 blocks
==9417== total heap usage: 1,769 allocs, 1,769 frees, 99,245 bytes allocated
==9417==
==9417== All heap blocks were freed -- no leaks are possible
==9417==
==9417== For counts of detected and suppressed errors, rerun with: -v
==9417== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
$ ./duk ecmascript-testcases/test-bi-date-canceling.js
1970-01-01T00:00:00.000Z
RangeError: Invalid Date
- - 2014-04-28 21:14:23.670373 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- closed with disposition fixed
- ""