GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /usr/bin/procinfo Program received signal SIGSEGV, Segmentation fault. 0x0000000000407885 in first_page (sl=5000000) at procinfo.c:555 555 if (irq_label[i][0] == 0) (gdb) backtrace full #0 0x0000000000407885 in first_page (sl=5000000) at procinfo.c:555 p = 0x60e7b8 "100 2576 2553534 PCI-MSI-edge eth1" i = 2299 irq_label = 0x7fff8dd61a50 elapsed = 14786640 loadavg = "0.68 1.49 1.24 1/278 19846\000\000ne)]" i = 498 havetwosix = 1 lastdisk = 5 devicename = "loop7\000\000\000L" last = 0x7fff8dd652c4 "7" q = 7 w = 7 a = 0 s = 0 d = 0 f = 0 g = 0 h = 0 j = 0 k = 0 l = 0 y = 0 x = 0 disk_counter = 2 ret = 14 have_m_c = 0 have_m_l = 1 #1 0x00000000004094c8 in main (ac=1, av=0x7fff8dd66588) at procinfo.c:992 sl = 5000000 getoptopt = -1 then = {tv_sec = 0, tv_usec = 0} now = {tv_sec = 1208247957, tv_usec = 321019} outbuf = "Linux 2.6.24-16-server (buildd@yellow) (gcc 4.2.3 ) #1 4CPU [vmhost.(none)]\n\nMemory: Total Used Free Shared Buffers \nMem: 16465192 16393340 71852", ' ' ... (gdb) info registers rax 0xc592 50578 rbx 0x6131e8 6369768 rcx 0x7fff8dd61a50 140735573006928 rdx 0x8fb 2299 rsi 0x40b35b 4240219 rdi 0x60e7d4 6350804 rbp 0x7fff8dd652f0 0x7fff8dd652f0 rsp 0x7fff8dd61a00 0x7fff8dd61a00 r8 0x50 80 r9 0x49 73 r10 0x0 0 r11 0x40b35c 4240220 r12 0x0 0 r13 0x7fff8dd66580 140735573026176 r14 0x0 0 r15 0x0 0 rip 0x407885 0x407885 eflags 0x10212 [ AF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 mxcsr 0x1fa0 [ PE IM DM ZM OM UM PM ] (gdb) thread apply all backtrace (gdb) quit The program is running. Exit anyway? (y or n)