brandenburgmk | 1 Feb 2010 01:10
Picon

port-amd64/42713: obconf segfaults on startup

>Number:         42713
>Category:       port-amd64
>Synopsis:       obconf segfaults on startup
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 01 00:10:00 +0000 2010
>Originator:     Martin Brandenburg
>Release:        5.0.1
>Organization:
>Environment:
NetBSD work1.local 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009 
builds <at> b7.netbsd.org:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Obconf segfaults on startup after compilation from pkgsrc

Here is a backtrace from gdb:

#0  0x00007f7ffcc0f855 in g_object_type_init ()
   from /usr/pkg/lib/libgobject-2.0.so.0
#1  0x00007f7ffb137876 in gtk_link_button_new_with_label ()
   from /usr/pkg/lib/libgtk-x11-2.0.so.0
#2  0x00007f7ffb139022 in gtk_list_store_set_valist ()
   from /usr/pkg/lib/libgtk-x11-2.0.so.0
#3  0x00007f7ffb139128 in gtk_list_store_set ()
(Continue reading)

dholland | 1 Feb 2010 04:40
Picon

Re: kern/42241 (Problems with AIO and Samba)

Synopsis: Problems with AIO and Samba

State-Changed-From-To: feedback->open
State-Changed-By: dholland <at> NetBSD.org
State-Changed-When: Mon, 01 Feb 2010 03:40:32 +0000
State-Changed-Why:
still fails

www.NetBSD.org update | 1 Feb 2010 21:01
Picon

NetBSD Nightly Trouble Ticket Report

There are 4824 non-confidential bugs in 49 categories.

Category             critical  serious non-crit    TOTAL           Median TTC
bin                        19      227      331      577         27d 23:34:32
install                    15       40       46      101      8m  4d 01:52:23
kern                      236      861      493     1590      2m 12d 07:11:25
lib                         4       69       93      166         19d 14:55:27
misc                        4       36      128      168         10d 08:09:49
pkg                       112      606      703     1421         11d 15:59:03
port-acorn26                0        2        2        4             12:28:42
port-acorn32                1        3        3        7  1y  4m 28d 05:06:42
port-alpha                 18       34       17       69      6m  2d 21:55:21
port-amd64                  5       12        9       26      3m  5d 21:57:28
port-amiga                  2        7        8       17      1m  4d 23:54:21
port-arc                    0        1        0        1  3y  4m 25d 19:05:35
port-arm                    1        5        2        8      3m  6d 22:45:01
port-atari                  2        2        3        7         15d 02:38:37
port-cats                   0        2        0        2      3m 23d 06:15:06
port-evbarm                 1        1        4        6      8m  9d 16:19:15
port-evbmips                0        3        3        6      2m 24d 18:32:41
port-evbppc                 3        0        0        3      4m 19d 14:47:50
port-hp300                  1        0        1        2         18d 05:04:38
port-hp700                  1        1        0        2      7m  6d 11:44:41
port-hpcarm                 3        1        2        6      4m 28d 01:42:18
port-hpcmips                4        8        9       21         25d 10:54:43
port-hpcsh                  1        1        2        4      4m  1d 17:29:07
port-i386                  34       82       70      186      6m  9d 18:06:14
port-ia64                   0        0        1        1                  n/a
port-ibmnws                 1        0        0        1                  n/a
port-iyonix                 1        0        0        1                  n/a
(Continue reading)

henning.petersen | 2 Feb 2010 10:40
Picon
Favicon

port-algor/42716: Buffer overrun in algor_p6032_intr.c

>Number:         42716
>Category:       port-algor
>Synopsis:       Buffer overrun  in algor_p6032_intr.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-algor-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 09:40:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Buffer overrun found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.16 algor_p6032_intr.c
--- sys/arch/algor/algor/algor_p6032_intr.c	26 May 2008 15:59:29 -0000	1.16
+++ sys/arch/algor/algor/algor_p6032_intr.c	2 Feb 2010 09:14:05 -0000
 <at>  <at>  -198,7 +198,7  <at>  <at> 
 	}
 	evcnt_attach_static(&mips_int5_evcnt);

-	for (i = 0; i <= NIRQMAPS; i++) {
+	for (i = 0; i < NIRQMAPS; i++) {
 		irqmap = &p6032_irqmap[i];
(Continue reading)

henning.petersen | 2 Feb 2010 10:45
Picon
Favicon

port-atari/42717: Buffer overrun in clock.c

>Number:         42717
>Category:       port-atari
>Synopsis:       Buffer overrun  in clock.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-atari-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 09:45:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Buffer overrun found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.50 clock.c
--- sys/arch/atari/dev/clock.c	23 Aug 2009 13:46:48 -0000	1.50
+++ sys/arch/atari/dev/clock.c	2 Feb 2010 09:01:15 -0000
 <at>  <at>  -549,7 +549,7  <at>  <at> 
 	MC146818_GETTOD(RTC, &clkregs);
 	splx(s);

-	sprintf(buffer, "%4d%02d%02d%02d%02d.%02d\n",
+	sprintf(buffer, "%4d%02d%02d%02d%02d.%02d",
 	    clkregs[MC_YEAR] + GEMSTARTOFTIME,
(Continue reading)

henning.petersen | 2 Feb 2010 10:50
Picon
Favicon

kern/42718: Missing parenthesis in sys/dev/pci/if_de.c

>Number:         42718
>Category:       kern
>Synopsis:       Missing parenthesis in sys/dev/pci/if_de.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 09:50:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing parenthesis found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.135 if_de.c
--- sys/dev/pci/if_de.c	19 Jan 2010 22:07:00 -0000	1.135
+++ sys/dev/pci/if_de.c	2 Feb 2010 09:11:00 -0000
 <at>  <at>  -3760,7 +3760,7  <at>  <at> 
 #if defined(__NetBSD__)
 		(*ifp->if_input)(ifp, ms);
 #else
-		m_adj(ms, sizeof(struct ether_header);
+		m_adj(ms, sizeof(struct ether_header));
 		ether_input(ifp, &eh, ms);
(Continue reading)

henning.petersen | 2 Feb 2010 10:55
Picon
Favicon

kern/42719: Missing parameter in if_il.c

>Number:         42719
>Category:       kern
>Synopsis:       Missing parameter in if_il.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 09:55:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing parameter found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.24 if_il.c
--- sys/dev/qbus/if_il.c	12 May 2009 14:43:33 -0000	1.24
+++ sys/dev/qbus/if_il.c	2 Feb 2010 09:18:53 -0000
 <at>  <at>  -444,7 +444,8  <at>  <at> 
 		char bits[64];

 		snprintb(bits, sizeof(bits), IL_BITS, IL_RCSR(IL_CSR));
-		aprint_error_dev(&sc->sc_dev, "stray xmit interrupt, csr=%s\n",
+		aprint_error_dev(&sc->sc_dev,
+			 	"stray xmit interrupt, csr=%s\n", bits);
(Continue reading)

henning.petersen | 2 Feb 2010 11:00
Picon
Favicon

kern/42721: Missing defined COMPAT13 and COMPAT50 in uvm_swap.c

>Number:         42721
>Category:       kern
>Synopsis:       Missing defined COMPAT13 and COMPAT50 in uvm_swap.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 10:00:01 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing defined COMPAT13 and COMPAT50 in uvm_swap.c found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.147 uvm_swap.c
--- sys/uvm/uvm_swap.c	21 Oct 2009 21:12:07 -0000	1.147
+++ sys/uvm/uvm_swap.c	2 Feb 2010 08:42:14 -0000
 <at>  <at>  -788,6 +788,8  <at>  <at> 
 				memcpy(&sep50->se50_path, sdp->swd_path,
 				       sizeof sep50->se50_path);
 				sep = (struct swapent *)(sep50 + 1);
+#endif
+#if defined(COMPAT_13) || defined(COMPAT_50) 
 			}
(Continue reading)

henning.petersen | 2 Feb 2010 11:00
Picon
Favicon

port-powerpc/42720: Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c

>Number:         42720
>Category:       port-powerpc
>Synopsis:       Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 10:00:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing printf in sys/compat/linux/arch/powerpc/linux_machdep.c found by cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.40 linux_machdep.c
--- sys/compat/linux/arch/powerpc/linux_machdep.c	23 Nov 2009 00:46:07 -0000	1.40
+++ sys/compat/linux/arch/powerpc/linux_machdep.c	1 Dec 2009 09:38:24 -0000
 <at>  <at>  -302,6 +302,7  <at>  <at> 

 	tf = trapframe(l);
 #ifdef DEBUG_LINUX
+	printf("linux_sys_sigreturn: trapframe=0x%lx scp=0x%lx\n",
 	    (unsigned long)tf, (unsigned long)scp);
 #endif
(Continue reading)

Thomas Klausner | 2 Feb 2010 16:00
Picon

PR/42718 CVS commit: src/sys/dev/pci

The following reply was made to PR kern/42718; it has been noted by GNATS.

From: Thomas Klausner <wiz <at> netbsd.org>
To: gnats-bugs <at> gnats.NetBSD.org
Cc: 
Subject: PR/42718 CVS commit: src/sys/dev/pci
Date: Tue, 2 Feb 2010 14:57:45 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Tue Feb  2 14:57:45 UTC 2010

 Modified Files:
 	src/sys/dev/pci: if_de.c

 Log Message:
 Add missing parentheses, found by cppcheck and reported by
 Henning Petersen in PR 42718.

 
 To generate a diff of this commit:
 cvs rdiff -u -r1.135 -r1.136 src/sys/dev/pci/if_de.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


Gmane