gdb crashing

Sysprogs forums Forums VisualGDB gdb crashing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12324
    dmott
    Participant

    Hi, can you tell whats going wrong with this trace?

     

    VisualGDB is licensed to David Mott
    gdb –interpreter mi –args “/tmp/VisualGDB/c/src/sptest/Debug/sptest”
    =thread-group-added,id=”i1″
    -gdb-version
    GNU gdb (GDB) SUSE (7.5.1-0.7.29)
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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-suse-linux”.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>&#8230;
    Reading symbols from /tmp/VisualGDB/c/src/sptest/Debug/sptest…
    done.
    GNU gdb (GDB) SUSE (7.5.1-0.7.29)
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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-suse-linux”.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/&gt;.
    OK
    -list-features
    ^done,features=[“frozen-varobjs”,”pending-breakpoints”,”thread-info”,”data-read-memory-bytes”,”breakpoint-notifications”,”ada-task-info”,”python”]
    -gdb-set disassembly-flavor intel
    OK
    -gdb-set print demangle off
    OK
    -break-insert -f main
    ^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x0000000000401381″,func=”main(int, char**)”,file=”sptest.cpp”,fullname=”/tmp/VisualGDB/c/src/sptest/sptest.cpp”,line=”25″,times=”0″,original-location=”main”}
    -gdb-set solib-search-path /tmp/VisualGDB/c/src/sptest/Debug
    OK
    -gdb-show sysroot
    OK
    -gdb-show debug-file-directory
    ^done,value=”/usr/lib/debug”
    info target
    &”info target\n”
    Symbols from “/tmp/VisualGDB/c/src/sptest/Debug/sptest”.
    Local exec file:

    /tmp/VisualGDB/c/src/sptest/Debug/sptest', file type elf64-x86-64.
    Entry point: 0x400ed0
    0x0000000000400238 - 0x0000000000400254 is .interp
    0x0000000000400254 - 0x0000000000400274 is .note.ABI-tag
    0x0000000000400274 - 0x000000000040028c is .note.SuSE
    0x000000000040028c - 0x00000000004002b0 is .note.gnu.build-id
    0x00000000004002b0 - 0x000000000040038c is .hash
    0x0000000000400390 - 0x00000000004003d4 is .gnu.hash
    0x00000000004003d8 - 0x0000000000400738 is .dynsym
    0x0000000000400738 - 0x00000000004009cd is .dynstr
    0x00000000004009ce - 0x0000000000400a16 is .gnu.version
    0x0000000000400a18 - 0x0000000000400a88 is .gnu.version_r
    0x0000000000400a88 - 0x0000000000400ae8 is .rela.dyn
    0x0000000000400ae8 - 0x0000000000400d28 is .rela.plt
    0x0000000000400d28 - 0x0000000000400d40 is .init
    0x0000000000400d40 - 0x0000000000400ed0 is .plt
    0x0000000000400ed0 - 0x00000000004015e6 is .text
    0x00000000004015e8 - 0x00000000004015fe is .fini
    0x0000000000401600 - 0x0000000000401a48 is .rodata
    0x0000000000401a48 - 0x0000000000401acc is .eh_frame_hdr
    0x0000000000401ad0 - 0x0000000000401d4c is .eh_frame
    0x0000000000401d4c - 0x0000000000401dbd is .gcc_except_table
    0x0000000000601dc8 - 0x0000000000601de0 is .ctors
    0x0000000000601de0 - 0x0000000000601df0 is .dtors
    0x0000000000601df0 - 0x0000000000601df8 is .jcr
    0x0000000000601df8 - 0x0000000000601ff8 is .dynamic
    0x0000000000601ff8 - 0x0000000000602000 is .got
    0x0000000000602000 - 0x00000000006020d8 is .got.plt
    0x00000000006020d8 - 0x00000000006020e0 is .data
    0x00000000006020e0 - 0x0000000000602190 is .bss
    OK
    -break-insert -f /tmp/VisualGDB/c/src/sptest/sptest.cpp:25
    ^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000401381",func="main(int, char**)",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25",times="0",original-location="/tmp/VisualGDB/c/src/sptest/sptest.cpp:25"}
    -break-after 2 0
    OK
    info symbol 0x401381
    &"info symbol 0x401381\n"
    main + 24 in section .text
    OK
    info line *0x401381
    &"info line *0x401381\n"
    Line 25 of "sptest.cpp" starts at address 0x401381 <main(int, char**)+24> and ends at 0x40138d <main(int, char**)+36>.
    OK
    -file-list-exec-source-files
    ^done,files=[{file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp"},{file="/usr/include/c++/4.3/bits/locale_facets.h",fullname="/usr/include/c++/4.3/bits/locale_facets.h"},{file="/usr/include/c++/4.3/x86_64-suse-linux/bits/ctype_base.h",fullname="/usr/include/c++/4.3/x86_64-suse-linux/bits/ctype_base.h"},{file="/usr/include/c++/4.3/ext/numeric_traits.h",fullname="/usr/include/c++/4.3/ext/numeric_traits.h"},{file="/opt/tivoli/tsm/client/api/bin64/sample/release.h",fullname="/opt/tivoli/tsm/client/api/bin64/sample/release.h"},{file="/opt/tivoli/tsm/client/api/bin64/sample/dsmapips.h",fullname="/opt/tivoli/tsm/client/api/bin64/sample/dsmapips.h"},{file="/usr/include/wctype.h",fullname="/usr/include/wctype.h"},{file="/usr/include/c++/4.3/bits/locale_classes.h",fullname="/usr/include/c++/4.3/bits/locale_classes.h"},{file="/usr/include/c++/4.3/bits/basic_string.tcc",fullname="/usr/include/c++/4.3/bits/basic_string.tcc"},{file="/usr/include/c++/4.3/bits/allocator.h",fullname="/usr/include/c++/4.3/bits/allocator.h"},{file="/usr/include/c++/4.3/ext/new_allocator.h",fullname="/usr/include/c++/4.3/ext/new_allocator.h"},{file="/usr/include/c++/4.3/x86_64-suse-linux/bits/atomic_word.h",fullname="/usr/include/c++/4.3/x86_64-suse-linux/bits/atomic_word.h"},{file="/usr/include/c++/4.3/x86_64-suse-linux/bits/gthr-default.h",fullname="/usr/include/c++/4.3/x86_64-suse-linux/bits/gthr-default.h"},{file="/usr/include/locale.h",fullname="/usr/include/locale.h"},{file="/usr/include/_G_config.h",fullname="/usr/include/_G_config.h"},{file="/usr/include/c++/4.3/debug/debug.h",fullname="/usr/include/c++/4.3/debug/debug.h"},{file="/usr/include/time.h",fullname="/usr/include/time.h"},{file="/usr/include/wchar.h",fullname="/usr/include/wchar.h"},{file="<built-in>"},{file="/usr/include/libio.h",fullname="/usr/include/libio.h"},{file="/usr/include/stdio.h",fullname="/usr/include/stdio.h"},{file="/usr/include/bits/pthreadtypes.h",fullname="/usr/include/bits/pthreadtypes.h"},{file="/usr/include/sys/types.h",fullname="/usr/include/sys/types.h"},{file="/usr/include/bits/types.h",fullname="/usr/include/bits/types.h"},{file="/usr/include/stdlib.h",fullname="/usr/include/stdlib.h"},{file="/usr/include/c++/4.3/iosfwd",fullname="/usr/include/c++/4.3/iosfwd"},{file="/usr/include/c++/4.3/cwctype",fullname="/usr/include/c++/4.3/cwctype"},{file="/usr/include/c++/4.3/bits/basic_string.h",fullname="/usr/include/c++/4.3/bits/basic_string.h"},{file="/usr/include/c++/4.3/bits/ios_base.h",fullname="/usr/include/c++/4.3/bits/ios_base.h"},{file="/usr/include/c++/4.3/bits/stringfwd.h",fullname="/usr/include/c++/4.3/bits/stringfwd.h"},{file="/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h",fullname="/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h"},{file="/usr/include/c++/4.3/clocale",fullname="/usr/include/c++/4.3/clocale"},{file="/usr/include/c++/4.3/cstdio",fullname="/usr/include/c++/4.3/cstdio"},{file="/usr/include/c++/4.3/cwchar",fullname="/usr/include/c++/4.3/cwchar"},{file="/usr/include/c++/4.3/cstdlib",fullname="/usr/include/c++/4.3/cstdlib"},{file="/usr/include/c++/4.3/cstddef",fullname="/usr/include/c++/4.3/cstddef"},{file="/usr/include/c++/4.3/iostream",fullname="/usr/include/c++/4.3/iostream"},{file="CacheSPFlush.hpp",fullname="/tmp/VisualGDB/c/src/sptest/CacheSPFlush.hpp"},{file="/opt/tivoli/tsm/client/api/bin64/sample/dsmapitd.h",fullname="/opt/tivoli/tsm/client/api/bin64/sample/dsmapitd.h"},{file="SPAPI.hpp",fullname="/tmp/VisualGDB/c/src/sptest/SPAPI.hpp"},{file="sptest_deps.hpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest_deps.hpp"},{file="/usr/include/c++/4.3/exception",fullname="/usr/include/c++/4.3/exception"},{file="elf-init.c"},{file="/usr/include/c++/4.3/iostream",fullname="/usr/include/c++/4.3/iostream"},{file="CacheSPFlush.hpp"},{file="/opt/tivoli/tsm/client/api/bin64/sample/dsmapitd.h",fullname="/opt/tivoli/tsm/client/api/bin64/sample/dsmapitd.h"},{file="SPAPI.hpp"},{file="sptest_deps.hpp"},{file="/usr/include/c++/4.3/exception",fullname="/usr/include/c++/4.3/exception"},{file="init.c"},{file="../sysdeps/x86_64/elf/start.S"}]
    -break-insert -f /tmp/VisualGDB/c/src/sptest/SPAPI.hpp:25
    ^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040129f",func="sp::exception::_throw_err(short, unsigned int, char const*, int, char const*)",file="SPAPI.hpp",fullname="/tmp/VisualGDB/c/src/sptest/SPAPI.hpp",line="25",times="0",original-location="/tmp/VisualGDB/c/src/sptest/SPAPI.hpp:25"}
    -break-after 3 0
    OK
    info symbol 0x40129f
    &"info symbol 0x40129f\n"
    _ZN2sp9exception10_throw_errEsjPKciS2_ + 29 in section .text
    OK
    info line *0x40129f
    &"info line *0x40129f\n"
    Line 25 of "SPAPI.hpp" starts at address 0x40129f <sp::exception::_throw_err(short, unsigned int, char const*, int, char const*)+29> and ends at 0x4012aa <sp::exception::_throw_err(short, unsigned int, char const*, int, char const*)+40>.
    OK
    info signals
    &"info signals\n"
    Signal Stop Print Pass to program Description
    
    SIGHUP Yes Yes Yes Hangup
    SIGINT Yes Yes No Interrupt
    SIGQUIT Yes Yes Yes Quit
    SIGILL Yes Yes Yes Illegal instruction
    SIGTRAP Yes Yes No Trace/breakpoint trap
    SIGABRT Yes Yes Yes Aborted
    SIGEMT Yes Yes Yes Emulation trap
    SIGFPE Yes Yes Yes Arithmetic exception
    SIGKILL Yes Yes Yes Killed
    SIGBUS Yes Yes Yes Bus error
    SIGSEGV Yes Yes Yes Segmentation fault
    SIGSYS Yes Yes Yes Bad system call
    SIGPIPE Yes Yes Yes Broken pipe
    SIGALRM No No Yes Alarm clock
    SIGTERM Yes Yes Yes Terminated
    SIGURG No No Yes Urgent I/O condition
    SIGSTOP Yes Yes Yes Stopped (signal)
    SIGTSTP Yes Yes Yes Stopped (user)
    SIGCONT Yes Yes Yes Continued
    SIGCHLD No No Yes Child status changed
    SIGTTIN Yes Yes Yes Stopped (tty input)
    SIGTTOU Yes Yes Yes Stopped (tty output)
    SIGIO No No Yes I/O possible
    SIGXCPU Yes Yes Yes CPU time limit exceeded
    SIGXFSZ Yes Yes Yes File size limit exceeded
    SIGVTALRM No No Yes Virtual timer expired
    SIGPROF No No Yes Profiling timer expired
    SIGWINCH No No Yes Window size changed
    SIGLOST Yes Yes Yes Resource lost
    SIGUSR1 Yes Yes Yes User defined signal 1
    SIGUSR2 Yes Yes Yes User defined signal 2
    SIGPWR Yes Yes Yes Power fail/restart
    SIGPOLL No No Yes Pollable event occurred
    SIGWIND Yes Yes Yes SIGWIND
    SIGPHONE Yes Yes Yes SIGPHONE
    SIGWAITING No No Yes Process's LWPs are blocked
    SIGLWP No No Yes Signal LWP
    SIGDANGER Yes Yes Yes Swap space dangerously low
    SIGGRANT Yes Yes Yes Monitor mode granted
    SIGRETRACT Yes Yes Yes Need to relinquish monitor mode
    SIGMSG Yes Yes Yes Monitor mode data available
    SIGSOUND Yes Yes Yes Sound completed
    SIGSAK Yes Yes Yes Secure attention
    SIGPRIO No No Yes SIGPRIO
    SIG33 Yes Yes Yes Real-time event 33
    SIG34 Yes Yes Yes Real-time event 34
    SIG35 Yes Yes Yes Real-time event 35
    SIG36 Yes Yes Yes Real-time event 36
    SIG37 Yes Yes Yes Real-time event 37
    SIG38 Yes Yes Yes Real-time event 38
    SIG39 Yes Yes Yes Real-time event 39
    SIG40 Yes Yes Yes Real-time event 40
    SIG41 Yes Yes Yes Real-time event 41
    SIG42 Yes Yes Yes Real-time event 42
    SIG43 Yes Yes Yes Real-time event 43
    SIG44 Yes Yes Yes Real-time event 44
    SIG45 Yes Yes Yes Real-time event 45
    SIG46 Yes Yes Yes Real-time event 46
    SIG47 Yes Yes Yes Real-time event 47
    SIG48 Yes Yes Yes Real-time event 48
    SIG49 Yes Yes Yes Real-time event 49
    SIG50 Yes Yes Yes Real-time event 50
    SIG51 Yes Yes Yes Real-time event 51
    SIG52 Yes Yes Yes Real-time event 52
    SIG53 Yes Yes Yes Real-time event 53
    SIG54 Yes Yes Yes Real-time event 54
    SIG55 Yes Yes Yes Real-time event 55
    SIG56 Yes Yes Yes Real-time event 56
    SIG57 Yes Yes Yes Real-time event 57
    SIG58 Yes Yes Yes Real-time event 58
    SIG59 Yes Yes Yes Real-time event 59
    SIG60 Yes Yes Yes Real-time event 60
    SIG61 Yes Yes Yes Real-time event 61
    SIG62 Yes Yes Yes Real-time event 62
    SIG63 Yes Yes Yes Real-time event 63
    SIGCANCEL No No Yes LWP internal signal
    SIG32 Yes Yes Yes Real-time event 32
    SIG64 Yes Yes Yes Real-time event 64
    SIG65 Yes Yes Yes Real-time event 65
    SIG66 Yes Yes Yes Real-time event 66
    SIG67 Yes Yes Yes Real-time event 67
    SIG68 Yes Yes Yes Real-time event 68
    SIG69 Yes Yes Yes Real-time event 69
    SIG70 Yes Yes Yes Real-time event 70
    SIG71 Yes Yes Yes Real-time event 71
    SIG72 Yes Yes Yes Real-time event 72
    SIG73 Yes Yes Yes Real-time event 73
    SIG74 Yes Yes Yes Real-time event 74
    SIG75 Yes Yes Yes Real-time event 75
    SIG76 Yes Yes Yes Real-time event 76
    SIG77 Yes Yes Yes Real-time event 77
    SIG78 Yes Yes Yes Real-time event 78
    SIG79 Yes Yes Yes Real-time event 79
    SIG80 Yes Yes Yes Real-time event 80
    SIG81 Yes Yes Yes Real-time event 81
    SIG82 Yes Yes Yes Real-time event 82
    SIG83 Yes Yes Yes Real-time event 83
    SIG84 Yes Yes Yes Real-time event 84
    SIG85 Yes Yes Yes Real-time event 85
    SIG86 Yes Yes Yes Real-time event 86
    SIG87 Yes Yes Yes Real-time event 87
    SIG88 Yes Yes Yes Real-time event 88
    SIG89 Yes Yes Yes Real-time event 89
    SIG90 Yes Yes Yes Real-time event 90
    SIG91 Yes Yes Yes Real-time event 91
    SIG92 Yes Yes Yes Real-time event 92
    SIG93 Yes Yes Yes Real-time event 93
    SIG94 Yes Yes Yes Real-time event 94
    SIG95 Yes Yes Yes Real-time event 95
    SIG96 Yes Yes Yes Real-time event 96
    SIG97 Yes Yes Yes Real-time event 97
    SIG98 Yes Yes Yes Real-time event 98
    SIG99 Yes Yes Yes Real-time event 99
    SIG100 Yes Yes Yes Real-time event 100
    SIG101 Yes Yes Yes Real-time event 101
    SIG102 Yes Yes Yes Real-time event 102
    SIG103 Yes Yes Yes Real-time event 103
    SIG104 Yes Yes Yes Real-time event 104
    SIG105 Yes Yes Yes Real-time event 105
    SIG106 Yes Yes Yes Real-time event 106
    SIG107 Yes Yes Yes Real-time event 107
    SIG108 Yes Yes Yes Real-time event 108
    SIG109 Yes Yes Yes Real-time event 109
    SIG110 Yes Yes Yes Real-time event 110
    SIG111 Yes Yes Yes Real-time event 111
    SIG112 Yes Yes Yes Real-time event 112
    SIG113 Yes Yes Yes Real-time event 113
    SIG114 Yes Yes Yes Real-time event 114
    SIG115 Yes Yes Yes Real-time event 115
    SIG116 Yes Yes Yes Real-time event 116
    SIG117 Yes Yes Yes Real-time event 117
    SIG118 Yes Yes Yes Real-time event 118
    SIG119 Yes Yes Yes Real-time event 119
    SIG120 Yes Yes Yes Real-time event 120
    SIG121 Yes Yes Yes Real-time event 121
    SIG122 Yes Yes Yes Real-time event 122
    SIG123 Yes Yes Yes Real-time event 123
    SIG124 Yes Yes Yes Real-time event 124
    SIG125 Yes Yes Yes Real-time event 125
    SIG126 Yes Yes Yes Real-time event 126
    SIG127 Yes Yes Yes Real-time event 127
    SIGINFO Yes Yes Yes Information request
    EXC_BAD_ACCESS Yes Yes Yes Could not access memory
    EXC_BAD_INSTRUCTION Yes Yes Yes Illegal instruction/operand
    EXC_ARITHMETIC Yes Yes Yes Arithmetic exception
    EXC_EMULATION Yes Yes Yes Emulation instruction
    EXC_SOFTWARE Yes Yes Yes Software generated exception
    EXC_BREAKPOINT Yes Yes Yes Breakpoint
    Use the "handle" command to change these tables.
    OK
    -data-evaluate-expression "sizeof(void *)"
    ^done,value="8"
    -data-evaluate-expression "sizeof(int)"
    ^done,value="4"
    -data-evaluate-expression "sizeof(short)"
    ^done,value="2"
    -data-evaluate-expression "sizeof(long)"
    ^done,value="8"
    handle SIGALRM stop
    &"handle SIGALRM stop\n"
    Signal Stop Print Pass to program Description
    SIGALRM Yes Yes Yes Alarm clock
    OK
    handle SIGURG stop
    &"handle SIGURG stop\n"
    Signal Stop Print Pass to program Description
    SIGURG Yes Yes Yes Urgent I/O condition
    OK
    handle SIGCHLD stop
    &"handle SIGCHLD stop\n"
    Signal Stop Print Pass to program Description
    SIGCHLD Yes Yes Yes Child status changed
    OK
    handle SIGIO stop
    &"handle SIGIO stop\n"
    Signal Stop Print Pass to program Description
    SIGIO Yes Yes Yes I/O possible
    OK
    handle SIGVTALRM stop
    &"handle SIGVTALRM stop\n"
    Signal Stop Print Pass to program Description
    SIGVTALRM Yes Yes Yes Virtual timer expired
    OK
    -data-evaluate-expression "sizeof(long long)"
    ^done,value="8"
    -data-evaluate-expression "sizeof(char)"
    ^done,value="1"
    -data-evaluate-expression "sizeof(wchar_t)"
    ^done,value="4"
    -data-evaluate-expression "sizeof(float)"
    ^done,value="4"
    -data-evaluate-expression "sizeof(double)"
    ^done,value="8"
    handle SIGPROF stop
    &"handle SIGPROF stop\n"
    Signal Stop Print Pass to program Description
    SIGPROF Yes Yes Yes Profiling timer expired
    OK
    handle SIGWINCH stop
    &"handle SIGWINCH stop\n"
    Signal Stop Print Pass to program Description
    SIGWINCH Yes Yes Yes Window size changed
    OK
    handle SIGPOLL stop
    &"handle SIGPOLL stop\n"
    Signal Stop Print Pass to program Description
    SIGPOLL Yes Yes Yes Pollable event occurred
    OK
    -data-evaluate-expression "sizeof(long double)"
    ^done,value="16"
    handle SIGWAITING stop
    &"handle SIGWAITING stop\n"
    Signal Stop Print Pass to program Description
    SIGWAITING Yes Yes Yes Process's LWPs are blocked
    OK
    handle SIGLWP stop
    &"handle SIGLWP stop\n"
    Signal Stop Print Pass to program Description
    SIGLWP Yes Yes Yes Signal LWP
    OK
    handle SIGPRIO stop
    &"handle SIGPRIO stop\n"
    Signal Stop Print Pass to program Description
    SIGPRIO Yes Yes Yes SIGPRIO
    OK
    handle SIGCANCEL stop
    &"handle SIGCANCEL stop\n"
    Signal Stop Print Pass to program Description
    SIGCANCEL Yes Yes Yes LWP internal signal
    OK
    -exec-run
    =thread-group-started,id="i1",pid="20423"
    =thread-created,id="1",group-id="i1"
    ^running
    *running,thread-id="all"
    =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"
    &"Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2\n"
    &"Try: zypper install -C \"debuginfo(build-id)=a95c0ce9f9752baf052d3b55b3b8ce19f662d2eb\"\n"
    =library-loaded,id="/usr/lib64/libApiTSM64.so",target-name="/usr/lib64/libApiTSM64.so",host-name="/usr/lib64/libApiTSM64.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libstdc++.so.6",target-name="/usr/lib64/libstdc++.so.6",host-name="/usr/lib64/libstdc++.so.6",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name="/lib64/libm.so.6",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libgcc_s.so.1",target-name="/lib64/libgcc_s.so.1",host-name="/lib64/libgcc_s.so.1",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="/lib64/libc.so.6",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libcrypt.so.1",target-name="/lib64/libcrypt.so.1",host-name="/lib64/libcrypt.so.1",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libpthread.so.0",target-name="/lib64/libpthread.so.0",host-name="/lib64/libpthread.so.0",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/libdl.so.2",target-name="/lib64/libdl.so.2",host-name="/lib64/libdl.so.2",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libgpfs.so",target-name="/usr/lib64/libgpfs.so",host-name="/usr/lib64/libgpfs.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libdmapi.so",target-name="/usr/lib64/libdmapi.so",host-name="/usr/lib64/libdmapi.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/lib64/librt.so.1",target-name="/lib64/librt.so.1",host-name="/lib64/librt.so.1",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libxmlutil-8.1.0.0.so",target-name="/usr/lib64/libxmlutil-8.1.0.0.so",host-name="/usr/lib64/libxmlutil-8.1.0.0.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libgsk8ssl_64.so",target-name="/usr/lib64/libgsk8ssl_64.so",host-name="/usr/lib64/libgsk8ssl_64.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libgsk8iccs_64.so",target-name="/usr/lib64/libgsk8iccs_64.so",host-name="/usr/lib64/libgsk8iccs_64.so",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libtsmxerces-depdom.so.28",target-name="/usr/lib64/libtsmxerces-depdom.so.28",host-name="/usr/lib64/libtsmxerces-depdom.so.28",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libtsmxerces-c.so.28",target-name="/usr/lib64/libtsmxerces-c.so.28",host-name="/usr/lib64/libtsmxerces-c.so.28",symbols-loaded="0",thread-group="i1"
    =library-loaded,id="/usr/lib64/libgsk8cms_64.so",target-name="/usr/lib64/libgsk8cms_64.so",host-name="/usr/lib64/libgsk8cms_64.so",symbols-loaded="0",thread-group="i1"
    &"Missing separate debuginfo for /usr/lib64/libstdc++.so.6\n"
    &"Try: zypper install -C \"debuginfo(build-id)=2f51a06469a025d507534fe292dcf4e02235bd18\"\n"
    &"Missing separate debuginfo for /lib64/libm.so.6\n"
    &"Try: zypper install -C \"debuginfo(build-id)=d4191084441e39a7b480fc4b41f67083812e9811\"\n"
    &"Missing separate debuginfo for /lib64/libgcc_s.so.1\n"
    &"Try: zypper install -C \"debuginfo(build-id)=3b149eccd897f1f37dce50ad22614043eba757a2\"\n"
    &"Missing separate debuginfo for /lib64/libc.so.6\n"
    &"Try: zypper install -C \"debuginfo(build-id)=bb7f40274b99e56cac0a566aabe26e66eb5c35e2\"\n"
    &"Missing separate debuginfo for /lib64/libcrypt.so.1\n"
    &"Try: zypper install -C \"debuginfo(build-id)=039e24a0626600a94f24862d15730786e863ef7b\"\n"
    &"Missing separate debuginfo for /lib64/libpthread.so.0\n"
    &"Try: zypper install -C \"debuginfo(build-id)=91334fd8105f0b62c0bdbbec14b45a9fd043f4c3\"\n"
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib64/libthread_db.so.1".
    &"Missing separate debuginfo for /lib64/libdl.so.2\n"
    &"Try: zypper install -C \"debuginfo(build-id)=32c1c7a7a20b54ac3af6b2f436b3375ffeb12f0b\"\n"
    &"Missing separate debuginfo for /usr/lib64/libgpfs.so\n"
    &"Missing separate debuginfo for /usr/lib64/libdmapi.so\n"
    &"Missing separate debuginfo for /lib64/librt.so.1\n"
    &"Try: zypper install -C \"debuginfo(build-id)=682e4f7a27ee294a58f17249a0717861db546f2d\"\n"
    =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000401381",func="main(int, char**)",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25",times="1",original-location="main"}
    =breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000401381",func="main(int, char**)",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25",times="1",original-location="/tmp/VisualGDB/c/src/sptest/sptest.cpp:25"}
    *stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x0000000000401381",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fffffffe328"}],file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25"},thread-id="1",stopped-threads="all",core="1"
    info shared
    &"info shared\n"
    From To Syms Read Shared Object Library
    0x00007ffff7ddeb00 0x00007ffff7df6474 Yes /lib64/ld-linux-x86-64.so.2
    0x00007ffff714d1a0 0x00007ffff78fe2a8 Yes /usr/lib64/libApiTSM64.so
    0x00007ffff6c6c610 0x00007ffff6cd0466 Yes /usr/lib64/libstdc++.so.6
    0x00007ffff69975c0 0x00007ffff69d39d8 Yes /lib64/libm.so.6
    0x00007ffff677fe80 0x00007ffff678f658 Yes /lib64/libgcc_s.so.1
    0x00007ffff64228c0 0x00007ffff652a738 Yes /lib64/libc.so.6
    0x00007ffff61c9aa0 0x00007ffff61d11a8 Yes /lib64/libcrypt.so.1
    0x00007ffff5fb1410 0x00007ffff5fbd3a8 Yes /lib64/libpthread.so.0
    0x00007ffff5da8df0 0x00007ffff5da9948 Yes /lib64/libdl.so.2
    0x00007ffff5b97f20 0x00007ffff5ba44ba Yes /usr/lib64/libgpfs.so
    0x00007ffff598c990 0x00007ffff5990de8 Yes /usr/lib64/libdmapi.so
    0x00007ffff57842e0 0x00007ffff5787e38 Yes /lib64/librt.so.1
    0x00007ffff7eb0dc0 0x00007ffff7ebc898 Yes /usr/lib64/libxmlutil-8.1.0.0.so
    0x00007ffff5414420 0x00007ffff55d6ca8 Yes /usr/lib64/libgsk8ssl_64.so
    0x00007ffff5270e70 0x00007ffff52a0408 Yes /usr/lib64/libgsk8iccs_64.so
    0x00007ffff5124dd0 0x00007ffff514d4e8 Yes /usr/lib64/libtsmxerces-depdom.so.28
    0x00007ffff4d492f0 0x00007ffff4ecab48 Yes /usr/lib64/libtsmxerces-c.so.28
    0x00007ffff48493f0 0x00007ffff4a0b4b8 Yes /usr/lib64/libgsk8cms_64.so
    OK
    -break-after 2 0
    OK
    -stack-list-frames --thread 1
    ^done,stack=[frame={level="0",addr="0x0000000000401381",func="main",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25"}]
    -stack-list-frames --thread 1
    ^done,stack=[frame={level="0",addr="0x0000000000401381",func="main",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25"}]
    -stack-list-frames --thread 1
    ^done,stack=[frame={level="0",addr="0x0000000000401381",func="main",file="sptest.cpp",fullname="/tmp/VisualGDB/c/src/sptest/sptest.cpp",line="25"}]
    -data-list-register-names
    ^done,register-names=["rax","rbx","rcx","rdx","rsi","rdi","rbp","rsp","r8","r9","r10","r11","r12","r13","r14","r15","rip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","xmm8","xmm9","xmm10","xmm11","xmm12","xmm13","xmm14","xmm15","mxcsr","","","","","","","","","","","","","","","","","orig_rax","al","bl","cl","dl","sil","dil","bpl","spl","r8l","r9l","r10l","r11l","r12l","r13l","r14l","r15l","ah","bh","ch","dh","ax","bx","cx","dx","si","di","bp","","r8w","r9w","r10w","r11w","r12w","r13w","r14w","r15w","eax","ebx","ecx","edx","esi","edi","ebp","esp","r8d","r9d","r10d","r11d","r12d","r13d","r14d","r15d"]
    -var-create --frame 0 --thread 1 - * "oCLI"
    ^done,name="var1",numchild="1",value="{...}",type="sp::ClientOptions",thread-id="1",has_more="0"
    ptype/mt sp::ClientOptions
    &"ptype/mt sp::ClientOptions\n"
    &"A syntax error in expression, near 

    /mt sp::ClientOptions’.\n”
    A syntax error in expression, near `/mt sp::ClientOptions’.
    -var-list-children –simple-values “var1” 0 1
    bash: line 1: 20421 Segmentation fault “gdb” –interpreter mi –args “/tmp/VisualGDB/c/src/sptest/Debug/sptest”

     

    #12326
    support
    Keymaster

    Hi,

    According to our records, your technical support as expired. Please renew it via https://sysprogs.com/splm/mykey and we will be happy to help you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.