How to know which file(s) were opened by a process at the time of crash?
edited Feb 17, 2014 11:43AM in Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC) 3 comments
Hi experts,
Does anyone knows, given a process core dump, how I can get the list of files were opened by this particular process at the time of crash? For example,
[sbpsvrwm321] # mdb core_sbpsvrwm321_rwsrv_11235_8320_1387466542_18032 Loading modules: [ ld.so.1 libc.so.1 libuutil.so.1 ] > ::showrev Hostname: sbpsvrwm321 Release: 5.10 Kernel architecture: i86pc Application architecture: amd64 Kernel version: SunOS 5.10 i86pc Generic_147148-26 Platform: i86pc > ::status debugging core file of rwsrv (64-bit) from sbpsvrwm321 file: /opt/bns/alre/Algo/AlgoOne/rw/bin/rwsrv initial argv: /opt/bns/alre/Algo/AlgoOne/rw/bin/rwsrv --host-group-name localhost -S default threading model: multi-threaded status: process terminated by SIGSEGV (Segmentation Fault) > $C fffffd7ff0e89b60 LiquidityAnalytics.so`Payment algo::la::CollateralPoolSecurityFlow::calculateAt+0x182() fffffd7ff0e89b90 LiquidityAnalytics.so`double algo::la::NE_FSALiquidityReports::WorkData::value+0x1f() fffffd7ff0e89bd0 LiquidityAnalytics.so`void algo::la::NE_FSALiquidityReports::value+0x3c()
0