spontaneous reboot - ptrace

Dr. Baud drbaud at yahoo.com
Fri Feb 18 11:58:07 UTC 2011



> First, do you have a console output during the run ? Is it possible
> that machine paniced ? If not, were there any kernel messages before>
> reboot ?
>
> Second, what is the process you are dumping ? Can you show at least
> the procstat -v <pid> output for the process ?

    Sorry for this late response but my earlier response appears to have been 
consumed by the email reflector.

    I'm getting an NMI. And the trouble appears to be when trying to read via 
ptrace memory segments of type KVME_TYPE_DEVICE. The app in quesion allocates a 
large number of large memory buffers and maps them into virtual address space. 
Not all segments cause the NMI however. Small sampling of the virtual memory 
map.

  PID              START                END PRT  RES PRES REF SHD FL TP PATH
  931           0x400000          0x1773000 r-x 4239 5053   2   1 CN vn /mnt/dia
g/problemchild
  931          0x1872000          0x2ef2000 rw-  416    0   1   0 C- vn /mnt/dia
g/problemchld
  931          0x2ef2000          0x6700000 rw- 11765    0   1   0 C- df
  931        0x801872000        0x8018a2000 r-x   48    0  57  28 CN vn /libexec
/ld-elf.so.1
  931        0x8018a2000        0x8018b3000 rw-   15    0   1   0 C- df
  931        0x8018b3000        0x801924000 rw-  113    0 1698   0 -- dv
  931        0x801924000        0x801925000 rw-    1    0 1698   0 -- dv
  931        0x801925000        0x801926000 rw-    1    0 1698   0 -- dv
  931        0x801926000        0x801927000 rw-    1    0 1698   0 -- dv
  931        0x801927000        0x801928000 rw-    1    0 1698   0 -- dv
  931        0x801928000        0x80192a000 rw-    2    0 1698   0 -- dv
  931        0x80192a000        0x80192b000 rw-    1    0 1698   0 -- dv
  931        0x80192b000        0x80192c000 rw-    1    0 1698   0 -- dv
  931        0x80192c000        0x80192d000 rw-    1    0 1698   0 -- dv
  931        0x80192d000        0x80192e000 rw-    1    0 1698   0 -- dv
  931        0x80192e000        0x801930000 rw-    2    0 1698   0 -- dv
  931        0x801930000        0x801932000 rw-    2    0 1698   0 -- dv
  931        0x801932000        0x801993000 rw-   97    0 1698   0 -- dv
  931        0x801993000        0x8019a0000 rw-   13    0 1698   0 -- dv
  931        0x8019a0000        0x8019a1000 rw-    1    0 1698   0 -- dv

    ....

  931        0x802ab7000        0x802bb7000 ---    0    0   1   0 CN df
931        0x0x802bb70        0x0x802bd6000 rw-   17    0   1   0 C- vn /lib/lib
c.so.7
  931        0x802bd6000        0x802bf1000 rw-   18    0   1   0 C- df
  931        0x802bf1000        0x802bfd000 r-x    9   14   2   1 CN vn /lib/lib
gcc_s.so.1
  931        0x802bfd000        0x802cfc000 ---    0    0   1   0 CN df
  931        0x802cfc000        0x802cfe000 rw-    2    0   1   0 CN vn /lib/lib
gcc_s.so.1
  931        0x802cfe000        0x802cff000 rw-    1    0 1698   0 -- dv
  931        0x802cff000        0x802d00000 rw-    1    0 1698   0 -- dv
  931        0x802d00000        0x802e00000 rw-  132    0   1   0 C- df
  931        0x802e00000        0x802f00000 rw-  109    0   1   0 C- df
  931        0x802f00000        0x802f91000 rw-  145    0 1698   0 -- dv
  931        0x802f91000        0x802fb2000 rw-   33    0 1698   0 -- dv
  931        0x802fb2000        0x802fd3000 rw-   33    0 1698   0 -- dv
  931        0x802fd3000        0x802ff5000 rw-   34    0 1698   0 -- dv
  931        0x802ff5000        0x802ff6000 rw-    1    0 1698   0 -- dv


      


More information about the freebsd-hackers mailing list