{"id":2612,"date":"2012-04-27T12:37:11","date_gmt":"2012-04-27T09:37:11","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2612"},"modified":"2015-05-29T14:13:25","modified_gmt":"2015-05-29T11:13:25","slug":"2612","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2612","title":{"rendered":"\u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 core\/crash-\u0444\u0430\u0439\u043b\u0430\u043c\u0438"},"content":{"rendered":"<p>\u041f\u0440\u0438 \u043f\u0430\u0434\u0435\u043d\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 <strong>core<\/strong>-\u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0417\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 core \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <strong>coreadm<\/strong>. \u0421 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u043b\u0435\u0436\u0430\u0442\u044c <strong>core<\/strong>-\u0444\u0430\u0439\u043b\u044b, \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445 \u0442\u0438\u043f\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c core-\u0444\u0430\u0439\u043b\u044b \u0438 \u0442.\u0434.<\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e <strong>core dump<\/strong> \u0444\u0430\u0439\u043b\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f, \u0438 \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0440\u0430\u0437\u043d\u043e\u043c\u0443.<\/p>\n<p><!--more--><strong><span style=\"color: #ff0000;\">coreadm<\/span><\/strong><\/p>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u0430\u044f \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre>$ coreadm\r\n     global core file pattern:\r\n     global core file content: default\r\n       init core file pattern: core\r\n       init core file content: default\r\n            global core dumps: disabled\r\n       per-process core dumps: enabled\r\n      global setid core dumps: disabled\r\n per-process setid core dumps: disabled\r\n     global core dump logging: disabled<\/pre>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>coreadm<\/strong> \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u0443\u0442\u044c, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0448\u0438 core-\u0444\u0430\u0439\u043b\u044b:<\/p>\n<p><code>#coreadm -g \/var\/cores\/core.%f.%p<\/code><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0442\u043e, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u043c \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u043e \u0432 <strong>core<\/strong>-\u0444\u0430\u0439\u043b:<\/p>\n<p><code>#coreadm -G content<\/code><\/p>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f <strong>content\u00a0<\/strong>(\u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430, \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u0442\u0435\u0440\u044f\u043b\u0441\u044f \u0441\u043c\u044b\u0441\u043b):<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; ctf: CTF type information sections for loaded object files<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; data: Writable private file mappings &#8211; dism: DISM mappings<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; heap: Process heap<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; ism: ISM mappings<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; rodata: Read-only private file mappings<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; shanon: Anonymous shared mappings<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; shfile: Shared mappings that are backed by files<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; shm: System V shared memory<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; stack: Process stack<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; symtab: Symbol table sections for loaded object files<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> &#8211; text: Readable and executable private file mappings<\/span><\/em><\/p>\n<p>\u041b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c <strong>all<\/strong> \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u043e \u0432\u0441\u0451.<br \/>\n\u0415\u0441\u0442\u044c \u0435\u0449\u0451 \u043e\u043f\u0446\u0438\u0438 <strong>-e\/-d<\/strong> \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c\/\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b.<br \/>\n\u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e <strong>coreadm<\/strong> \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 <strong>SMF<\/strong> \u0441\u0435\u0440\u0432\u0438\u0441 <strong>svc:\/system\/coreadm:default<\/strong>. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435\u00a0<strong>\/etc\/coreadm.conf<\/strong><\/p>\n<p>\u041f\u0440\u0430\u0432\u0434\u0430 \u0447\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 <strong>core<\/strong>-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432<\/p>\n<p><code>coreadm -d process<\/code><\/p>\n<p>\u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043e\u0431\u044a\u0451\u043c\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041f\u0440\u0438 \u043e\u0442\u043b\u0430\u0432\u043b\u0438\u0432\u0430\u043d\u0438\u0438 \u0431\u0430\u0433\u043e\u0432 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445<\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<p><code>#coreadm -e log<\/code><\/p>\n<p>\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043b\u043e\u0433\u0430\u0445 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 <strong>core<\/strong>-\u0444\u0430\u0439\u043b\u043e\u0432<\/p>\n<p><strong><span style=\"color: #ff0000;\">dumpadm<\/span><\/strong><\/p>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e <strong>crash dump&#8217;a.<\/strong> \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043d\u0430 \u0442\u043e\u0436\u0435 \u0447\u0435\u0440\u0435\u0437 <strong>SMF &#8211;\u00a0svc:\/system\/dumpadm:default<\/strong> \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u00a0<strong>\/dev\/dump<\/strong>. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<pre># dumpadm\r\n      Dump content: kernel pages\r\n       Dump device: \/dev\/zvol\/dsk\/rpool\/dump (dedicated)\r\nSavecore directory: \/var\/crash\r\n  Savecore enabled: yes\r\n   Save compressed: on<\/pre>\n<p><strong><span style=\"color: #ff0000;\">savecore\/gcore<\/span><\/strong><\/p>\n<p>\u042d\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0441\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f <strong>core dump<\/strong> \u0444\u0430\u0439\u043b\u043e\u0432. \u0415\u044e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0432 \u0434\u0430\u043c\u043f \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<p><code># savecore -L<br \/>\ndumping to \/dev\/zvol\/dsk\/rpool\/dump, offset 65536, content: kernel<br \/>\n0:03 100% done<br \/>\n100% done: 128815 pages dumped, dump succeeded<br \/>\nsavecore: System dump time: Fri Apr 27 19:46:16 2012<br \/>\nsavecore: Saving compressed system crash dump in \/var\/crash\/vmdump.1<br \/>\nsavecore: Decompress the crash dump with<br \/>\n'savecore -vf \/var\/crash\/vmdump.1'<br \/>\n<\/code><\/p>\n<p><code># gcore $$<br \/>\ngcore: core.2770 dumped<\/code><\/p>\n<p><code><\/code>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043c\u043f, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435:<\/p>\n<p><code># savecore -vf \/var\/crash\/vmdump.1<br \/>\nsavecore: System dump time: Fri Apr 27 19:46:16 2012<br \/>\nsavecore: saving system crash dump in \/var\/crash\/{unix,vmcore}.1<br \/>\nConstructing namelist \/var\/crash\/unix.1<br \/>\nConstructing corefile \/var\/crash\/vmcore.1<br \/>\n0:12 100% done: 128815 of 128815 pages saved<br \/>\n3481 (2%) zero pages were not written<br \/>\n0:12 dump decompress is done<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u0410\u043d\u0430\u043b\u0438\u0437 core dump-\u0444\u0430\u0439\u043b\u043e\u0432.<\/span><\/strong><\/p>\n<p>\u0414\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a <strong>mdb<\/strong>. \u0412\u043e\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/p>\n<p><code># \/usr\/bin\/mdb -k unix.0<br \/>\nLoading modules: [ unix krtld genunix ip nfs ipc ptm ]<br \/>\n&gt; ::status<br \/>\ndebugging crash dump \/dev\/mem (64-bit) from ozlo<br \/>\noperating system: 5.10 Generic sun4v<br \/>\n&gt; ::system<br \/>\nset ufs_ninode=0x9c40 [0t40000]<br \/>\nset ncsize=0x4e20 [0t20000]<br \/>\nset pt_cnt=0x400 [0t1024]<\/code><\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0430\u043d\u0430\u043b\u0438\u0437 core <strong>dump<\/strong> \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0437\u0434\u0435\u0441\u044c<\/p>\n<p><em><span style=\"color: #ff6600;\">http:\/\/solaristhings.blogspot.com\/2006\/08\/dont-be-afraid-of-mdb.html<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> http:\/\/kristof.willen.be\/node\/1100<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> http:\/\/www.c0t0d0s0.org\/archives\/4391-Less-known-Solaris-Features-About-crashes-and-cores.html<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> http:\/\/www.cuddletech.com\/blog\/pivot\/entry.php?id=965<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> http:\/\/www.cuddletech.com\/blog\/pivot\/entry.php?id=966<\/span><\/em><br \/>\n<em><span style=\"color: #ff6600;\"> http:\/\/eteck.blogspot.com\/2012\/04\/solaris-crash-dump-anylysis.html<\/span><\/em><\/p>\n<p><strong><span style=\"color: #ff0000;\">\u0410\u043d\u0430\u043b\u0438\u0437 core \u0444\u0430\u0439\u043b\u043e\u0432.<\/span><\/strong><\/p>\n<p>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 <strong>core<\/strong> \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p><code>$ .\/a.out<br \/>\nSegmentation Fault(coredump)<br \/>\n$ \/usr\/proc\/bin\/pstack .\/core<br \/>\ncore '.\/core' of 19305: .\/a.out<br \/>\n000108c4 main (1, ffbef5cc, ffbef5d4, 20800, 0, 0) + 1c<br \/>\n00010880 _start (0, 0, 0, 0, 0, 0) + b8<\/code><\/p>\n<pre># pflags .\/core.php-fpm.22445\r\ncore '.\/core.php-fpm.22445' of 22445:   \/usr\/php54\/sbin\/php-fpm -y \/usr\/php54\/etc\/php-fpm.conf\r\n        data model = _LP64  flags = ORPHAN|MSACCT|MSFORK\r\n \/1:    flags = 0\r\n        sigmask = 0xffffbefc,0xffffffff,0x000000ff\r\n        cursig = SIGSEGV<\/pre>\n<p>\u041e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <strong>gdb<\/strong>, \u043d\u043e \u043e\u043d \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0435\u0433\u043e \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p><code>#gdb \/usr\/php54\/sbin\/php-fpm .\/core.php-fpm.23922<br \/>\n...<br \/>\nReading symbols from \/lib\/amd64\/libelf.so.1...done.<br \/>\nLoaded symbols for \/lib\/64\/libelf.so.1<br \/>\nReading symbols from \/usr\/lib\/security\/amd64\/pkcs11_kernel.so.1...done.<br \/>\nLoaded symbols for \/usr\/lib\/security\/64\/pkcs11_kernel.so.1<br \/>\nReading symbols from \/lib\/amd64\/ld.so.1...done.<br \/>\nLoaded symbols for \/lib\/amd64\/ld.so.1<br \/>\nCore was generated by `\/usr\/php54\/sbin\/php-fpm -y \/usr\/php54\/etc\/php-fpm.conf'.<br \/>\nProgram terminated with signal 11, Segmentation fault.<br \/>\n[New process 89458 ]<br \/>\n#0 0x000000000093f2eb in zend_fetch_var_address_helper_SPEC_CONST_VAR ()<br \/>\n(gdb) bt<br \/>\n#0 0x000000000093f2eb in zend_fetch_var_address_helper_SPEC_CONST_VAR ()<br \/>\n#1 0x0000000000938c81 in execute ()<br \/>\n#2 0xfffffd7f923747b7 in xdebug_execute () from \/usr\/php54\/lib\/php\/extensions\/no-debug-non-zts-20100525\/xdebug.so<br \/>\n#3 0x00000000009394c7 in zend_do_fcall_common_helper_SPEC ()<br \/>\n#4 0x0000000000938c81 in execute ()<br \/>\n#5 0xfffffd7f923747b7 in xdebug_execute () from \/usr\/php54\/lib\/php\/extensions\/no-debug-non-zts-20100525\/xdebug.so<br \/>\n#6 0x00000000008fa118 in zend_call_function ()<br \/>\n#7 0x00000000009222b1 in zend_call_method ()<br \/>\n#8 0x00000000007d0672 in zif_spl_autoload_call ()<br \/>\n#9 0x00000000008fa080 in zend_call_function ()<br \/>\n#10 0x00000000008fa8d4 in zend_lookup_class_ex ()<br \/>\n#11 0x000000000091170f in zend_is_callable_check_class ()<br \/>\n#12 0x0000000000912811 in zend_is_callable_ex ()<br \/>\n#13 0x00000000008f9605 in zend_call_function ()<br \/>\n#14 0x00000000008f93f3 in call_user_function_ex ()<br \/>\n#15 0x00000000008f92e7 in call_user_function ()<br \/>\n#16 0x00000000007c16d4 in ps_call_handler ()<br \/>\n#17 0x00000000007c1c0a in ps_write_user ()<br \/>\n#18 0x00000000007b8edf in php_session_save_current_state ()<br \/>\n#19 0x00000000007be9e8 in zm_deactivate_session ()<br \/>\n#20 0x0000000000910c1a in zend_deactivate_modules ()<br \/>\n#21 0x0000000000898073 in php_request_shutdown ()<br \/>\n#22 0x00000000009859b1 in main ()<br \/>\n(gdb) where<br \/>\n#0 0x000000000093f2eb in zend_fetch_var_address_helper_SPEC_CONST_VAR ()<br \/>\n#1 0x0000000000938c81 in execute ()<br \/>\n#2 0xfffffd7f923747b7 in xdebug_execute () from \/usr\/php54\/lib\/php\/extensions\/no-debug-non-zts-20100525\/xdebug.so<br \/>\n#3 0x00000000009394c7 in zend_do_fcall_common_helper_SPEC ()<br \/>\n#4 0x0000000000938c81 in execute ()<br \/>\n#5 0xfffffd7f923747b7 in xdebug_execute () from \/usr\/php54\/lib\/php\/extensions\/no-debug-non-zts-20100525\/xdebug.so<br \/>\n#6 0x00000000008fa118 in zend_call_function ()<br \/>\n#7 0x00000000009222b1 in zend_call_method ()<br \/>\n#8 0x00000000007d0672 in zif_spl_autoload_call ()<br \/>\n#9 0x00000000008fa080 in zend_call_function ()<br \/>\n#10 0x00000000008fa8d4 in zend_lookup_class_ex ()<br \/>\n#11 0x000000000091170f in zend_is_callable_check_class ()<br \/>\n#12 0x0000000000912811 in zend_is_callable_ex ()<br \/>\n#13 0x00000000008f9605 in zend_call_function ()<br \/>\n#14 0x00000000008f93f3 in call_user_function_ex ()<br \/>\n#15 0x00000000008f92e7 in call_user_function ()<br \/>\n#16 0x00000000007c16d4 in ps_call_handler ()<br \/>\n#17 0x00000000007c1c0a in ps_write_user ()<br \/>\n#18 0x00000000007b8edf in php_session_save_current_state ()<br \/>\n#19 0x00000000007be9e8 in zm_deactivate_session ()<br \/>\n#20 0x0000000000910c1a in zend_deactivate_modules ()<br \/>\n#21 0x0000000000898073 in php_request_shutdown ()<br \/>\n#22 0x00000000009859b1 in main ()<\/code><\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 <strong>gdb<\/strong>:<\/p>\n<p><code>#gdb \/path\/to\/program<br \/>\n(gdb) run<br \/>\nStarting program: \/usr\/php54\/sbin\/php-fpm<br \/>\n[New LWP 1 ]<br \/>\nwarning: Lowest section in \/lib\/amd64\/librt.so.1 is .dynamic at 00000000000000b0<br \/>\nwarning: Lowest section in \/lib\/amd64\/libpthread.so.1 is .dynamic at 00000000000000b0<br \/>\nwarning: Lowest section in \/lib\/amd64\/libdl.so.1 is .dynamic at 00000000000000b0<br \/>\nwarning: Lowest section in \/lib\/amd64\/libthread.so.1 is .dynamic at 00000000000000b0<br \/>\n[11-Oct-2012 11:00:33] WARNING: [pool www] pm.start_servers is not set. It's been set to 6.<br \/>\nProgram exited normally.<\/code><\/p>\n<p>\u0410 \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 <strong>mdb<\/strong>:<\/p>\n<p><code># mdb \/usr\/php54\/sbin\/php-fpm .\/core.php-fpm.23922<br \/>\nLoading modules: [ libc.so.1 libuutil.so.1 libnvpair.so.1 ld.so.1 ]<br \/>\n&gt; $C<br \/>\nfffffd7fffdf8a80 zend_fetch_var_address_helper_SPEC_CONST_VAR+0x3b()<br \/>\nfffffd7fffdf8ae0 execute+0x2b1()<br \/>\nfffffd7fffdf8b80 xdebug.so`xdebug_execute+0x877()<br \/>\nfffffd7fffdf8bf0 zend_do_fcall_common_helper_SPEC+0x397()<br \/>\nfffffd7fffdf8c50 execute+0x2b1()<br \/>\nfffffd7fffdf8cf0 xdebug.so`xdebug_execute+0x877()<br \/>\nfffffd7fffdf8e40 zend_call_function+0xd18()<br \/>\nfffffd7fffdf8f40 zend_call_method+0x1f1()<br \/>\nfffffd7fffdf8fe0 zif_spl_autoload_call+0x122()<br \/>\nfffffd7fffdf9130 zend_call_function+0xc80()<br \/>\nfffffd7fffdf9270 zend_lookup_class_ex+0x314()<br \/>\nfffffd7fffdf92c0 zend_is_callable_check_class+0x23f()<br \/>\nfffffd7fffdf9370 zend_is_callable_ex+0x5e1()<br \/>\nfffffd7fffdf94c0 zend_call_function+0x205()<br \/>\nfffffd7fffdf9520 call_user_function_ex+0x53()<br \/>\nfffffd7fffdf9590 call_user_function+0x127()<br \/>\nfffffd7fffdf95d0 ps_call_handler+0x64()<br \/>\nfffffd7fffdf9630 ps_write_user+0x11a()<br \/>\nfffffd7fffdf9660 php_session_save_current_state+0x6f()<br \/>\nfffffd7fffdf9a90 zm_deactivate_session+0x38()<br \/>\nfffffd7fffdf9ec0 zend_deactivate_modules+0x6a()<br \/>\nfffffd7fffdfcaf0 php_request_shutdown+0x153()<br \/>\nfffffd7fffdffcb0 main+0xd81()<br \/>\nfffffd7fffdffcc0 0x54000b()<\/code><\/p>\n<p>\u0410 \u0435\u0449\u0451 \u0435\u0441\u0442\u044c \u043c\u043e\u0449\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a href=\"http:\/\/www.tune-it.ru\/web\/myaut\/home\/-\/blogs\/%D0%B2%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5-%D0%B2-solaris-crash-analysis-tool\" target=\"_blank\">CAT<\/a>\u00a0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438 \u043f\u0430\u0434\u0435\u043d\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 core-\u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0417\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 core \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 coreadm. \u0421 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u043b\u0435\u0436\u0430\u0442\u044c core-\u0444\u0430\u0439\u043b\u044b, \u0434\u043b\u044f \u043a\u0430\u043a\u0438\u0445 \u0442\u0438\u043f\u043e\u0432 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c core-\u0444\u0430\u0439\u043b\u044b \u0438 \u0442.\u0434. \u0412\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e core dump \u0444\u0430\u0439\u043b\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f, \u0438 \u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0440\u0430\u0437\u043d\u043e\u043c\u0443.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-2612","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2612"}],"version-history":[{"count":13,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2612\/revisions"}],"predecessor-version":[{"id":4817,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2612\/revisions\/4817"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}