-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGABRT mono crash when using gdb to debug on cpp tool version 0.24.0 #3899
Comments
@resk8 We didn't change anything around the I see this in your log:
|
yeah i rolled back and im having the same issue. so its probably not an issue with the update. There was maintenance update over the weekend that might have changed something on our systems here. I will close the issue then. Do you think that auto-load of the libthread might cause mono to crash? |
@resk8 it sounds like it needs the library to load for mono to work and for some reason the autoload of that library is disabled? I don't know enough about SUSE to tell you why its getting that error. |
yeah i figured. anyways thanks for the help |
is the |
yeah it kind of is. Our linux Suse system here is missing the gclib (i think or i dont understand) to run the extension so the IT team here have to manually patch the extensions to look for the gclibs that is inside that directory. It worked before but after the maintenance over the weekend probably permissions was changed so i need to investigate here what is going on |
After updating cpp tools to 0.24.0, im starting to get this SIGABRT error relate to OpenDebugAd7 i think
here are the logs.
Debug info from gdb:[New LWP 163720]
[New LWP 163721]
[New LWP 163727]
[New LWP 163728]
[New LWP 163729]
[New LWP 163730]warning: File "/nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libthread_db-1.0.so" auto-loading has been declined by your
auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libthread_db-1.0.so line to your configuration file "/nfs/pdx/home/renatool/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/nfs/pdx/home/renatool/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.warning: File "/nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libthread_db-1.0.so" auto-loading has been declined by your
auto-load safe-path' set to "$debugdir:$datadir/auto-load".warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.0x00007ffff74bd0bf in pthread_cond_wait@@GLIBC_2.3.2 () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Id Target Id Frame
3 LWP 163721 "Finalizer" 0x00007ffff74bf100 in sem_wait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
4 LWP 163727 "DebugAdapter Re" 0x00007ffff74c05f2 in waitpid () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
5 LWP 163728 "DebugAdapter Re" 0x00007ffff74bd468 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
6 LWP 163729 "Thread Pool Wor" 0x00007ffff74bf1e0 in sem_timedwait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0 7 LWP 163730 "Thread Pool Wor" 0x00007ffff74bf1e0 in sem_timedwait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Thread 7 (LWP 163730):
#0 0x00007ffff74bf1e0 in sem_timedwait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x0000000000673040 in ?? ()
Path must be a string. Received undefined #2 0x000000000061e283 in ?? ()
Cannot read property 'document' of null #3 0x00007ffff74b90db in start_thread () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0#4 0x00007ffff6fd5dfd in clone () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Thread 6 (LWP 163729):
#0 0x00007ffff74bf1e0 in sem_timedwait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x0000000000673040 in ?? ()
Path must be a string. Received undefined #2 0x000000000061e283 in ?? ()
Cannot read property 'document' of null #3 0x00007ffff74b90db in start_thread () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0#4 0x00007ffff6fd5dfd in clone () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Thread 5 (LWP 163728):
#0 0x00007ffff74bd468 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x00000000006d4efe in ?? ()
Path must be a string. Received undefined #2 0x00000000006de189 in ?? () Cannot read property 'document' of null #3 0x0000000000673bab in ?? ()
Exception when run my extension with other extension #4 0x000000000061e283 in ?? ()
C++ Attach on Linux Mint 17.3 does not work. #5 0x00007ffff74b90db in start_thread () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Don't create browse database when the folder does not have C / C++ source files #6 0x00007ffff6fd5dfd in clone () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Thread 4 (LWP 163727):
#0 0x00007ffff74c05f2 in waitpid () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x00000000004beb4c in ?? () Path must be a string. Received undefined #2
Cannot read property 'document' of null #3 0x00007ffff6f237f9 in raise () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Exception when run my extension with other extension #4 0x00007ffff6f24c88 in abort () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
C++ Attach on Linux Mint 17.3 does not work. #5 0x00000000006d2aa9 in ?? ()
Don't create browse database when the folder does not have C / C++ source files #6 0x00000000006e6ab0 in monoeg_g_logv ()Localization #7 0x00000000006e6b62 in monoeg_g_log ()
Add Windows support #8 0x000000000063446a in ?? ()
Language service does not work in Windows 7/8/8.1 without VS2015 installed #9 0x000000000063514c in ?? ()
Intellisense and tags doesnt work in Windows 7 #10 0x0000000000668697 in ?? ()Parsing of NFS mounted drive is really slow (Ubuntu) #11 0x000000004005f4b7 in ?? ()
Unclear configuration options #12 0x00007ffff6823980 in ?? ()
Support code completion #13 0xffffffffffffffff in ?? ()Browse.VC.db file being created out of nowhere #14 0x00007ffff6823980 in ?? ()
Find all references (Experimental Version) #15 0xffffffffffffffff in ?? ()
Call hierarchy #16 0x00007ffff6823980 in ?? ()
Program does not exist #17 0x00007fffe8002590 in ?? ()
Additional Include Folders #18 0x00007ffff4818720 in ?? ()
GLIBC 2.18 dependency #19 0x00007ffff4818690 in ?? ()
crash on macos #20 0x00007ffff4818720 in ?? ()
Open source Microsoft C++ extension for VSCode #21 0x000000004005f2d4 in ?? ()
Passing environment variables to debugger: 'env' or 'environment'? #22 0x0000000000000000 in ?? ()
Thread 3 (LWP 163721):
#0 0x00007ffff74bf100 in sem_wait () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x000000000066484c in ?? () Path must be a string. Received undefined #2 0x000000000061e283 in ?? ()
Cannot read property 'document' of null #3 0x00007ffff74b90db in start_thread () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Exception when run my extension with other extension #4 0x00007ffff6fd5dfd in clone () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Thread 2 (LWP 163720):
#0 0x00007ffff74bd0bf in pthread_cond_wait@@GLIBC_2.3.2 () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x00000000006c8843 in ?? ()
Path must be a string. Received undefined #2 0x00007ffff74b90db in start_thread () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Cannot read property 'document' of null #3 0x00007ffff6fd5dfd in clone () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6
Thread 1 (LWP 163719):
#0 0x00007ffff74bd0bf in pthread_cond_wait@@GLIBC_2.3.2 () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libpthread.so.0
Code completion with C/C++ extension #1 0x00000000006cb56f in mono_os_event_wait_multiple ()
Path must be a string. Received undefined #2 0x00000000006de6d5 in ?? ()
Cannot read property 'document' of null #3 0x00000000006160ab in ?? ()
Exception when run my extension with other extension #4 0x0000000000619632 in mono_thread_manage ()C++ Attach on Linux Mint 17.3 does not work. #5 0x000000000048a5d0 in mono_main ()
Don't create browse database when the folder does not have C / C++ source files #6 0x000000000042ac02 in ?? ()
Localization #7 0x00007ffff6f0fb15 in __libc_start_main () from /nfs/site/disks/are3/dev_tools/vscode-ec/lib/glibc/2.18.90-333.1/lib64/libc.so.6#8 0x000000000042b2dc in _start ()
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================/nfs/site/disks/are3/dev_tools/.vscode/extensions/ms-vscode.cpptools-0.24.0/debugAdapters/OpenDebugAD7: line 32: 163719 Aborted "${MONO_CMD}" "${MONO_ARGS[@]}" "${BIN_DIR}/bin/OpenDebugAD7.exe" $*
Describe the bug
To Reproduce
not sure what to write on reproduce but just launching through launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin",
"args": [
"-ckv",
".."
],
"cwd": "usr/renatool/test/mytest",
"environment":
[
{
"name": "DEBUG",
"value": "1"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
]
}
]
}
The text was updated successfully, but these errors were encountered: