From owner-freebsd-bugs@freebsd.org Tue Apr 24 20:46:35 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A645FB2D4A for ; Tue, 24 Apr 2018 20:46:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 015D070A78 for ; Tue, 24 Apr 2018 20:46:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B6444FB2D46; Tue, 24 Apr 2018 20:46:34 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BA60FB2D44 for ; Tue, 24 Apr 2018 20:46:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1958A70A55 for ; Tue, 24 Apr 2018 20:46:34 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3FF251EC4D for ; Tue, 24 Apr 2018 20:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3OKkXfG033679 for ; Tue, 24 Apr 2018 20:46:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3OKkXEp033676 for bugs@FreeBSD.org; Tue, 24 Apr 2018 20:46:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227552] w, uptime i386 cordeump Date: Tue, 24 Apr 2018 20:46:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gonzo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2018 20:46:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227552 --- Comment #9 from Oleksandr Tymoshenko --- xo_default_handle is passed as an argument to xo_init_handle so I added a breakpoint and checked its content. Since it's static it's supposed to be zero-initialized but instead there are a lot of garbage values. xo_default_handle is thread-local variable so it might be a contributing factor. root@freebsd:/home/gonzo # /usr/local/bin/gdb w GNU gdb (GDB) 8.1 [GDB v8.1 for FreeBSD] Copyright (C) 2018 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 "i386-portbld-freebsd11.1". 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 w...Reading symbols from /usr/lib/debug//usr/bin/w.debug...done. done. (gdb) break xo_init_handle Function "xo_init_handle" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (xo_init_handle) pending. (gdb) run Starting program: /usr/bin/w Breakpoint 1, xo_init_handle (xop=3D0x2806aff0) at /usr/src/contrib/libxo/libxo/libxo.c:640 640 xop->xo_opaque =3D stdout; (gdb) p *xop $1 =3D {xo_flags =3D 0, xo_iflags =3D 2883994737386192896, xo_style =3D 450= 72, xo_indent =3D 10246, xo_indent_by =3D 41472, xo_write =3D 0x1, xo_close =3D 0x280601ef <__pthread_cleanup_push_imp_int+31>, xo_flush =3D 0x2806b020, xo_formatter =3D 0x2806a400, xo_checkpointer =3D 0x5d, xo_opaque =3D 0x280601ef <__pthread_cleanup_push_imp_int+31>, xo_data =3D {xb_bufp =3D 0x2806b030 "@\260\006(", xb_curp =3D 0x2806a600 "z\270P\325\00= 1", xb_size =3D 161}, xo_fmt =3D {xb_bufp =3D 0x280601ef <__pthread_cleanup_push_imp_int+31> "\377\220\344\001", xb_curp =3D 0x2806b040 "", xb_size =3D 671524864}, xo_a= ttrs =3D { xb_bufp =3D 0x147 , xb_cu= rp =3D 0x280601ef <__pthread_cleanup_push_imp_int+31> "\377\220\344\001", xb_size = =3D 0}, xo_predicate =3D {xb_bufp =3D 0x2806aa00 "z\270P\325\001", xb_curp =3D 0x= 164 , xb_size =3D 671482351}, xo_stack =3D 0x2806c000, xo_depth =3D 0, xo_stack_size =3D 671506032, xo_= info =3D 0x280601ef <__pthread_cleanup_push_imp_int+31>, xo_info_count =3D 671527024, xo_vap =3D 0x2806ac00 "z\270P\325\001", xo_leading_xpath =3D 0x421 , xo_mbstate =3D { __mbstate8 =3D "\357\001\006(\000\000\000\000\000\252\006(-\004\000\000\357\001\006(\000\0= 00\000\000\000\252\006(\377\001\000\000\357\001\006(\240\260\006(\000\250\0= 06(f\t\000\000\357\001\006(\000\000\000\000\000\252\006(s\t\000\000\357\001= \006(\000\000\000\000\000\252\006(\030\n\000\000\357\001\006(\000\000\000\0= 00\000\252\006(q\005\000\000\357\001\006(\340\260\006(\000\240\006(\000\000= \000\000\357\001\006(\360\260\006(\000\242\006(\000\000\000", _mbstateL =3D 671482351}, xo_anchor_offset =3D 671482351, xo_anchor_columns =3D 671527168, xo_anchor_min_width =3D 671523840, xo_units_offset =3D 0, xo_columns =3D 67= 1482351, xo_color_map_fg =3D "\020\261\006(\000\246\006(", xo_color_map_bg =3D "\000\000\000\357\001\006( \261", xo_colors =3D {xoc_effects =3D 6 '\006', xoc_col_fg =3D 40 '(', xoc_col_bg =3D 0 '\000'}, xo_color_buf =3D {xb_bufp =3D 0x0, xb_curp = =3D 0x280601ef <__pthread_cleanup_push_imp_int+31> "\377\220\344\001", xb_size =3D 6715272= 16}, xo_version =3D 0x2806aa00 "z\270P\325\001", xo_errno =3D 0, xo_gt_domain = =3D 0x280601ef <__pthread_cleanup_push_imp_int+31> "\377\220\344\001", xo_encod= er =3D 0x0, xo_private =3D 0x2806ac00} (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.=