[Bug 182170] strtofflags.c build failures

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=182170

Ngie Cooper  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|Open|Closed

--- Comment #4 from Ngie Cooper  ---
I'm going to dupe this bug to bug 196193 and mark this issue closed.

*** This bug has been marked as a duplicate of bug 196193 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215721] bsnmpwalk .1 spews out an uninitialized stream for an OID

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215721

Ngie Cooper  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|n...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215721] bsnmpwalk .1 spews out an uninitialized stream for an OID

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215721

Bug ID: 215721
   Summary: bsnmpwalk .1 spews out an uninitialized stream for an
OID
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: n...@freebsd.org

.1 is a common alias for the `iso` OID root. Unfortunately bsnmpwalk doesn't
like that -- in particular it claims the OID is too short and spews out a
stream of uninitialized memory. Example:

% bsnmpwalk .1 2>&1 | less
ASN.1: short oid at a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5
a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5
a5 a5 a5 a5 a5 ...
ASN.1: short oid at a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5
a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5
a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5 a5
...
bsnmpwalk: Snmp dialog: Invalid argument
%

valgrind claimed it was something to do with uninitialized heap space being
passed to asn_put_objid(..) from snmp_dialog(..):

ASN.1: short oid at==79003== Use of uninitialised value of size 8
==79003==at 0x5343CA5: ??? (in /lib/libc.so.7)
==79003==by 0x5341BB1: ??? (in /lib/libc.so.7)
==79003==by 0x5341A12: vfprintf_l (in /lib/libc.so.7)
==79003==by 0x5349F12: fprintf (in /lib/libc.so.7)
==79003==by 0x4E38D55: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E39D98: asn_put_objid (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E3800E: snmp_binding_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E38198: snmp_pdu_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E32593: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==  Uninitialised value was created by a heap allocation
==79003==at 0x4C246B0: malloc (in
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==79003==by 0x4E32548: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4022FFF: ???
==79003==
==79003== Conditional jump or move depends on uninitialised value(s)
==79003==at 0x5343CB4: ??? (in /lib/libc.so.7)
==79003==by 0x5341BB1: ??? (in /lib/libc.so.7)
==79003==by 0x5341A12: vfprintf_l (in /lib/libc.so.7)
==79003==by 0x5349F12: fprintf (in /lib/libc.so.7)
==79003==by 0x4E38D55: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E39D98: asn_put_objid (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E3800E: snmp_binding_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E38198: snmp_pdu_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E32593: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==  Uninitialised value was created by a heap allocation
==79003==at 0x4C246B0: malloc (in
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==79003==by 0x4E32548: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4022FFF: ???
==79003==

==79003== 19928 errors in context 1 of 2:
==79003== Conditional jump or move depends on uninitialised value(s)
==79003==at 0x5343CB4: ??? (in /lib/libc.so.7)
==79003==by 0x5341BB1: ??? (in /lib/libc.so.7)
==79003==by 0x5341A12: vfprintf_l (in /lib/libc.so.7)
==79003==by 0x5349F12: fprintf (in /lib/libc.so.7)
==79003==by 0x4E38D55: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E39D98: asn_put_objid (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E3800E: snmp_binding_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E38198: snmp_pdu_encode (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E32593: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==  Uninitialised value was created by a heap allocation
==79003==at 0x4C246B0: malloc (in
/usr/local/lib/valgrind/vgpreload_memcheck-amd64-freebsd.so)
==79003==by 0x4E32548: ??? (in /usr/lib/libbsnmp.so.6)
==79003==by 0x4E300E0: snmp_dialog (in /usr/lib/libbsnmp.so.6)
==79003==by 0x402AAB: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4020DE: ??? (in /usr/bin/bsnmpwalk)
==79003==by 0x4022FFF: ???
==79003== 

[Bug 215719] Scripts in /usr/share/dtrace/toolkit still use /usr/bin/perl

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215719

Bug ID: 215719
   Summary: Scripts in /usr/share/dtrace/toolkit still use
/usr/bin/perl
   Product: Base System
   Version: 10.3-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: misc
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: verma...@interia.pl

/usr/share/dtrace/toolkit % grep perl *
hotkernel:#!/usr/bin/perl -w
hotuser:#!/usr/bin/perl -w

/usr/share/dtrace % which perl
/usr/local/bin/perl

Shouldn't that be /usr/local/bin/perl instead of /usr/bin/perl?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215600] devel/powerpc64-gcc based buildkernel: sys/powerpc/powerpc/db_trace.c rejected for: '__builtin_frame_address' with a nonzero argument is unsafe

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215600

--- Comment #2 from Mark Millard  ---
[Just recording John Baldwin's note about the issue in bugzilla.]

In:

https://lists.freebsd.org/pipermail/freebsd-toolchain/2017-January/002542.html

John Baldwin wrote the following:


From: John Baldwin . . .
. . .
Date: January 2, 2017 at 8:07:57 AM PST
. . .
Try using '0' instead of '1'.  You might get an extra frame in the backtrace
compared to before.  A simple way to test is to add 'options KDB_TRACE' and
then trigger a panic (e.g. sysctl debug.kdb.panic=1)


Side note by Mark Millard:

I've no clue if this is the direction that the powerpc64 (and powerpc)
FreeBSD folks want to go/investigate for the compiler's report or not.

As stands I'm using WERROR= to allow the buildkernel to complete.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215716] [altq] pfctl: DIOCADDALTQ: Cannot allocate memory

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215716

Hiren Panchasara  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 146436] [cpufreq] [panic] Panic when changing profile to economy

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=146436

Hiren Panchasara  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd-a...@freebsd.org
Version|8.0-STABLE  |11.0-RELEASE

--- Comment #2 from Hiren Panchasara  ---
This may not be the same bug as original report. Hopefully someone on acpi@ can
help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215715] cond_test:cond_timedwait_race crashes with SIGSEGV periodically when calling binuptime

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215715

--- Comment #3 from Ngie Cooper  ---
Created attachment 178455
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178455=edit
test program, corefile, and debug symbols

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215716] [altq] pfctl: DIOCADDALTQ: Cannot allocate memory

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215716

Bug ID: 215716
   Summary: [altq] pfctl: DIOCADDALTQ: Cannot allocate memory
   Product: Base System
   Version: 11.0-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: dgilb...@eicat.ca

I have a machine with 32G physical RAM that's trying to run the following
pf.conf:

scrub in all

altq on tun20 cbq bandwidth 20Mb queue { std_out, sip_out, dns_out,
tcp_ack_out, rtp_out }

queue rtp_out bandwidth 1Mb priority 5 cbq(borrow)
queue tcp_ack_out bandwidth 1Mb priority 4 cbq(borrow)
queue dns_out bandwidth 1Mb priority 3 cbq(borrow)
queue sip_out bandwidth 1Mb priority 2 cbq(borrow)
queue std_out bandwidth 16Mb priority 1 cbq(ecn, default, borrow)

pass in quick on tun20 proto udp from any to any tos 46 queue rtp_out
pass in quick on tun20 proto udp from any to any tos 26 queue sip_out
pass in quick on tun20 proto {udp, tcp} from any port 53 to any queue (dns_out,
tcp_ack_out)
pass in quick on tun20 from to any queue (std_out, tcp_ack_out)

... which isn't too much to ask.  Pretty much the same table is being used by a
10.3 host controlling the other end of the connection (changing 20Mb for 9 Mb,
for instance).  But on the 11.0 machine (and on 11-STABLE) it gives:

pfctl: DIOCADDALTQ: Cannot allocate memory

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 215715] cond_test:cond_timedwait_race crashes with SIGSEGV periodically when calling binuptime

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215715

Ngie Cooper  changed:

   What|Removed |Added

Summary|cond_test:cond_timedwait_ra |cond_test:cond_timedwait_ra
   |ce crashes with SIGSEGV |ce crashes with SIGSEGV
   |periodically|periodically when calling
   ||binuptime
  Component|tests   |bin
   Assignee|freebsd-test...@freebsd.org |freebsd-bugs@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 146436] [cpufreq] [panic] Panic when changing profile to economy

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=146436

cyril.elk...@free.fr changed:

   What|Removed |Added

 CC||cyril.elk...@free.fr

--- Comment #1 from cyril.elk...@free.fr ---
Hi,

I have the same bug with my netbook (a compaq mini 1000) when I pull the plug.
The machine runs on battery for 10-12 minutes then reboot almost every time. I
was able to get a trace in the log during the reboot following the crash. My
machine runs the latest FreeBSD 11 with all the patches applied.

Hope this may help,

Cyril Elkaim

Jan  1 21:50:01 citron power_profile: changed to 'economy'
Jan  1 22:12:28 citron syslogd: kernel boot file is /boot/kernel/kernel
Jan  1 22:12:28 citron kernel: panic: worklist_remove: 0xc7480e00
allocindir(0x5) not on list
Jan  1 22:12:28 citron kernel: cpuid = 0
Jan  1 22:12:28 citron kernel: KDB: stack backtrace:
Jan  1 22:12:28 citron kernel: #0 0xc0d6594f at kdb_backtrace+0x4f
Jan  1 22:12:28 citron kernel: #1 0xc0d15515 at vpanic+0x115
Jan  1 22:12:28 citron kernel: #2 0xc0d153fb at panic+0x1b
Jan  1 22:12:28 citron kernel: #3 0xc104f966 at
softdep_disk_write_complete+0x18c6
Jan  1 22:12:28 citron kernel: #4 0xc0ddab76 at bufdone_finish+0x26
Jan  1 22:12:28 citron kernel: #5 0xc0ddaa12 at bufdone+0x62
Jan  1 22:12:28 citron kernel: #6 0xc0de41d8 at cluster_callback+0x58
Jan  1 22:12:28 citron kernel: #7 0xc0ddaa08 at bufdone+0x58
Jan  1 22:12:28 citron kernel: #8 0xc0c446d1 at g_vfs_done+0x351
Jan  1 22:12:28 citron kernel: #9 0xc0c3fe61 at g_io_deliver+0x311
Jan  1 22:12:28 citron kernel: #10 0xc0c43bfc at g_std_done+0x6c
Jan  1 22:12:28 citron kernel: #11 0xc0c3fe61 at g_io_deliver+0x311
Jan  1 22:12:28 citron kernel: #12 0xc0c3c957 at g_disk_done+0x1d7
Jan  1 22:12:28 citron kernel: #13 0xc0508f34 at adadone+0x11b4
Jan  1 22:12:28 citron kernel: #14 0xc04daa90 at xpt_done_process+0x910
Jan  1 22:12:28 citron kernel: #15 0xc04dd5b4 at xpt_done_td+0x1a4
Jan  1 22:12:28 citron kernel: #16 0xc0cc2e81 at fork_exit+0x71
Jan  1 22:12:28 citron kernel: Copyright (c) 1992-2016 The FreeBSD Project.
Jan  1 22:12:28 citron kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Jan  1 22:12:28 citron kernel: The Regents of the University of California. All
rights reserved.
Jan  1 22:12:28 citron kernel: FreeBSD is a registered trademark of The FreeBSD
Foundation.
Jan  1 22:12:28 citron kernel: FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29
03:40:55 UTC 2016
Jan  1 22:12:28 citron kernel:
r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Jan  1 22:12:28 citron kernel: FreeBSD clang version 3.8.0
(tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Jan  1 22:12:28 citron kernel: VT(vga): resolution 640x480
Jan  1 22:12:28 citron kernel: CPU: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
(1596.04-MHz 686-class CPU)
Jan  1 22:12:28 citron kernel: Origin="GenuineIntel"  Id=0x106c2  Family=0x6 
Model=0x1c  Stepping=2
Jan  1 22:12:28 citron kernel:
Features=0xbfe9fbff
Jan  1 22:12:28 citron kernel:
Features2=0x40c39d
Jan  1 22:12:28 citron kernel: AMD Features=0x10
Jan  1 22:12:28 citron kernel: AMD Features2=0x1
Jan  1 22:12:28 citron kernel: TSC: P-state invariant, performance statistics
Jan  1 22:12:28 citron kernel: real memory  = 2147483648 (2048 MB)
Jan  1 22:12:28 citron kernel: avail memory = 2068348928 (1972 MB)
Jan  1 22:12:28 citron kernel: Event timer "LAPIC" quality 400
Jan  1 22:12:28 citron kernel: ACPI APIC Table: <110708 APIC1432>
Jan  1 22:12:28 citron kernel: FreeBSD/SMP: Multiprocessor System Detected: 2
CPUs
Jan  1 22:12:28 citron kernel: FreeBSD/SMP: 1 package(s) x 2 hardware threads
Jan  1 22:12:28 citron kernel: random: unblocking device.
Jan  1 22:12:28 citron kernel: ioapic0: Changing APIC ID to 2
Jan  1 22:12:28 citron kernel: ioapic0  irqs 0-23 on motherboard
Jan  1 22:12:28 citron kernel: random: entropy device external interface
Jan  1 22:12:28 citron kernel: kbd1 at kbdmux0
Jan  1 22:12:28 citron kernel: module_register_init: MOD_LOAD (vesa,
0xc1295360, 0) error 19
Jan  1 22:12:28 citron kernel: vtvga0:  on motherboard
Jan  1 22:12:28 citron kernel: cryptosoft0:  on motherboard
Jan  1 22:12:28 citron kernel: acpi0: <110708 RSDT1432> on motherboard
Jan  1 22:12:28 citron kernel: acpi0: Power Button (fixed)
Jan  1 22:12:28 citron kernel: cpu0:  on acpi0
Jan  1 22:12:28 citron kernel: cpu1:  on acpi0
Jan  1 22:12:28 citron kernel: attimer0:  port 0x40-0x43 irq 0 on
acpi0
Jan  1 22:12:28 citron kernel: Timecounter "i8254" frequency 1193182 Hz quality
0
Jan  1 22:12:28 citron kernel: Event timer "i8254" frequency 1193182 Hz quality
100
Jan  1 22:12:28 citron kernel: atrtc0:  port 0x70-0x71 irq 8
on acpi0
Jan  1 22:12:28 

[Bug 215682] netstat --libxo invalid data output for tcp6 and udp6 socket ports using json/xml modes

2017-01-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215682

Hiren Panchasara  changed:

   What|Removed |Added

 CC||mar...@freebsd.org
   Assignee|freebsd-bugs@FreeBSD.org|freebsd-...@freebsd.org

--- Comment #1 from Hiren Panchasara  ---
+ Marcel, just in case he has some clue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"