[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] upcoming 2.1.4-alpha Libevent release
On Mon, Mar 17, 2014 at 1:31 PM, Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
> Hi, all!
>
> There's been a lot of activity on Libevent recently, so I'm hoping to
> put out a Libevent 2.1.4-alpha in the next day or two. It will not
> have every bugfix that I've been told about, or every feature that I'm
> hoping to include in 2.1.x, but it's been long enough without an alpha
> that it's probably wise to put a
>
> If you want to try it out before the release, have a look at
>
> http://www.wangafu.net/~nickm/volatile/libevent-2.1.4-alpha-candidate.tar.gz
>
> Please let me know about any total showstopper bugs here. (Like,
> major regressions against 2.1.3-alpha)
It looks like there's some undefined behavior present.
Attached is the result of manually running test/test.sh.
Jeff
***** Excerpt *****
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24
places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24
places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow:
9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka
'long')
test/regress_util.c:739:5: runtime error: signed integer overflow:
2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow:
9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka
'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10
cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places
cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places
cannot be represented in type 'int'
$ ./test/test.sh
Running tests:
EPOLL (timerfd)
test-eof: OKAY
test-closed: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
EPOLL (changelist)
test-eof: OKAY
test-closed: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
EPOLL (timerfd+changelist)
test-eof: OKAY
test-closed: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
EVPORT
Skipping test
KQUEUE
Skipping test
EPOLL
test-eof: OKAY
test-closed: OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
DEVPOLL
Skipping test
POLL
test-eof: OKAY
test-closed: [warn] event_base_new_with_config: no event mechanism available
OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
SELECT
test-eof: OKAY
test-closed: [warn] event_base_new_with_config: no event mechanism available
OKAY
test-weof: OKAY
test-time: OKAY
test-changelist: OKAY
test-fdleak: OKAY
test-dumpevents: OKAY
regress: select.c:288:3: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:196:7: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:198:7: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:316:3: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:288:3: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:196:7: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:198:7: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
select.c:316:3: runtime error: left shift of 1 by 63 places cannot be represented in type '__fd_mask' (aka 'long')
evutil.c:1930:26: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:182:25: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/regress_util.c:729:5: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
test/regress_util.c:739:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int32_t' (aka 'int')
test/regress_util.c:766:7: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'ssize_t' (aka 'long')
http.c:4289:22: runtime error: signed integer overflow: 999999999 * 10 cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 95 by 28 places cannot be represented in type 'int'
event_tagging.c:213:28: runtime error: left shift of 13 by 28 places cannot be represented in type 'int'
OKAY
WIN32
Skipping test
$