VisualGDB fails when I try debug

Sysprogs forums Forums VisualGDB VisualGDB fails when I try debug

Tagged: , , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10412
    k0taperk0t
    Participant

    Hello. I have project, which is built on host_1, but I need to debug it on host_2. Earlier it worked fine (I start binary on host and attach to it, because start with debugging didn’t work more earlier), but few mounts ago after connect to application, if I try switch to one from threads or on breakpoint – debugging just breaks without any errors. Why?
    I thought it because of old version, but now I have last version and still have problem.

    #10417
    support
    Keymaster

    Hi,

    It’s hard to say why this happens without seeing the debug log. Please enable gdb logging on the Advanced GDB Settings page and check the debug log for messages explaining the unexpected end of session.

    If you are not sure, please attach the debug log here and we will help you pinpoint the problem.

    #10490
    k0taperk0t
    Participant

    I don’t know how attach the log file, because I just copy log text in quote. Also I hide real app name & source files name. When thread is single – all it’s ok, but in MT I get segfault.

                  gdb –interpreter mi –args “/home/builder/lpb_test/myapp” ui
    [       0 ms] =thread-group-added,id=”i1″
    [       0 ms] =thread-group-added,id=”i1″
    [       0 ms] -gdb-version
    [       0 ms] ~”GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1\n”
    [       0 ms] ~”Copyright (C) 2014 Free Software Foundation, Inc.\n”
    [       0 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \”show copying\”\nand \”show warranty\” for details.\n”
    [       1 ms] ~”This GDB was configured as \”x86_64-linux-gnu\”.\nType \”show configuration\” for configuration details.”
    [       1 ms] ~”\nFor bug reporting instructions, please see:\n”
    [       1 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [       1 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [       2 ms] ~”For help, type \”help\”.\n”
    [       2 ms] ~”Type \”apropos word\” to search for commands related to \”word\”…\n”
    [       2 ms] ~”Reading symbols from /home/builder/lpb_test/myapp…”
    [    4265 ms] ~”done.\n”
    [    4304 ms] ~”GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1\n”
    [    4304 ms] ~”Copyright (C) 2014 Free Software Foundation, Inc.\n”
    [    4304 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \”show copying\”\nand \”show warranty\” for details.\n”
    [    4305 ms] ~”This GDB was configured as \”x86_64-linux-gnu\”.\nType \”show configuration\” for configuration details.”
    [    4305 ms] ~”\nFor bug reporting instructions, please see:\n”
    [    4305 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [    4305 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [    4305 ms] ~”For help, type \”help\”.\n”
    [    4306 ms] ~”Type \”apropos word\” to search for commands related to \”word\”.\n”
    [    4306 ms] ^done
    [    4306 ms] -list-features
    [    4307 ms] ^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”language-option”,”info-gdb-mi-command”,”undefined-command-error-code”,”exec-run-start-option”,”python”]
    [    4307 ms] -gdb-set disassembly-flavor intel
    [    4307 ms] ^done
    [    4307 ms] -gdb-set print demangle off
    [    4308 ms] ^done
    [    4334 ms] -inferior-tty-set /dev/pts/8
    [    4334 ms] ^done
    [    4340 ms] info target
    [    4341 ms] &”info target\n”
    [    4341 ms] ~”Symbols from \”/home/builder/lpb_test/myapp\”.\n”
    [    4341 ms] ~”Local exec file:\n”
    [    4341 ms] ~”\t`/home/builder/lpb_test/myapp’, file type elf64-x86-64.\n”
    [    4341 ms] ~”\tEntry point: 0x412b80\n”
    [    4341 ms] ~”\t0x0000000000400238 – 0x0000000000400254 is .interp\n”
    [    4341 ms] ~”\t0x0000000000400254 – 0x0000000000400274 is .note.ABI-tag\n”
    [    4341 ms] ~”\t0x0000000000400274 – 0x0000000000400298 is .note.gnu.build-id\n”
    [    4341 ms] ~”\t0x0000000000400298 – 0x0000000000401738 is .hash\n”
    [    4341 ms] ~”\t0x0000000000401738 – 0x0000000000401c28 is .gnu.hash\n”
    [    4341 ms] ~”\t0x0000000000401c28 – 0x00000000004066e0 is .dynsym\n”
    [    4341 ms] ~”\t0x00000000004066e0 – 0x000000000040b089 is .dynstr\n”
    [    4341 ms] ~”\t0x000000000040b08a – 0x000000000040b6c4 is .gnu.version\n”
    [    4341 ms] ~”\t0x000000000040b6c8 – 0x000000000040b888 is .gnu.version_r\n”
    [    4341 ms] ~”\t0x000000000040b888 – 0x000000000040bf78 is .rela.dyn\n”
    [    4341 ms] ~”\t0x000000000040bf78 – 0x0000000000410028 is .rela.plt\n”
    [    4341 ms] ~”\t0x0000000000410028 – 0x0000000000410045 is .init\n”
    [    4341 ms] ~”\t0x0000000000410048 – 0x0000000000412b78 is .plt\n”
    [    4341 ms] ~”\t0x0000000000412b80 – 0x0000000000e02298 is .text\n”
    [    4341 ms] ~”\t0x0000000000e02298 – 0x0000000000e022a6 is .fini\n”
    [    4341 ms] ~”\t0x0000000000e022c0 – 0x00000000010847ea is .rodata\n”
    [    4341 ms] ~”\t0x00000000010847ec – 0x00000000010fbf18 is .eh_frame_hdr\n”
    [    4341 ms] ~”\t0x00000000010fbf18 – 0x00000000012f01bc is .eh_frame\n”
    [    4341 ms] ~”\t0x00000000012f01bc – 0x000000000147be3f is .gcc_except_table\n”
    [    4341 ms] ~”\t0x000000000167c000 – 0x000000000167c008 is .tbss\n”
    [    4341 ms] ~”\t0x000000000167c000 – 0x000000000167d848 is .ctors\n”
    [    4341 ms] ~”\t0x000000000167d848 – 0x000000000167d860 is .dtors\n”
    [    4341 ms] ~”\t0x000000000167d860 – 0x000000000167d868 is .jcr\n”
    [    4341 ms] ~”\t0x000000000167d880 – 0x000000000167eb28 is .data.rel.ro\n”
    [    4341 ms] ~”\t0x000000000167eb28 – 0x000000000167ed68 is .dynamic\n”
    [    4341 ms] ~”\t0x000000000167ed68 – 0x000000000167ee28 is .got\n”
    [    4341 ms] ~”\t0x000000000167ee28 – 0x00000000016803d0 is .got.plt\n”
    [    4341 ms] ~”\t0x00000000016803e0 – 0x00000000016a5d10 is .data\n”
    [    4341 ms] ~”\t0x00000000016a5d20 – 0x00000000016d8d58 is .bss\n”
    [    4341 ms] ^done

    .. breakpoints…

    [    6182 ms] info signals
    [    6182 ms] &”info signals\n”
    [    6183 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6183 ms] ~”\n”
    [    6183 ms] ~”SIGHUP        Yes\tYes\tYes\t\tHangup\n”
    [    6183 ms] ~”SIGINT        Yes\tYes\tNo\t\tInterrupt\n”
    [    6184 ms] ~”SIGQUIT       Yes\tYes\tYes\t\tQuit\n”
    [    6184 ms] ~”SIGILL        Yes\tYes\tYes\t\tIllegal instruction\n”
    [    6184 ms] ~”SIGTRAP       Yes\tYes\tNo\t\tTrace/breakpoint trap\n”
    [    6184 ms] ~”SIGABRT       Yes\tYes\tYes\t\tAborted\n”
    [    6185 ms] ~”SIGEMT        Yes\tYes\tYes\t\tEmulation trap\n”
    [    6185 ms] ~”SIGFPE        Yes\tYes\tYes\t\tArithmetic exception\n”
    [    6185 ms] ~”SIGKILL       Yes\tYes\tYes\t\tKilled\n”
    [    6185 ms] ~”SIGBUS        Yes\tYes\tYes\t\tBus error\n”
    [    6185 ms] ~”SIGSEGV       Yes\tYes\tYes\t\tSegmentation fault\n”
    [    6186 ms] ~”SIGSYS        Yes\tYes\tYes\t\tBad system call\n”
    [    6186 ms] ~”SIGPIPE       Yes\tYes\tYes\t\tBroken pipe\n”
    [    6186 ms] ~”SIGALRM       No\tNo\tYes\t\tAlarm clock\n”
    [    6186 ms] ~”SIGTERM       Yes\tYes\tYes\t\tTerminated\n”
    [    6186 ms] ~”SIGURG        No\tNo\tYes\t\tUrgent I/O condition\n”
    [    6186 ms] ~”SIGSTOP       Yes\tYes\tYes\t\tStopped (signal)\n”
    [    6186 ms] ~”SIGTSTP       Yes\tYes\tYes\t\tStopped (user)\n”
    [    6186 ms] ~”SIGCONT       Yes\tYes\tYes\t\tContinued\n”
    [    6186 ms] ~”SIGCHLD       No\tNo\tYes\t\tChild status changed\n”
    [    6186 ms] ~”SIGTTIN       Yes\tYes\tYes\t\tStopped (tty input)\n”
    [    6186 ms] ~”SIGTTOU       Yes\tYes\tYes\t\tStopped (tty output)\n”
    [    6186 ms] ~”SIGIO         No\tNo\tYes\t\tI/O possible\n”
    [    6186 ms] ~”SIGXCPU       Yes\tYes\tYes\t\tCPU time limit exceeded\n”
    [    6186 ms] ~”SIGXFSZ       Yes\tYes\tYes\t\tFile size limit exceeded\n”
    [    6186 ms] ~”SIGVTALRM     No\tNo\tYes\t\tVirtual timer expired\n”
    [    6186 ms] ~”SIGPROF       No\tNo\tYes\t\tProfiling timer expired\n”
    [    6186 ms] ~”SIGWINCH      No\tNo\tYes\t\tWindow size changed\n”
    [    6186 ms] ~”SIGLOST       Yes\tYes\tYes\t\tResource lost\n”
    [    6186 ms] ~”SIGUSR1       Yes\tYes\tYes\t\tUser defined signal 1\n”
    [    6186 ms] ~”SIGUSR2       Yes\tYes\tYes\t\tUser defined signal 2\n”
    [    6186 ms] ~”SIGPWR        Yes\tYes\tYes\t\tPower fail/restart\n”
    [    6186 ms] ~”SIGPOLL       No\tNo\tYes\t\tPollable event occurred\n”
    [    6186 ms] ~”SIGWIND       Yes\tYes\tYes\t\tSIGWIND\n”
    [    6186 ms] ~”SIGPHONE      Yes\tYes\tYes\t\tSIGPHONE\n”
    [    6187 ms] ~”SIGWAITING    No\tNo\tYes\t\tProcess’s LWPs are blocked\n”
    [    6187 ms] ~”SIGLWP        No\tNo\tYes\t\tSignal LWP\n”
    [    6187 ms] ~”SIGDANGER     Yes\tYes\tYes\t\tSwap space dangerously low\n”
    [    6187 ms] ~”SIGGRANT      Yes\tYes\tYes\t\tMonitor mode granted\n”
    [    6187 ms] ~”SIGRETRACT    Yes\tYes\tYes\t\tNeed to relinquish monitor mode\n”
    [    6187 ms] ~”SIGMSG        Yes\tYes\tYes\t\tMonitor mode data available\n”
    [    6187 ms] ~”SIGSOUND      Yes\tYes\tYes\t\tSound completed\n”
    [    6187 ms] ~”SIGSAK        Yes\tYes\tYes\t\tSecure attention\n”
    [    6187 ms] ~”SIGPRIO       No\tNo\tYes\t\tSIGPRIO\n”
    [    6187 ms] ~”SIG33         Yes\tYes\tYes\t\tReal-time event 33\n”
    [    6187 ms] ~”SIG34         Yes\tYes\tYes\t\tReal-time event 34\n”
    [    6187 ms] ~”SIG35         Yes\tYes\tYes\t\tReal-time event 35\n”
    [    6187 ms] ~”SIG36         Yes\tYes\tYes\t\tReal-time event 36\n”
    [    6187 ms] ~”SIG37         Yes\tYes\tYes\t\tReal-time event 37\n”
    [    6187 ms] ~”SIG38         Yes\tYes\tYes\t\tReal-time event 38\n”
    [    6187 ms] ~”SIG39         Yes\tYes\tYes\t\tReal-time event 39\n”
    [    6187 ms] ~”SIG40         Yes\tYes\tYes\t\tReal-time event 40\n”
    [    6187 ms] ~”SIG41         Yes\tYes\tYes\t\tReal-time event 41\n”
    [    6187 ms] ~”SIG42         Yes\tYes\tYes\t\tReal-time event 42\n”
    [    6187 ms] ~”SIG43         Yes\tYes\tYes\t\tReal-time event 43\n”
    [    6187 ms] ~”SIG44         Yes\tYes\tYes\t\tReal-time event 44\n”
    [    6187 ms] ~”SIG45         Yes\tYes\tYes\t\tReal-time event 45\n”
    [    6187 ms] ~”SIG46         Yes\tYes\tYes\t\tReal-time event 46\n”
    [    6187 ms] ~”SIG47         Yes\tYes\tYes\t\tReal-time event 47\n”
    [    6187 ms] ~”SIG48         Yes\tYes\tYes\t\tReal-time event 48\n”
    [    6187 ms] ~”SIG49         Yes\tYes\tYes\t\tReal-time event 49\n”
    [    6187 ms] ~”SIG50         Yes\tYes\tYes\t\tReal-time event 50\n”
    [    6187 ms] ~”SIG51         Yes\tYes\tYes\t\tReal-time event 51\n”
    [    6188 ms] ~”SIG52         Yes\tYes\tYes\t\tReal-time event 52\n”
    [    6188 ms] ~”SIG53         Yes\tYes\tYes\t\tReal-time event 53\n”
    [    6188 ms] ~”SIG54         Yes\tYes\tYes\t\tReal-time event 54\n”
    [    6188 ms] ~”SIG55         Yes\tYes\tYes\t\tReal-time event 55\n”
    [    6188 ms] ~”SIG56         Yes\tYes\tYes\t\tReal-time event 56\n”
    [    6188 ms] ~”SIG57         Yes\tYes\tYes\t\tReal-time event 57\n”
    [    6188 ms] ~”SIG58         Yes\tYes\tYes\t\tReal-time event 58\n”
    [    6188 ms] ~”SIG59         Yes\tYes\tYes\t\tReal-time event 59\n”
    [    6188 ms] ~”SIG60         Yes\tYes\tYes\t\tReal-time event 60\n”
    [    6188 ms] ~”SIG61         Yes\tYes\tYes\t\tReal-time event 61\n”
    [    6188 ms] ~”SIG62         Yes\tYes\tYes\t\tReal-time event 62\n”
    [    6188 ms] ~”SIG63         Yes\tYes\tYes\t\tReal-time event 63\n”
    [    6188 ms] ~”SIGCANCEL     No\tNo\tYes\t\tLWP internal signal\n”
    [    6188 ms] ~”SIG32         Yes\tYes\tYes\t\tReal-time event 32\n”
    [    6188 ms] ~”SIG64         Yes\tYes\tYes\t\tReal-time event 64\n”
    [    6188 ms] ~”SIG65         Yes\tYes\tYes\t\tReal-time event 65\n”
    [    6188 ms] ~”SIG66         Yes\tYes\tYes\t\tReal-time event 66\n”
    [    6188 ms] ~”SIG67         Yes\tYes\tYes\t\tReal-time event 67\n”
    [    6188 ms] ~”SIG68         Yes\tYes\tYes\t\tReal-time event 68\n”
    [    6188 ms] ~”SIG69         Yes\tYes\tYes\t\tReal-time event 69\n”
    [    6188 ms] ~”SIG70         Yes\tYes\tYes\t\tReal-time event 70\n”
    [    6188 ms] ~”SIG71         Yes\tYes\tYes\t\tReal-time event 71\n”
    [    6188 ms] ~”SIG72         Yes\tYes\tYes\t\tReal-time event 72\n”
    [    6188 ms] ~”SIG73         Yes\tYes\tYes\t\tReal-time event 73\n”
    [    6188 ms] ~”SIG74         Yes\tYes\tYes\t\tReal-time event 74\n”
    [    6189 ms] ~”SIG75         Yes\tYes\tYes\t\tReal-time event 75\n”
    [    6189 ms] ~”SIG76         Yes\tYes\tYes\t\tReal-time event 76\n”
    [    6189 ms] ~”SIG77         Yes\tYes\tYes\t\tReal-time event 77\n”
    [    6189 ms] ~”SIG78         Yes\tYes\tYes\t\tReal-time event 78\n”
    [    6189 ms] ~”SIG79         Yes\tYes\tYes\t\tReal-time event 79\n”
    [    6189 ms] ~”SIG80         Yes\tYes\tYes\t\tReal-time event 80\n”
    [    6189 ms] ~”SIG81         Yes\tYes\tYes\t\tReal-time event 81\n”
    [    6189 ms] ~”SIG82         Yes\tYes\tYes\t\tReal-time event 82\n”
    [    6189 ms] ~”SIG83         Yes\tYes\tYes\t\tReal-time event 83\n”
    [    6189 ms] ~”SIG84         Yes\tYes\tYes\t\tReal-time event 84\n”
    [    6189 ms] ~”SIG85         Yes\tYes\tYes\t\tReal-time event 85\n”
    [    6189 ms] ~”SIG86         Yes\tYes\tYes\t\tReal-time event 86\n”
    [    6189 ms] ~”SIG87         Yes\tYes\tYes\t\tReal-time event 87\n”
    [    6189 ms] ~”SIG88         Yes\tYes\tYes\t\tReal-time event 88\n”
    [    6189 ms] ~”SIG89         Yes\tYes\tYes\t\tReal-time event 89\n”
    [    6189 ms] ~”SIG90         Yes\tYes\tYes\t\tReal-time event 90\n”
    [    6189 ms] ~”SIG91         Yes\tYes\tYes\t\tReal-time event 91\n”
    [    6189 ms] ~”SIG92         Yes\tYes\tYes\t\tReal-time event 92\n”
    [    6189 ms] ~”SIG93         Yes\tYes\tYes\t\tReal-time event 93\n”
    [    6189 ms] ~”SIG94         Yes\tYes\tYes\t\tReal-time event 94\n”
    [    6189 ms] ~”SIG95         Yes\tYes\tYes\t\tReal-time event 95\n”
    [    6189 ms] ~”SIG96         Yes\tYes\tYes\t\tReal-time event 96\n”
    [    6189 ms] ~”SIG97         Yes\tYes\tYes\t\tReal-time event 97\n”
    [    6189 ms] ~”SIG98         Yes\tYes\tYes\t\tReal-time event 98\n”
    [    6189 ms] ~”SIG99         Yes\tYes\tYes\t\tReal-time event 99\n”
    [    6189 ms] ~”SIG100        Yes\tYes\tYes\t\tReal-time event 100\n”
    [    6189 ms] ~”SIG101        Yes\tYes\tYes\t\tReal-time event 101\n”
    [    6190 ms] ~”SIG102        Yes\tYes\tYes\t\tReal-time event 102\n”
    [    6190 ms] ~”SIG103        Yes\tYes\tYes\t\tReal-time event 103\n”
    [    6190 ms] ~”SIG104        Yes\tYes\tYes\t\tReal-time event 104\n”
    [    6190 ms] ~”SIG105        Yes\tYes\tYes\t\tReal-time event 105\n”
    [    6190 ms] ~”SIG106        Yes\tYes\tYes\t\tReal-time event 106\n”
    [    6190 ms] ~”SIG107        Yes\tYes\tYes\t\tReal-time event 107\n”
    [    6190 ms] ~”SIG108        Yes\tYes\tYes\t\tReal-time event 108\n”
    [    6190 ms] ~”SIG109        Yes\tYes\tYes\t\tReal-time event 109\n”
    [    6190 ms] ~”SIG110        Yes\tYes\tYes\t\tReal-time event 110\n”
    [    6190 ms] ~”SIG111        Yes\tYes\tYes\t\tReal-time event 111\n”
    [    6190 ms] ~”SIG112        Yes\tYes\tYes\t\tReal-time event 112\n”
    [    6190 ms] ~”SIG113        Yes\tYes\tYes\t\tReal-time event 113\n”
    [    6190 ms] ~”SIG114        Yes\tYes\tYes\t\tReal-time event 114\n”
    [    6190 ms] ~”SIG115        Yes\tYes\tYes\t\tReal-time event 115\n”
    [    6190 ms] ~”SIG116        Yes\tYes\tYes\t\tReal-time event 116\n”
    [    6190 ms] ~”SIG117        Yes\tYes\tYes\t\tReal-time event 117\n”
    [    6190 ms] ~”SIG118        Yes\tYes\tYes\t\tReal-time event 118\n”
    [    6190 ms] ~”SIG119        Yes\tYes\tYes\t\tReal-time event 119\n”
    [    6190 ms] ~”SIG120        Yes\tYes\tYes\t\tReal-time event 120\n”
    [    6190 ms] ~”SIG121        Yes\tYes\tYes\t\tReal-time event 121\n”
    [    6190 ms] ~”SIG122        Yes\tYes\tYes\t\tReal-time event 122\n”
    [    6190 ms] ~”SIG123        Yes\tYes\tYes\t\tReal-time event 123\n”
    [    6190 ms] ~”SIG124        Yes\tYes\tYes\t\tReal-time event 124\n”
    [    6190 ms] ~”SIG125        Yes\tYes\tYes\t\tReal-time event 125\n”
    [    6191 ms] ~”SIG126        Yes\tYes\tYes\t\tReal-time event 126\n”
    [    6191 ms] ~”SIG127        Yes\tYes\tYes\t\tReal-time event 127\n”
    [    6191 ms] ~”SIGINFO       Yes\tYes\tYes\t\tInformation request\n”
    [    6191 ms] ~”EXC_BAD_ACCESS Yes\tYes\tYes\t\tCould not access memory\n”
    [    6191 ms] ~”EXC_BAD_INSTRUCTION Yes\tYes\tYes\t\tIllegal instruction/operand\n”
    [    6191 ms] ~”EXC_ARITHMETIC Yes\tYes\tYes\t\tArithmetic exception\n”
    [    6191 ms] ~”EXC_EMULATION Yes\tYes\tYes\t\tEmulation instruction\n”
    [    6191 ms] ~”EXC_SOFTWARE  Yes\tYes\tYes\t\tSoftware generated exception\n”
    [    6191 ms] ~”EXC_BREAKPOINT Yes\tYes\tYes\t\tBreakpoint\n”
    [    6191 ms] ~”32            Yes\tYes\tYes\t\tLinuxThreads restart signal\n”
    [    6191 ms] ~”33            Yes\tYes\tYes\t\tLinuxThreads cancel signal\n”
    [    6191 ms] ~”34            Yes\tYes\tYes\t\tLinuxThreads debug signal\n”
    [    6191 ms] ~”\nUse the \”handle\” command to change these tables.\n”
    [    6191 ms] ^done
    [    6191 ms] -data-evaluate-expression “sizeof(void *)”
    [    6204 ms] ^done,value=”8″
    [    6204 ms] handle SIGALRM stop
    [    6205 ms] &”handle SIGALRM stop\n”
    [    6205 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6206 ms] ~”SIGALRM       Yes\tYes\tYes\t\tAlarm clock\n”
    [    6206 ms] ^done
    [    6206 ms] handle SIGURG stop
    [    6206 ms] &”handle SIGURG stop\n”
    [    6207 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6207 ms] ~”SIGURG        Yes\tYes\tYes\t\tUrgent I/O condition\n”
    [    6207 ms] ^done
    [    6207 ms] handle SIGCHLD stop
    [    6208 ms] &”handle SIGCHLD stop\n”
    [    6208 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6208 ms] ~”SIGCHLD       Yes\tYes\tYes\t\tChild status changed\n”
    [    6208 ms] ^done
    [    6208 ms] -data-evaluate-expression “sizeof(int)”
    [    6214 ms] ^done,value=”4″
    [    6214 ms] handle SIGIO stop
    [    6215 ms] &”handle SIGIO stop\n”
    [    6215 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6216 ms] ~”SIGIO         Yes\tYes\tYes\t\tI/O possible\n”
    [    6216 ms] ^done
    [    6216 ms] handle SIGVTALRM stop
    [    6217 ms] &”handle SIGVTALRM stop\n”
    [    6217 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6217 ms] ~”SIGVTALRM     Yes\tYes\tYes\t\tVirtual timer expired\n”
    [    6217 ms] ^done
    [    6217 ms] -data-evaluate-expression “sizeof(short)”
    [    6225 ms] ^done,value=”2″
    [    6225 ms] ^done,value=”2″
    [    6225 ms] handle SIGPROF stop
    [    6225 ms] &”handle SIGPROF stop\n”
    [    6226 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6226 ms] ~”SIGPROF       Yes\tYes\tYes\t\tProfiling timer expired\n”
    [    6226 ms] ^done
    [    6226 ms] handle SIGPOLL stop
    [    6227 ms] &”handle SIGPOLL stop\n”
    [    6227 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6227 ms] ~”SIGPOLL       Yes\tYes\tYes\t\tPollable event occurred\n”
    [    6227 ms] ^done
    [    6227 ms] -data-evaluate-expression “sizeof(long)”
    [    6234 ms] ^done,value=”8″
    [    6234 ms] handle SIGWAITING stop
    [    6235 ms] &”handle SIGWAITING stop\n”
    [    6235 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6236 ms] ~”SIGWAITING    Yes\tYes\tYes\t\tProcess’s LWPs are blocked\n”
    [    6236 ms] ^done
    [    6236 ms] handle SIGLWP stop
    [    6237 ms] &”handle SIGLWP stop\n”
    [    6237 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6237 ms] ~”SIGLWP        Yes\tYes\tYes\t\tSignal LWP\n”
    [    6237 ms] ^done
    [    6237 ms] -data-evaluate-expression “sizeof(long long)”
    [    6244 ms] ^done,value=”8″
    [    6244 ms] handle SIGPRIO stop
    [    6245 ms] &”handle SIGPRIO stop\n”
    [    6245 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6246 ms] ~”SIGPRIO       Yes\tYes\tYes\t\tSIGPRIO\n”
    [    6246 ms] ^done
    [    6246 ms] -data-evaluate-expression “sizeof(char)”
    [    6253 ms] ^done,value=”1″
    [    6253 ms] handle SIGCANCEL stop
    [    6254 ms] &”handle SIGCANCEL stop\n”
    [    6254 ms] ~”Signal        Stop\tPrint\tPass to program\tDescription\n”
    [    6254 ms] ~”SIGCANCEL     Yes\tYes\tYes\t\tLWP internal signal\n”
    [    6255 ms] ^done
    [    6255 ms] -exec-run
    [    6255 ms] =thread-group-started,id=”i1″,pid=”20082″
    [    6255 ms] =thread-created,id=”1″,group-id=”i1″
    [    6255 ms] ^running
    [    6255 ms] *running,thread-id=”all”
    [    6275 ms] =library-loaded,id=”/lib64/ld-linux-x86-64.so.2″,target-name=”/lib64/ld-linux-x86-64.so.2″,host-name=”/lib64/ld-linux-x86-64.so.2″,symbols-loaded=”0″,thread-group=”i1″
    [    6378 ms] =library-loaded,id=”linux-vdso.so.1″,target-name=”linux-vdso.so.1″,host-name=”linux-vdso.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6383 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/librt.so.1″,target-name=”/lib/x86_64-linux-gnu/librt.so.1″,host-name=”/lib/x86_64-linux-gnu/librt.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6384 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libfuse.so.2″,target-name=”/lib/x86_64-linux-gnu/libfuse.so.2″,host-name=”/lib/x86_64-linux-gnu/libfuse.so.2″,symbols-loaded=”0″,thread-group=”i1″
    [    6384 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libacl.so.1″,target-name=”/lib/x86_64-linux-gnu/libacl.so.1″,host-name=”/lib/x86_64-linux-gnu/libacl.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6385 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libdl.so.2″,target-name=”/lib/x86_64-linux-gnu/libdl.so.2″,host-name=”/lib/x86_64-linux-gnu/libdl.so.2″,symbols-loaded=”0″,thread-group=”i1″
    [    6385 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libncursesw.so.5″,target-name=”/lib/x86_64-linux-gnu/libncursesw.so.5″,host-name=”/lib/x86_64-linux-gnu/libncursesw.so.5″,symbols-loaded=”0″,thread-group=”i1″
    [    6385 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libblkid.so.1″,target-name=”/lib/x86_64-linux-gnu/libblkid.so.1″,host-name=”/lib/x86_64-linux-gnu/libblkid.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6386 ms] =library-loaded,id=”/usr/lib/x86_64-linux-gnu/libstdc++.so.6″,target-name=”/usr/lib/x86_64-linux-gnu/libstdc++.so.6″,host-name=”/usr/lib/x86_64-linux-gnu/libstdc++.so.6″,symbols-loaded=”0″,thread-group=”i1″
    [    6386 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libm.so.6″,target-name=”/lib/x86_64-linux-gnu/libm.so.6″,host-name=”/lib/x86_64-linux-gnu/libm.so.6″,symbols-loaded=”0″,thread-group=”i1″
    [    6386 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libgcc_s.so.1″,target-name=”/lib/x86_64-linux-gnu/libgcc_s.so.1″,host-name=”/lib/x86_64-linux-gnu/libgcc_s.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6387 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libpthread.so.0″,target-name=”/lib/x86_64-linux-gnu/libpthread.so.0″,host-name=”/lib/x86_64-linux-gnu/libpthread.so.0″,symbols-loaded=”0″,thread-group=”i1″
    [    6387 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libc.so.6″,target-name=”/lib/x86_64-linux-gnu/libc.so.6″,host-name=”/lib/x86_64-linux-gnu/libc.so.6″,symbols-loaded=”0″,thread-group=”i1″
    [    6387 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libattr.so.1″,target-name=”/lib/x86_64-linux-gnu/libattr.so.1″,host-name=”/lib/x86_64-linux-gnu/libattr.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6388 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libtinfo.so.5″,target-name=”/lib/x86_64-linux-gnu/libtinfo.so.5″,host-name=”/lib/x86_64-linux-gnu/libtinfo.so.5″,symbols-loaded=”0″,thread-group=”i1″
    [    6389 ms] =library-loaded,id=”/lib/x86_64-linux-gnu/libuuid.so.1″,target-name=”/lib/x86_64-linux-gnu/libuuid.so.1″,host-name=”/lib/x86_64-linux-gnu/libuuid.so.1″,symbols-loaded=”0″,thread-group=”i1″
    [    6441 ms] ~”[Thread debugging using libthread_db enabled]\n”
    [    6441 ms] ~”Using host libthread_db library \”/lib/x86_64-linux-gnu/libthread_db.so.1\”.\n”
    [    6641 ms] =thread-created,id=”2″,group-id=”i1″
    [    6641 ms] ~”[New Thread 0x7ffff5cf4700 (LWP 20091)]\n”
    [    6641 ms] *running,thread-id=”all”
    [    6691 ms] =thread-created,id=”3″,group-id=”i1″
    [    6691 ms] ~”[New Thread 0x7ffff54f3700 (LWP 20097)]\n”
    [    6691 ms] *running,thread-id=”all”
    [    6694 ms] =breakpoint-modified,bkpt={number=”10″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x00000000004aae46″,func=”MyClass::ThreadProc(Timer*)”,file=”MyClass.cpp”,fullname=”/home/builder/vGDB/uname/myapp/MyClass.cpp.cpp”,line=”242″,thread-groups=[“i1″],times=”1″,original-location=”MyClass.cpp.cpp:242″}
    [    6694 ms] ~”[Switching to Thread 0x7ffff54f3700 (LWP 20097)]\n”
    [    6713 ms] *stopped,reason=”breakpoint-hit”,disp=”keep”,bkptno=”10″,frame={addr=”0x00000000004aae46″,func=”MyClass::ThreadProc”,args=[{name=”this”,value=”0x1c0f010″},{name=”timer”,value=”0x1c7c880″}],file=”MyClass.cpp.cpp”,fullname=”/home/builder/vGDB/uname/myapp/MyClass.cpp.cpp”,line=”242″},thread-id=”3″,stopped-threads=”all”,core=”0″
    [    6714 ms] info shared
    [    6714 ms] &”info shared\n”
    [    6715 ms] ~”From                To                  Syms Read   Shared Object Library\n”
    [    6715 ms] ~”0x00007ffff7ddcae0  0x00007ffff7df5140  Yes         /lib64/ld-linux-x86-64.so.2\n”
    [    6716 ms] ~”                                        No          linux-vdso.so.1\n”
    [    6716 ms] ~”0x00007ffff7bd6350  0x00007ffff7bd906c  Yes         /lib/x86_64-linux-gnu/librt.so.1\n”
    [    6716 ms] ~”0x00007ffff799e680  0x00007ffff79b68db  Yes         /lib/x86_64-linux-gnu/libfuse.so.2\n”
    [    6716 ms] ~”0x00007ffff778ef80  0x00007ffff7792f61  Yes         /lib/x86_64-linux-gnu/libacl.so.1\n”
    [    6717 ms] ~”0x00007ffff7589ed0  0x00007ffff758a97e  Yes         /lib/x86_64-linux-gnu/libdl.so.2\n”
    [    6717 ms] ~”0x00007ffff735b5e0  0x00007ffff7380836  Yes         /lib/x86_64-linux-gnu/libncursesw.so.5\n”
    [    6717 ms] ~”0x00007ffff711b8e0  0x00007ffff7140fba  Yes         /lib/x86_64-linux-gnu/libblkid.so.1\n”
    [    6717 ms] ~”0x00007ffff6e638b0  0x00007ffff6ecbb1f  Yes         /usr/lib/x86_64-linux-gnu/libstdc++.so.6\n”
    [    6718 ms] ~”0x00007ffff6b0c580  0x00007ffff6b77d96  Yes         /lib/x86_64-linux-gnu/libm.so.6\n”
    [    6718 ms] ~”0x00007ffff68f3ab0  0x00007ffff69039a5  Yes         /lib/x86_64-linux-gnu/libgcc_s.so.1\n”
    [    6718 ms] ~”0x00007ffff66d99b0  0x00007ffff66e5711  Yes         /lib/x86_64-linux-gnu/libpthread.so.0\n”
    [    6718 ms] ~”0x00007ffff63484a0  0x00007ffff6474943  Yes         /lib/x86_64-linux-gnu/libc.so.6\n”
    [    6718 ms] ~”0x00007ffff61253d0  0x00007ffff61274aa  Yes         /lib/x86_64-linux-gnu/libattr.so.1\n”
    [    6719 ms] ~”0x00007ffff5f06e40  0x00007ffff5f12e88  Yes         /lib/x86_64-linux-gnu/libtinfo.so.5\n”
    [    6719 ms] ~”0x00007ffff5cf6620  0x00007ffff5cf7ce7  Yes         /lib/x86_64-linux-gnu/libuuid.so.1\n”
    [    6719 ms] ^done
    [    7574 ms] -break-after 10 0
    [    7575 ms] ^done
    [    7695 ms] -stack-list-frames –thread 3
    [    7810 ms] ^done,stack=[frame={level=”0″,addr=”0x00000000004aae46″,func=”MyClass::ThreadProc”,file=”MyClass.cpp”,fullname=”/home/builder/vGDB/saksenov/myapp/MyClass.cpp”,line=”242″},frame={level=”1″,addr=”0x00000000004aec62″,func=”boost::_mfi::mf1<void, MyClass, Timer*>::operator()”,file=”/usr/local/include/boost/bind/mem_fn_template.hpp”,fullname=”/usr/local/include/boost/bind/mem_fn_template.hpp”,line=”165″},frame={level=”2″,addr=”0x00000000004aea1d”,func=”boost::_bi::list2<boost::_bi::value<MyClass*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, MyClass, Timer*>, boost::_bi::list1<Timer*&> >”,file=”/usr/local/include/boost/bind/bind.hpp”,fullname=”/usr/local/include/boost/bind/bind.hpp”,line=”319″},frame={level=”3″,addr=”0x00000000004ae8b0″,func=”boost::_bi::bind_t<void, boost::_mfi::mf1<void, MyClass, Timer*>, boost::_bi::list2<boost::_bi::value<MyClass*>, boost::arg<1> > >::operator()<Timer*>”,file=”/usr/local/include/boost/bind/bind_template.hpp”,fullname=”/usr/local/include/boost/bind/bind_template.hpp”,line=”32″},frame={level=”4″,addr=”0x00000000004ae603″,func=”boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, MyClass, Timer*>, boost::_bi::list2<boost::_bi::value<MyClass*>, boost::arg<1> > >, void, Timer*>::invoke”,file=”/usr/local/include/boost/function/function_template.hpp”,fullname=”/usr/local/include/boost/function/function_template.hpp”,line=”159″},frame={level=”5″,addr=”0x0000000000a602e6″,func=”boost::function1<void, Timer*>::operator()”,file=”/usr/local/include/boost/function/function_template.hpp”,fullname=”/usr/local/include/boost/function/function_template.hpp”,line=”771″},frame={level=”6″,addr=”0x0000000000a600d8″,func=”Timer::doIt”,file=”../Timer.cpp”,fullname=”/home/builder/vGDB/uname/MyApp/../Timer.cpp”,line=”41″},frame={level=”7″,addr=”0x0000000000a6109f”,func=”TimerBase::threadProc”,file=”../TimerBase.cpp”,fullname=”/home/builder/vGDB/uname/MyApp/../TimerBase.cpp”,line=”90″},frame={level=”8″,addr=”0x0000000000a621a7″,func=”boost::_mfi::mf0<void, TimerBase>::operator()”,file=”/usr/local/include/boost/bind/mem_fn_template.hpp”,fullname=”/usr/local/include/boost/bind/mem_fn_template.hpp”,line=”49″},frame={level=”9″,addr=”0x0000000000a61fbc”,func=”boost::_bi::list1<boost::_bi::value<TimerBase*> >::operator()<boost::_mfi::mf0<void, TimerBase>, boost::_bi::list0>”,file=”/usr/local/include/boost/bind/bind.hpp”,fullname=”/usr/local/include/boost/bind/bind.hpp”,line=”259″},frame={level=”10″,addr=”0x0000000000a61e8f”,func=”boost::_bi::bind_t<void, boost::_mfi::mf0<void, TimerBase>, boost::_bi::list1<boost::_bi::value<TimerBase*> > >::operator()”,file=”/usr/local/include/boost/bind/bind_template.hpp”,fullname=”/usr/local/include/boost/bind/bind_template.hpp”,line=”20″},frame={level=”11″,addr=”0x0000000000a61dcb”,func=”boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, TimerBase>, boost::_bi::list1<boost::_bi::value<TimerBase*> > >, void>::invoke”,file=”/usr/local/include/boost/function/function_template.hpp”,fullname=”/usr/local/include/boost/function/function_template.hpp”,line=”159″},frame={level=”12″,addr=”0x00000000004602a1″,func=”boost::function0<void>::operator()”,file=”/usr/local/include/boost/function/function_template.hpp”,fullname=”/usr/local/include/boost/function/function_template.hpp”,line=”771″},frame={level=”13″,addr=”0x0000000000c4771a”,func=”synch::Thread::Start(boost::function<void ()>, std::string const&)”,file=”../CommonLib/synch/thread/Thread.cpp”,fullname=”/home/builder/vGDB/uname/myapp/../CommonLib/synch/thread/Thread.cpp”,line=”181″},frame={level=”14″,addr=”0x0000000000c48d06″,func=”_ZNK5boost4_mfi3mf2IvN5synch6ThreadENS_8functionIFvvEEERKSsEclEPS3_S6_S8_”},frame={level=”15″,addr=”0x0000000000c48bbb”,func=”_ZN5boost3_bi5list3INS0_5valueIPN5synch6ThreadEEENS2_INS_8functionIFvvEEEEENS2_ISsEEEclINS_4_mfi3mf2IvS4_S9_RKSsEENS0_5list0EEEvNS0_4typeIvEERT_RT0_i”},frame={level=”16″,addr=”0x0000000000c48b0d”,func=”_ZN5boost3_bi6bind_tIvNS_4_mfi3mf2IvN5synch6ThreadENS_8functionIFvvEEERKSsEENS0_5list3INS0_5valueIPS5_EENSD_IS8_EENSD_ISsEEEEEclEv”},frame={level=”17″,addr=”0x0000000000c48acc”,func=”_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf2IvN5synch6ThreadENS_8functionIFvvEEERKSsEENS2_5list3INS2_5valueIPS7_EENSF_ISA_EENSF_ISsEEEEEEE3runEv”},frame={level=”18″,addr=”0x0000000000af109b”,func=”thread_proxy”},frame={level=”19″,addr=”0x00007ffff66dc064″,func=”start_thread”,file=”pthread_create.c”,fullname=”/build/glibc-qK83Be/glibc-2.19/nptl/pthread_create.c”,line=”309″},frame={level=”20″,addr=”0x00007ffff641162d”,func=”clone”,file=”../sysdeps/unix/sysv/linux/x86_64/clone.S”,fullname=”/build/glibc-qK83Be/glibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S”,line=”111″}]
    [    7817 ms] -stack-list-arguments –thread 3 1
    [    8010 ms] bash: line 1: 20073 Ошибка сегментирования                   “gdb” –interpreter mi –args “/home/builder/lpb_test/myapp” ui

     

    #10506
    support
    Keymaster

    Hi,

    This looks like your gdb binary crashes when trying to list the arguments for the stack frames. Please try using a newer version of gdb (not VisualGDB) or disable the “argument values” checkbox in the Call Stack window so that VisualGDB won’t query argument values from gdb.

    #10509
    k0taperk0t
    Participant

    I already use last version gdb available for Debian 7.

    disable the “argument values” checkbox in the Call Stack window so that VisualGDB won’t query argument values from gdb.

    It helped, thanks.

    • This reply was modified 7 years, 8 months ago by k0taperk0t.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.