An Application Crashes with a SIGTRAP in rtld_db_dlactivity (Doc ID 1417344.1)

Last updated on AUGUST 03, 2016

Applies to:

Solaris Operating System - Version 10 3/05 to 11.2 [Release 10.0 to 11.0]
Information in this document applies to any platform.

Symptoms

An application crashed with a SIGTRAP in rtld_db_dlactivity from ld.so.1

Example output from dbx:

t@652 (l@652) terminated by signal TRAP (breakpoint trap)
0xff3c4aa8: rtld_db_dlactivity       :  mov      %o7, %o2
(dbx) where
current thread: t@652
=>[1] rtld_db_dlactivity(0xff3f40fc, 0xdd3916f4, 0xdd3918f8, 0xff3f4910, 0x0, 0x18164), at 0xff3c4aa8
 [2] rd_event(0xff3f40fc, 0x0, 0x1, 0xff3c4aa8, 0x2fd78, 0x0), at 0xff3c4c68
 [3] lm_move(0xff3f40fc, 0x1c, 0xc, 0xff3f6efc, 0xff3f6eec, 0x2000), at 0xff3c60c4
 [4] relocate_lmc(0xff3f40fc, 0x1c, 0xff3f6eec, 0x0, 0x1, 0x1), at 0xff3b8f94
 [5] dlmopen_core(0xff3f40fc, 0xfe4e0690, 0x10000, 0xff180ed8, 0x0, 0xfe4e07a0), at 0xff3cade4
 [6] dlmopen_intn(0xff3f40fc, 0xd2a7a520, 0xc01, 0xff180ed8, 0x0, 0x0), at 0xff3caf78
 [7] dlmopen_check(0xff3f40fc, 0xd2a7a520, 0xc01, 0xff180ed8, 0xd2a7a4bc, 0x7ffffff1), at 0xff3cb138
 [8] _dlopen(0xd2a7a520, 0x1, 0x1, 0x1, 0xff0000, 0xe), at 0xff3cb178
[...]


Example output from mdb:

> ::status
[...]
status: process terminated by SIGTRAP (Trace/Breakpoint Trap)
> $G
C++ symbol demangling enabled
> $C

d2a7a208 ld.so.1`rtld_db_dlactivity(ff3f40fc, 0, 1, ff3c4aa8, 2fd78, 0)
d2a7a268 ld.so.1`lm_move+0x3c(ff3f40fc, 1c, c, ff3f6efc, ff3f6eec, 2000)
d2a7a2c8 ld.so.1`relocate_lmc+0xe0(ff3f40fc, 1c, ff3f6eec, 0, 1, 1)
d2a7a330 0xff3cade4(ff3f40fc, fe4e0690, 10000, ff180ed8, 0, fe4e07a0)
d2a7a398 ld.so.1`dlmopen_intn+0x114(ff3f40fc, d2a7a520, c01, ff180ed8, 0, 0)
d2a7a3f8 0xff3cb138(ff3f40fc, d2a7a520, c01, ff180ed8, d2a7a4bc, 7ffffff1)
d2a7a458 ld.so.1`dlopen+0x30(d2a7a520, 1, 1, 1, ff0000, e)
d2a7a4c0 0xfe3e2594(0, fe80aa54, f8fbb248, fec61034, fe4b03c0, fe4b03c0)
d2a7a560 0xfe3de188(d2a7a674, fec60908, 0, 0, fec60910, fec61018)
d2a7a5c0 libc.so.1`nss_search+0x120(10, fe4b3a60, f8fbaa80, 4, fe4ba4a4, 1)
d2a7a630 libnsl.so.1`_switch_getipnodebyname_r+0x60(d2a7a860, a7b6408, a7b641c, 2120, 2, 0)
d2a7a6c8 libnsl.so.1`_get_hostserv_inetnetdir_byname+0x898(6, d2a7a7c8, d2a7a7c0, 0, d2a7a75c, d2a7a7cc)
d2a7a760 libnsl.so.1`getipnodebyname+0xf4(d2a7a860, 2, 0, d2a7a84c, 1a, 2120)
[...]

 

Changes

The problem can occur only if debugging tools are used. For example:

The problem is more likely to occur when

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms