From owner-freebsd-testing@freebsd.org Sun Nov 1 05:19:47 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D434A24BFB for ; Sun, 1 Nov 2015 05:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 144321BEC for ; Sun, 1 Nov 2015 05:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tA15JkGZ095991 for ; Sun, 1 Nov 2015 05:19:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 204156] fmemopen tests failing after r289863 Date: Sun, 01 Nov 2015 05:19:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 05:19:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204156 --- Comment #7 from NGie Cooper --- $ gdb710 ~/fmemopen2_test fmemopen2_test.core GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD] Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd11.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/ngie/fmemopen2_test...done. [New process 100105] Core was generated by `fmemopen2_test'. Program terminated with signal SIGABRT, Aborted. #0 0x00000008008dd2ca in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x00000008008dd2ca in thr_kill () from /lib/libc.so.7 #1 0x00000008008dd29b in raise () from /lib/libc.so.7 #2 0x00000008008dd209 in abort () from /lib/libc.so.7 #3 0x00000008009293d1 in __assert () from /lib/libc.so.7 #4 0x0000000000400d79 in main () at /home/ngie/fmemopen2_test.c:94 (gdb) list 94 89 rc = fseek(fp, 0, SEEK_SET); 90 ATF_REQUIRE(rc == 0); 91 92 /* Make sure we're at the beginning. */ 93 pos = ftell(fp); 94 ATF_REQUIRE(pos == 0); 95 96 /* Read the whole buffer. */ 97 nofr = fread(str3, 1, sizeof(buf), fp); 98 ATF_REQUIRE(nofr == sizeof(str3)); (gdb) frame 4 (gdb) p *fp $1 = {_p = 0x800bb60b7 "", _r = 0, _w = 0, _flags = 282, _file = -1, _bf = {_base = 0x800bb60b7 "", _size = 1}, _lbfsize = 0, _cookie = 0x800e15000, _close = 0x80086dd50, _read = 0x80086dc10, _seek = 0x80086dce0, _write = 0x80086dc60, _ub = {_base = 0x0, _size = 0}, _up = 0x0, _ur = 0, _ubuf = "\000\000", _nbuf = "", _lb = {_base = 0x0, _size = 0}, _blksize = 0, _offset = 0, _fl_mutex = 0x0, _fl_owner = 0x0, _fl_count = 0, _orientation = -1, _mbstate = {__mbstate8 = '\000' , _mbstateL = 0}, _flags2 = 0} (gdb) p pos $2 = 44 -- You are receiving this mail because: You are the assignee for the bug.