Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 10:42:52 -0400 (EDT)
From:      george+freebsd@m5p.com
To:        freebsd-arm@freebsd.org
Subject:   Raspberry Pi crashes in random()
Message-ID:  <201309251442.r8PEgq5J013369@m5p.com>

next in thread | raw e-mail | index | archive | help
I'm getting segmentation faults in libc's "random" when called
from fc-cache and fc-list and friends from the x11/fontconfig
port.  Is anyone else seeing this?  Would copies of the core
dumps help?

Separately, my RPi is getting regular fatal kernel mode prefetch
abort at 0x201dcab0 crashes while I'm trying to build print/cups.
You can see a whole bunch of them at http://www.m5p.com/~george/pi/.
They all have the same call traceback and crash at the same address,
though with different register values.                  -- George

/usr/src svn info:
Path: .
Working Copy Root Path: /ad4s1/usr/src
URL: svn://svnmirror/base/head
Relative URL: ^/head
Repository Root: svn://svnmirror/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255361
Node Kind: directory
Schedule: normal
Last Changed Author: andrew
Last Changed Rev: 255361
Last Changed Date: 2013-09-07 10:04:10 -0400 (Sat, 07 Sep 2013)

/usr/src svn diff:
Index: sys/arm/conf/RPI-B
===================================================================
--- sys/arm/conf/RPI-B	(revision 255361)
+++ sys/arm/conf/RPI-B	(working copy)
@@ -66,11 +66,11 @@
 device		pty
 
 # Comment following lines for boot console on serial port
-device		sc
-device		kbdmux
-options         SC_DFLT_FONT    # compile font in
-makeoptions     SC_DFLT_FONT=cp437
-device		ukbd
+# device		sc
+# device		kbdmux
+# options         SC_DFLT_FONT    # compile font in
+# makeoptions     SC_DFLT_FONT=cp437
+# device		ukbd
 
 device		sdhci
 device		mmc
Index: sys/boot/common/dev_net.c
===================================================================
--- sys/boot/common/dev_net.c	(revision 255361)
+++ sys/boot/common/dev_net.c	(working copy)
@@ -325,7 +325,7 @@
 #endif
 
 	d = socktodesc(sock);
-	sprintf(temp, "%6D", d->myea, ":");
+	sprintf(temp, "%02x:%02x:%02x:%02x:%02x:%02x", d->myea[0], d->myea[1], d->myea[2], d->myea[3], d->myea[4], d->myea[5]);
 	setenv("boot.netif.ip", inet_ntoa(myip), 1);
 	setenv("boot.netif.netmask", intoa(netmask), 1);
 	setenv("boot.netif.gateway", inet_ntoa(gateip), 1);

/etc/src.conf:
MALLOC_PRODUCTION=yes

/etc/make.conf:
WITH_PKGNG=yes
MALLOC_PRODUCTION=yes
# added by use.perl 2013-08-20 10:11:49
PERL_VERSION=5.14.4

/usr/ports svn info:
Path: .
Working Copy Root Path: /usr/local/pi/ports
URL: svn://svnmirror/ports/head
Relative URL: ^/head
Repository Root: svn://svnmirror/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 326306
Node Kind: directory
Schedule: normal
Last Changed Author: tj
Last Changed Rev: 326306
Last Changed Date: 2013-09-04 14:04:48 -0400 (Wed, 04 Sep 2013)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251442.r8PEgq5J013369>