On Tue, 10 Apr 2012, Richard Lowe wrote:

openindiana% mdb

<rip/i

0:              addb   %al,(%rax)

You forgot to specify the core file when you ran mdb.

Darn!  Hopefully this is better:

$ mdb core
mdb: core file data for mapping at ffffdd7fff7ae000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff7b2000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff7c0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff7d0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff7e0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff87c000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff87f000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff890000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff8a0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff8c1000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff8d0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff8e0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff963000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff970000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff980000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff9ab000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff9b0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff9c0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff9d0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fff9e0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffb74000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffb81000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffb90000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffba0000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd3c000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd49000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd50000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd60000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd70000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd80000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd90000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffd93000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffdfa000 not saved: Interrupted 
system call
mdb: core file data for mapping at ffffdd7fffdfd000 not saved: Interrupted 
system call
mdb: core file data for mapping at fffffd7fffdfd000 not saved: Interrupted 
system call
mdb: warning: librtld_db failed to initialize; shared library information will 
not be available
Loading modules: [ ld.so.1 ]
<rip/i
FormatSize+0x14:vmovsd +0x2b58ac(%rip),%xmm1    <0x73bb08>


$ gdb constitute core
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.11"...
Cannot access memory at address 0xffffdd7fffdfa008
(gdb) bt
#0  0x0000000000486254 in FormatSize (size=256, format=0xfffffd7fffdfdff0 <Address 
0xfffffd7fffdfdff0 out of bounds>) at ../GraphicsMagick/magick/utility.c:1828
Cannot access memory at address 0xfffffd7fffdfdfd8
(gdb) quit

It seems that the crash occurs in a simple routine which is attempting to read an enumeration value from the stack.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to