public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18333] FAIL: timezone/tst-tzset (segmentation fault)
Date: Mon, 27 Apr 2015 16:24:00 -0000	[thread overview]
Message-ID: <bug-18333-131-cBBD4owTef@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-18333-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=18333

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(gdb) bt
#0  __GI__IO_file_xsgetn (fp=<optimized out>, data=<optimized out>, 
    n=4294967295) at fileops.c:1434
#1  0xf7a95cdd in __GI___fread_unlocked (buf=<optimized out>, 
    size=size@entry=1, count=count@entry=4294967295, fp=fp@entry=0x604340)
    at iofread_u.c:44
#2  0xf7ad5a22 in __tzfile_read (file=<optimized out>, 
    file@entry=0x604303 "/tmp/tst-tzset-5VrVdp", extra=extra@entry=0, 
    extrap=extrap@entry=0x0) at tzfile.c:404
#3  0xf7ad48ea in tzset_internal (explicit=1, always=1) at tzset.c:443
#4  __tzset () at tzset.c:596
#5  0x00401eda in test_tz_file (size=4294967290) at tst-tzset.c:108
#6  0x0040205d in do_test () at tst-tzset.c:164
#7  0x00401a8e in main (argc=1, argv=0xffffcf18) at ../test-skeleton.c:369
(gdb) p count
$11 = -135168
(gdb) p (unsigned int) count
$12 = 4294832128
(gdb) 

If count is greater than SSIZE_MAX, the result is unspecified.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


  parent reply	other threads:[~2015-04-27 16:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-26 13:48 [Bug libc/18333] New: " hjl.tools at gmail dot com
2015-04-26 13:49 ` [Bug libc/18333] " hjl.tools at gmail dot com
2015-04-26 14:16 ` hjl.tools at gmail dot com
2015-04-27 13:27 ` fweimer at redhat dot com
2015-04-27 13:56 ` fweimer at redhat dot com
2015-04-27 14:28 ` fweimer at redhat dot com
2015-04-27 14:52 ` hjl.tools at gmail dot com
2015-04-27 16:24 ` hjl.tools at gmail dot com [this message]
2015-04-27 17:07 ` hjl.tools at gmail dot com
2015-04-27 17:44 ` fweimer at redhat dot com
2015-04-27 17:44 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-18333-131-cBBD4owTef@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).