Skip site navigation (1)Skip section navigation (2)
Date:      28 Oct 1998 09:32:39 +0100
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   How do I debug this?
Message-ID:  <87af2hccig.fsf@tibatong.ihf.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Moin,

I have a problem debugging the latest windowmaker. It dumps core on
receiving SIGBUS before executing main(). A ktrace excerpt looks like:

[...]
  9572 wmaker   CALL  open(0x20094000,0,0)
  9572 wmaker   NAMI  "/usr/X11R6/lib/libX11.so.6.1"
  9572 wmaker   RET   open 4
  9572 wmaker   CALL  read(0x4,0xefbfd8b4,0x20)
  9572 wmaker   GIO   fd 4 read 32 bytes
       "Ì\0\M^FÀ\0À\b\0\0P\0\0\0\0\0\0L×\0\0 \0\0\0\0\0\0\0\0\0\0\0"
  9572 wmaker   RET   read 32/0x20
  9572 wmaker   CALL  mmap(0,0x91000,0x5,0x2,0x4,0,0,0)
  9572 wmaker   RET   mmap 538202112/0x20145000
  9572 wmaker   CALL  close(0x4)
  9572 wmaker   RET   close 0
  9572 wmaker   CALL  mprotect(0x201d1000,0x5000,0x7)
  9572 wmaker   RET   mprotect 0
  9572 wmaker   CALL  mmap(0x201d6000,0,0x7,0x1012,0xffffffff,0,0,0)
  9572 wmaker   RET   mmap 538796032/0x201d6000
  9572 wmaker   CALL  stat(0x200998c3,0xefbfd8ac)
  9572 wmaker   NAMI  "/usr/lib/libm.so.2.0"
  9572 wmaker   RET   stat 0
  9572 wmaker   CALL  stat(0x2009900b,0xefbfd8ac)
  9572 wmaker   NAMI  "/usr/lib/libc.so.3.1"
  9572 wmaker   RET   stat 0
  9572 wmaker   CALL  stat(0x200920a0,0xefbfd8d4)
  9572 wmaker   NAMI  "/usr/lib/libc.so.3.1"
  9572 wmaker   RET   stat 0
  9572 wmaker   CALL  open(0x200920a0,0,0)
  9572 wmaker   NAMI  "/usr/lib/libc.so.3.1"
  9572 wmaker   RET   open 4
  9572 wmaker   CALL  read(0x4,0xefbfd8b4,0x20)
  9572 wmaker   GIO   fd 4 read 32 bytes
       "Ì\0\M^FÀ\0Ð\^E\0\0@\0\0TÌ\0\0\M^\3\0\0 \0\0\0\0\0\0\0\0\0\0\0"
  9572 wmaker   RET   read 32/0x20
  9572 wmaker   CALL  mmap(0,0x6dc54,0x5,0x2,0x4,0,0,0)
  9572 wmaker   RET   mmap 538796032/0x201d6000
  9572 wmaker   CALL  close(0x4)
  9572 wmaker   RET   close 0
  9572 wmaker   CALL  mprotect(0x20233000,0x4000,0x7)
  9572 wmaker   RET   mprotect 0
  9572 wmaker   CALL  mmap(0x20237000,0xcc54,0x7,0x1012,0xffffffff,0,0,0)
  9572 wmaker   RET   mmap 539193344/0x20237000
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   CSW  stop kernel
  9572 wmaker   CSW  resume kernel
  9572 wmaker   PSIG  SIGBUS SIG_DFL
  9572 wmaker   NAMI  "wmaker.core"
[...]

The core dump doesn't give (me) any useful information.

Any ideas?

tg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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