OK thanks for everyone who commented on the isainfo topic.

I am running ztest under dbx control now ( added the -mt option as well).

After running for a while, it dies with the message: 
Running: ztest 
(process id 103450)
child died with signal 5.

Bringing up the core:

Corefile specified executable: "/usr/bin/amd64/ztest"
core file header read successfully
t at 530 (l at 530) terminated by signal TRAP (breakpoint trap)
0xfffffd7fff3c8e29: rtld_db_dlactivity+0x0001:  movq     %rsp,%rbp
Current function is gzip_compress
   46           if (z_compress_level(d_start, &dstlen, s_start, s_len, n) != 
Z_OK) {
(dbx 11) where
current thread: t at 530
  [1] rtld_db_dlactivity(0xfffffd7fff3fb1e0, 0x3, 0x1, 0xfffffd7fff3feac8, 
0xfffffd7fff3c8e28, 0xfffffd7fff360800), at 0xfffffd7fff3c8e29 
  [2] 0x40(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x40 
  [3] lm_move(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3ca5f5 
  [4] relocate_lmc(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3bc0e4 
  [5] elf_lazy_load(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3c08de 
  [6] _lookup_sym(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3bf96c 
  [7] lookup_sym(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3bfdf3 
  [8] elf_bndr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3d70b1 
  [9] elf_rtbndr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3bb4d4 
  [10] 0xfffffd7fff350030(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff350030 
  [11] 0xfffffd7fff350030(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff350030 
=>[12] gzip_compress(s_start = 0x40ef800, d_start = 0x4a23400, s_len = 1024U, 
d_len = 512U, n = 3), line 46 in "gzip.c"
  [13] zio_compress_data(cpfunc = 7, src = 0x40ef800, srcsize = 1024U, destp = 
0xfffffd7fec082ee8, destsizep = 0xfffffd7fec082ed8, destbufsizep = 
0xfffffd7fec082ed0), line 115 in "zio_compress.c"
  [14] zio_write_bp_init(zio = 0x6305640), line 907 in "zio.c"
  [15] zio_execute(zio = 0x6305640), line 1051 in "zio.c"
  [16] taskq_thread(arg = 0x4aad00), line 157 in "taskq.c"
  [17] _thrp_setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffab4eb85 
  [18] _lwp_start(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffab4ee40 

I have no breakpoints set in the code,
Ztest runs to completion when not under dbx control.   
but when run from the debugger,  it always terminates with the above stack.
I tried to catch or ignore the signal, or all signals from dbx, makes no 
difference.
Any suggestions what is happening here?

I a considering 2 possibilities:

1) dbx is reacting to ztest threads getting killed?
2) This is a bona fide crash, but dbx is interpreting it incorrectly.

TIA for any insights.

Steve
-- 
This message posted from opensolaris.org

Reply via email to