arlad dumps, SPARC Solaris 2.7

Assar Westerlund assar at stacken.kth.se
Sat Mar 11 05:15:09 CET 2000


Jon Leonard <jbwl+ at krusty.si.umich.edu> writes:
> (gdb) bt
> #0  0xef556870 in _libc_kill () from /usr/lib/libc.so.1
> #1  0xef4f92e0 in abort () from /usr/lib/libc.so.1
> #2  0x6f840 in IOMGR (dummy=0x0) at iomgr.c:388
> #3  0x6ce90 in Create_Process_Part2 () at lwp.c:629
> #4  0x6e6c0 in L1 ()
> #5  0x6fefc in IOMGR_Initialize () at iomgr.c:570
> #6  0x6e67c in savecontext ()
> (gdb) quit
> 
> If anyone wants more information, let me know.

Can you try the appended patch and tell us how it goes?  Thanks.

/assar

Index: xfs/solaris/xfs_dev.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/solaris/xfs_dev.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -u -w -r1.15 -r1.16
--- xfs/solaris/xfs_dev.c	2000/01/07 10:05:13	1.15
+++ xfs/solaris/xfs_dev.c	2000/03/11 03:21:36	1.16
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan
  * (Royal Institute of Technology, Stockholm, Sweden).
  * All rights reserved.
  * 
@@ -44,7 +44,7 @@
 #include <xfs/xfs_deb.h>
 #include <xfs/nxfs.h>
 
-RCSID("$Id: xfs_dev.c,v 1.15 2000/01/07 10:05:13 lha Exp $");
+RCSID("$Id: xfs_dev.c,v 1.16 2000/03/11 03:21:36 assar Exp $");
 
 /*
  * Queues of xfs_links hold outbound messages and processes sleeping
@@ -295,12 +295,15 @@
 {
   struct xfs_channel *chan;
 
-  XFSDEB(XDEBDEV, ("xfs_devselect dev = %ld, events = %d, anyyet = %d\n",
+  XFSDEB(XDEBDEV, ("xfs_chpoll dev = %ld, events = %d, anyyet = %d\n",
 		   dev, events, anyyet));
 
   chan = (struct xfs_channel *)ddi_get_soft_state(xfs_dev_state, getminor(dev));
   if (chan == NULL)
       return ENXIO;
+
+  *reventsp = 0;
+  *phpp = NULL;
 
   if (!(events & POLLRDNORM))
       return 0;





More information about the Arla-drinkers mailing list