[Help] Exception occurred, When debugging LibreOffice by VS Code on ubuntu (gnome desktop) . can't debug by vscode nomally.
赵 晓东
xiaodongzhaoneu at hotmail.com
Tue Jul 18 04:07:26 UTC 2023
[ENV]
OS: Ubuntu 22.04.2 LTS
LibreOffice: 7.5.5.1
VS Code: 1.80.1
[Compile Command]
./autogen.sh --enable-debug --disable-ldap
make
[GDB Debug is OK]
make debug
run --writer
[When running libreoffice on VS Code terminal, exception occurred]
it at it-hp-desktop02:~/dev/libreoffice_dev/libreoffice-7.5.5.1$ ./instdir/program/soffice
/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/soffice.bin: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
[When debugging by VS Code, exception occurred]
Thread 1 "soffice.bin" hit Breakpoint 4, InitVCL () at /home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/vcl/source/app/svmain.cxx:357
357 pSVData->mpDefInst->AfterAppInit();
Loaded '/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/libvclplug_gtk3lo.so'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgtk-3.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgdk-3.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpango-1.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libatk-1.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXi.so.6'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXfixes.so.3'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libcairo-gobject.so.2'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libepoxy.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libfribidi.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libharfbuzz.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXinerama.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXrandr.so.2'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXcursor.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXcomposite.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libXdamage.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libxkbcommon.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libwayland-cursor.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libwayland-egl.so.1'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libwayland-client.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libthai.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libjpeg.so.8'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libatspi.so.0'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libgraphite2.so.3'. Symbols loaded.
Loaded '/lib/x86_64-linux-gnu/libdatrie.so.1'. Symbols loaded.
Loaded '/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/libgcc3_uno.so'. Symbols loaded.
Loaded '/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/../program/libconfigmgrlo.so'. Symbols loaded.
Loaded '/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/../program/liblocalebe1lo.so'. Symbols loaded.
Thread 1 "soffice.bin" hit Breakpoint 2, GtkSalData::Init (this=0x5555555ee330) at /home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/vcl/unx/gtk3/gtkdata.cxx:544
544 gtk_init_check( &nParams, &pCmdLineAry );
[Thread 0x7fffe66d6640 (LWP 8690) exited]
=library-unloaded,id="/home/it/snap/code/common/.cache/gio-modules/libgiolibproxy.so",target-name="/home/it/snap/code/common/.cache/gio-modules/libgiolibproxy.so",host-name="/home/it/snap/code/common/.cache/gio-modules/libgiolibproxy.so",thread-group="i1"
=library-unloaded,id="/lib/x86_64-linux-gnu/libproxy.so.1",target-name="/lib/x86_64-linux-gnu/libproxy.so.1",host-name="/lib/x86_64-linux-gnu/libproxy.so.1",thread-group="i1"
[Thread 0x7fffefbd7100 (LWP 8609) exited]
[Thread 0x7fffe5ed5640 (LWP 8691) exited]
[New process 8609]
[Inferior 1 (process 8609) exited with code 0177]
The program '/home/it/dev/libreoffice_dev/libreoffice-7.5.5.1/instdir/program/soffice.bin' has exited with code 177 (0x000000b1).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230718/5e949d0c/attachment.htm>
More information about the LibreOffice
mailing list