Bug 374320 - Unable to use GDB plugin
Summary: Unable to use GDB plugin
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-30 10:13 UTC by caulier.gilles
Modified: 2020-12-02 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caulier.gilles 2016-12-30 10:13:19 UTC
Kate version 16.12.0
KF5 : 5.29.0
Qt5 : 5.6.2
OS : Mageia 6 (Cauldron)

I want to use Kate GDB plugin to hack digiKam. This do not work as expected.

digiKam is compiled with debug symbols and installed to /usr as install prefix. I do not use project management tool from Kate. No breakpoint are set in source code

I setup GDB plugin Target1 with Executable setting to /usr/bin/digikam. Working Dir and Arguments are empty. KeppFocus and Redirect IO are disabled. Advanced Settings use default configuration.

I start debug session by Debug/Start Debugging :

GNU gdb (GDB) 7.12-12.mga6 (Mageia release 6)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-mageia-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set pagination off
(gdb) file /usr/bin/digikam
Reading symbols from /usr/bin/digikam...done.
(gdb) set args  < /tmp/stdInFifoYt9 1> /tmp/stdOutFifoGaJ 2> /tmp/stdErrFifoSLO
(gdb) set inferior-tty /dev/null

Debug session is paused here. I need to use Debug/Continue :

(gdb) continue
The program is not being run.
(gdb) tbreak main
Temporary breakpoint 1 at 0x405789: file /home/gilles/Devel/5.x/core/app/main/main.cpp, line 69.
(gdb) run
Starting program: /usr/bin/digikam < /tmp/stdInFifoYt9 1> /tmp/stdOutFifoGaJ 2> /tmp/stdErrFifoSLO
Missing separate debuginfos, use: debuginfo-install glibc-2.22-21.mga6.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdae8) at /home/gilles/Devel/5.x/core/app/main/main.cpp:69
69	    QApplication app(argc, argv);
Missing separate debuginfos, use: debuginfo-install lib64SDL1.2_0-1.2.15-18.mga6.x86_64 lib64aa1-1.4.0-0.rc5.31.mga6.x86_64 lib64akonadiprivate5-16.12.0-1.mga6.x86_64 lib64alsa2-1.1.3-1.mga6.x86_64 lib64ass5-0.13.4-1.mga6.x86_64 lib64astro1-16.12.0-1.mga6.x86_64 lib64asyncns0-0.8-9.mga6.x86_64 lib64attica5-5.29.0-1.mga6.x86_64 lib64avcodec56-2.8.10-1.mga6.tainted.x86_64 lib64avfilter5-2.8.10-1.mga6.tainted.x86_64 lib64avformat56-2.8.10-1.mga6.tainted.x86_64 lib64avresample2-2.8.10-1.mga6.tainted.x86_64 lib64avutil54-2.8.10-1.mga6.tainted.x86_64 lib64bzip2_1-1.0.6-10.mga6.x86_64 lib64cdio-paranoia2-10.2.0.93.1-8.mga6.x86_64 lib64cdio16-0.94-1.mga6.x86_64 lib64celt0_2-0.11.3-6.mga6.x86_64 lib64dbus1_3-1.10.14-1.mga6.x86_64 lib64dbusmenuqt5_2-0.9.3-0.20150604bzr.4.mga6.x86_64 lib64dc1394_22-2.2.4-1.mga6.x86_64 lib64dmtx0-0.7.4-6.mga6.x86_64 lib64drm2-2.4.74-1.mga6.x86_64 lib64event5-2.0.22-3.mga6.x86_64 lib64exif12-0.6.21-9.mga6.x86_64 lib64expat1-2.2.0-2.mga6.x86_64 lib64fam0-0.1.10-17.mga6.x86_64 lib64ffi6-3.2.1-5.mga6.x86_64 lib64flac8-1.3.1-4.mga6.x86_64 lib64fontconfig1-2.12.1-1.mga6.x86_64 lib64freetype6-2.7-1.1.mga6.tainted.x86_64 lib64fribidi0-0.19.7-3.mga6.x86_64 lib64gcrypt20-1.7.5-1.mga6.x86_64 lib64ggi2-2.2.2-24.mga6.x86_64 lib64gii1-1.0.2-21.mga6.x86_64 lib64glapi0-13.0.2-2.mga6.tainted.x86_64 lib64glib2.0_0-2.50.2-1.mga6.x86_64 lib64gmp10-6.1.1-1.mga6.x86_64 lib64gnutls30-3.4.17-1.mga6.x86_64 lib64gpg-error0-1.24-1.mga6.x86_64 lib64gphoto2_6-2.5.11-1.mga6.x86_64 lib64gphoto2_port12-2.5.11-1.mga6.x86_64 lib64grantlee_template5-5.1.0-1.mga6.x86_64 lib64graphite2_3-1.3.9-1.mga6.x86_64 lib64gsm1-1.0.16-1.mga6.x86_64 lib64gstreamer-plugins-base1.0_0-1.8.3-1.mga6.x86_64 lib64gstreamer1.0_0-1.8.3-1.mga6.x86_64 lib64harfbuzz0-1.3.2-1.mga6.x86_64 lib64ical2-2.0.0-2.mga6.x86_64 lib64icalss2-2.0.0-2.mga6.x86_64 lib64ice6-1.0.9-4.mga6.x86_64 lib64icu57-57.1-3.mga6.x86_64 lib64ieee1284_3-0.2.11-15.mga6.x86_64 lib64jack0-1.9.10-6.mga6.x86_64 lib64jasper1-1.900.1-26.mga6.x86_64 lib64jbig1-2.1-4.mga6.x86_64 lib64jpeg8-1.5.1-1.mga6.x86_64 lib64json2-0.12.1-1.mga6.x86_64 lib64karchive5-5.29.0-1.mga6.x86_64 lib64kcodecs5-5.29.0-1.mga6.x86_64 lib64kconfigCore5-5.29.0-1.mga6.x86_64 lib64kconfigGui5-5.29.0-1.mga6.x86_64 lib64kf5akonadicontact5-16.12.0-2.mga6.x86_64 lib64kf5akonadicore5-16.12.0-1.mga6.x86_64 lib64kf5akonadiwidgets5-16.12.0-1.mga6.x86_64 lib64kf5auth5-5.29.0-1.mga6.x86_64 lib64kf5bookmarks5-5.29.0-1.mga6.x86_64 lib64kf5calendarcore5-16.12.0-1.mga6.x86_64 lib64kf5completion5-5.29.0-1.mga6.x86_64 lib64kf5configwidgets5-5.29.0-1.mga6.x86_64 lib64kf5coreaddons5-5.29.0-1.mga6.x86_64 lib64kf5crash5-5.29.0-1.mga6.x86_64 lib64kf5dbusaddons5-5.29.0-1.mga6.x86_64 lib64kf5filemetadata5-5.29.0-1.mga6.x86_64 lib64kf5globalaccel5-5.29.0-1.mga6.x86_64 lib64kf5guiaddons5-5.29.0-1.mga6.x86_64 lib64kf5i18n5-5.29.0-1.mga6.x86_64 lib64kf5iconthemes5-5.29.0-1.mga6.x86_64 lib64kf5jobwidgets5-5.29.0-1.mga6.x86_64 lib64kf5kcontacts5-16.12.0-1.mga6.x86_64 lib64kf5kdelibs4support5-5.29.0-1.mga6.x86_64 lib64kf5kiocore5-5.29.0-1.mga6.x86_64 lib64kf5kiofilewidgets5-5.29.0-1.mga6.x86_64 lib64kf5kiowidgets5-5.29.0-1.mga6.x86_64 lib64kf5mime5-16.12.0-1.mga6.x86_64 lib64kf5notifications5-5.29.0-1.mga6.x86_64 lib64kf5notifyconfig5-5.29.0-1.mga6.x86_64 lib64kf5parts5-5.29.0-1.mga6.x86_64 lib64kf5prison5-5.29.0-1.mga6.x86_64 lib64kf5service5-5.29.0-1.mga6.x86_64 lib64kf5solid5-5.29.0-1.mga6.x86_64 lib64kf5sonnetcore5-5.29.0-1.mga6.x86_64 lib64kf5sonnetui5-5.29.0-1.mga6.x86_64 lib64kf5textwidgets5-5.29.0-1.mga6.x86_64 lib64kf5threadweaver5-5.29.0-1.mga6.x86_64 lib64kf5unitconversion5-5.29.0-1.mga6.x86_64 lib64kf5wallet5-5.29.0-1.mga6.x86_64 lib64kf5widgetsaddons5-5.29.0-1.mga6.x86_64 lib64kf5windowsystem5-5.29.0-1.mga6.x86_64 lib64kf5xmlgui5-5.29.0-1.mga6.x86_64 lib64kitemmodels5-5.29.0-1.mga6.x86_64 lib64kitemviews5-5.29.0-1.mga6.x86_64 lib64lcms2_2-2.8-2.mga6.x86_64 lib64lensfun1-0.3.2-2.mga6.x86_64 lib64lqr0-0.4.2-5.mga6.x86_64 lib64ltdl7-2.4.6-5.mga6.x86_64 lib64lzma5-5.2.2-3.mga6.x86_64 lib64marblewidget-qt5_26-16.12.0-1.mga6.x86_64 lib64mesagl1-13.0.2-2.mga6.tainted.x86_64 lib64mesaglu1-9.0.0-6.mga6.x86_64 lib64minizip1-1.2.8-10.mga6.x86_64 lib64modplug1-0.8.8.5-5.mga6.x86_64 lib64mp3lame0-3.99.5-12.mga6.tainted.x86_64 lib64ncurses6-6.0-7.mga6.x86_64 lib64nspr4-4.13.1-1.mga6.x86_64 lib64nss3-3.27.2-1.mga6.x86_64 lib64nut0-0.0.675-8.mga6.x86_64 lib64ogg0-1.3.2-4.mga6.x86_64 lib64opencore-amr0-0.1.3-1.mga6.tainted.x86_64 lib64openjpeg5-1.5.2-7.mga6.x86_64 lib64openssl1.0.0-1.0.2j-1.mga6.x86_64 lib64opus0-1.1.3-1.mga6.x86_64 lib64orc0.4_0-0.4.26-1.mga6.x86_64 lib64p11-kit0-0.23.2-2.mga6.x86_64 lib64pci3-3.5.2-1.mga6.x86_64 lib64pcre1-8.39-1.mga6.x86_64 lib64pcre16_0-8.39-1.mga6.x86_64 lib64phonon4qt5_4-4.9.0-2.mga6.x86_64 lib64png16_16-1.6.27-1.mga6.x86_64 lib64postproc53-2.8.10-1.mga6.tainted.x86_64 lib64protobuf9-2.6.1-3.mga6.x86_64 lib64pulseaudio0-9.0-5.mga6.x86_64 lib64pulsecommon9.0-9.0-5.mga6.x86_64 lib64pulseglib20-9.0-5.mga6.x86_64 lib64qrencode3-3.4.4-5.mga6.x86_64 lib64qt5concurrent5-5.6.2-3.mga6.x86_64 lib64qt5core5-5.6.2-3.mga6.x86_64 lib64qt5dbus5-5.6.2-3.mga6.x86_64 lib64qt5gui5-5.6.2-3.mga6.x86_64 lib64qt5network5-5.6.2-3.mga6.x86_64 lib64qt5opengl5-5.6.2-3.mga6.x86_64 lib64qt5printsupport5-5.6.2-3.mga6.x86_64 lib64qt5qml5-5.6.2-1.mga6.x86_64 lib64qt5quick5-5.6.2-1.mga6.x86_64 lib64qt5script5-5.6.2-2.mga6.x86_64 lib64qt5sql5-5.6.2-3.mga6.x86_64 lib64qt5svg5-5.6.2-1.mga6.x86_64 lib64qt5webchannel5-5.6.2-1.mga6.x86_64 lib64qt5webenginecore5-5.6.2-1.mga6.x86_64 lib64qt5webenginewidgets5-5.6.2-1.mga6.x86_64 lib64qt5webkit5-5.6.2-1.mga6.x86_64 lib64qt5webkitwidgets5-5.6.2-1.mga6.x86_64 lib64qt5widgets5-5.6.2-3.mga6.x86_64 lib64qt5x11extras5-5.6.2-1.mga6.x86_64 lib64qt5xml5-5.6.2-3.mga6.x86_64 lib64raw1394_11-2.1.2-1.mga6.x86_64 lib64re2_0-20160401-1.mga6.x86_64 lib64rtmp1-2.4-0.git20160101.3.mga6.tainted.x86_64 lib64sane1-1.0.25-2.mga6.x86_64 lib64schroedinger1.0_0-1.0.11-8.mga6.x86_64 lib64slang2-2.3.0-1.mga6.x86_64 lib64sm6-1.2.2-6.mga6.x86_64 lib64snappy1-1.1.3-4.mga6.x86_64 lib64sndfile1-1.0.27-1.mga6.x86_64 lib64speex1-1.2-0.rc2.2.mga6.x86_64 lib64sqlite3_0-3.14.2-5.mga6.x86_64 lib64srtp1-1.5.3-1.mga6.x86_64 lib64swresample1-2.8.10-1.mga6.tainted.x86_64 lib64swscaler3-2.8.10-1.mga6.tainted.x86_64 lib64systemd0-230-6.mga6.x86_64 lib64tasn1_6-4.9-1.mga6.x86_64 lib64theoradec1-1.1.1-11.mga6.x86_64 lib64theoraenc1-1.1.1-11.mga6.x86_64 lib64tiff5-4.0.7-1.mga6.x86_64 lib64twolame0-0.3.13-7.mga6.x86_64 lib64udev1-230-6.mga6.x86_64 lib64usb1.0_0-1.0.21-1.mga6.x86_64 lib64uuid1-2.28.2-1.mga6.x86_64 lib64v4l0-1.10.1-1.mga6.x86_64 lib64va1-1.7.3-1.mga6.x86_64 lib64vo-amrwbenc0-0.1.3-2.mga6.tainted.x86_64 lib64vorbis0-1.3.5-2.mga6.x86_64 lib64vorbisenc2-1.3.5-2.mga6.x86_64 lib64vpx3-1.5.0-3.mga6.x86_64 lib64webp6-0.5.2-1.mga6.x86_64 lib64webpdemux2-0.5.2-1.mga6.x86_64 lib64wrap0-7.6-47.mga6.x86_64 lib64x11-xcb1-1.6.4-1.mga6.x86_64 lib64x11_6-1.6.4-1.mga6.x86_64 lib64x264_148-0.148-0.20160117.stable.3.mga6.tainted.x86_64 lib64x265_95-2.1-1.mga6.tainted.x86_64 lib64xau6-1.0.8-7.mga6.x86_64 lib64xavs1-0.1.55-8.mga6.x86_64 lib64xcb-dri2_0-1.12-2.mga6.x86_64 lib64xcb-dri3_0-1.12-2.mga6.x86_64 lib64xcb-glx0-1.12-2.mga6.x86_64 lib64xcb-present0-1.12-2.mga6.x86_64 lib64xcb-shape0-1.12-2.mga6.x86_64 lib64xcb-shm0-1.12-2.mga6.x86_64 lib64xcb-sync1-1.12-2.mga6.x86_64 lib64xcb-util-keysyms1-0.4.0-3.mga6.x86_64 lib64xcb-xfixes0-1.12-2.mga6.x86_64 lib64xcb1-1.12-2.mga6.x86_64 lib64xcomposite1-0.4.4-8.mga6.x86_64 lib64xcursor1-1.1.14-6.mga6.x86_64 lib64xdamage1-1.1.4-8.mga6.x86_64 lib64xdmcp6-1.1.2-4.mga6.x86_64 lib64xext6-1.3.3-4.mga6.x86_64 lib64xfixes3-5.0.3-1.mga6.x86_64 lib64xi6-1.7.8-1.mga6.x86_64 lib64xml2_2-2.9.4-4.mga6.x86_64 lib64xrender1-0.9.10-1.mga6.x86_64 lib64xshmfence1-1.2-2.mga6.x86_64 lib64xslt1-1.1.29-2.mga6.x86_64 lib64xtst6-1.2.3-1.mga6.x86_64 lib64xvidcore4-1.3.4-3.mga6.tainted.x86_64 lib64xxf86dga1-1.1.4-6.mga6.x86_64 lib64xxf86vm1-1.1.4-2.mga6.x86_64 lib64zlib1-1.2.8-10.mga6.x86_64 libgcc1-5.4.0-1.mga6.x86_64 libgomp1-5.4.0-1.mga6.x86_64 libstdc++6-5.4.0-1.mga6.x86_64
(gdb) p setvbuf(stdout, 0, 1, 1024)
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe654beef in setvbuf () from /lib64/libc.so.6
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(setvbuf) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) continue
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Et voilà, debug session is terminated. Why ?

Of course using command line is not a problem. The application is started and work as expected. I can pause, set breakpoint, show variable, etc... :

[gilles@localhost ~]$ gdb /usr/bin/digikam
GNU gdb (GDB) 7.12-12.mga6 (Mageia release 6)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-mageia-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/digikam...done.
(gdb) r
Starting program: /usr/bin/digikam 
Missing separate debuginfos, use: debuginfo-install glibc-2.22-21.mga6.x86_64
[Thread debugging using libthread_db enabled]                                                                                                        
Using host libthread_db library "/lib64/libthread_db.so.1".                                                                                          
[New Thread 0x7fffc4528700 (LWP 26317)]                                                                                                              
[New Thread 0x7fffc208a700 (LWP 26318)]                                                                                                              
[New Thread 0x7fffc1889700 (LWP 26319)]                                                                                                              
[New Thread 0x7fffc1088700 (LWP 26320)]                                                                                                              
[New Thread 0x7fffc0887700 (LWP 26321)]                                                                                                              
[New Thread 0x7fffb9530700 (LWP 26322)]                                                                                                              
digikam.general: AlbumWatch use QFileSystemWatcher                                                                                                   
[New Thread 0x7fffb8d2f700 (LWP 26323)]                                                                                                              
digikam.general: Database Parameters:                                                                                                                
   Type:                     "QSQLITE"                                                                                                               
   DB Core Name:             "/mnt/data/digikam4.db"                                                                                                 
   DB Thumbs Name:           "/mnt/data/thumbnails-digikam.db"                                                                                       
   DB Face Name:             "/mnt/data/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

[New Thread 0x7fffb3fff700 (LWP 26324)]
[Thread 0x7fffb3fff700 (LWP 26324) exited]
digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8
digikam.database: Creating new Location  ""  uuid  "volumeid:?uuid=2f0123d8-4f83-44f2-a909-d794257eccbe"
digikam.database: location for  "/mnt/data"  is available  true
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  8373420032
digikam.general: Allowing a cache size of 200 MB
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.dimg: ("/usr/share/color/icc", "/home/gilles/.local/share/icc")
digikam.dimg: No X.org XICC profile installed for screen  0
[New Thread 0x7fffb3fff700 (LWP 26326)]
digikam.general: Camera XML data:  "/home/gilles/.local/share/digikam/cameras.xml"
[New Thread 0x7fffb2ad4700 (LWP 26327)]
[New Thread 0x7fffb22d3700 (LWP 26328)]
[New Thread 0x7fffb1ad2700 (LWP 26329)]
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "2"
digikam.facesengine: Face database ready for use
[New Thread 0x7fffb12d1700 (LWP 26330)]
[New Thread 0x7fffb0ad0700 (LWP 26331)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fff97fff700 (LWP 26332)]
[New Thread 0x7fff977fe700 (LWP 26333)]
[New Thread 0x7fff96ffd700 (LWP 26334)]
[New Thread 0x7fff967fc700 (LWP 26335)]
[New Thread 0x7fff95ffb700 (LWP 26336)]
digikam.facesengine: Face database ready for use
[New Thread 0x7fff957fa700 (LWP 26337)]
[New Thread 0x7fff94ff9700 (LWP 26338)]
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
[New Thread 0x7fff73fff700 (LWP 26339)]
[New Thread 0x7fff337fc700 (LWP 26340)]
[New Thread 0x7fff32ffb700 (LWP 26341)]
[New Thread 0x7fff327fa700 (LWP 26342)]
digikam.geoiface: "setting backend marble"
QtAV 1.11.0(Dec 26 2016, 12:07:36)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai University->S3 Graphics->Deepin, Shanghai, ChinaCopyright (C) 2012-2016 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
QObject::moveToThread: Cannot move objects with a parent
digikam.general: Stacked View Mode :  0
[New Thread 0x7fff31ff9700 (LWP 26343)]
[New Thread 0x7fff317f8700 (LWP 26344)]
digikam.geoiface: "setting backend marble"
[New Thread 0x7fff30ff7700 (LWP 26345)]
digikam.general: "browse_album"
digikam.general: "browse_tag"
digikam.general: "browse_labels"
digikam.general: "browse_date"
digikam.general: "browse_timeline"
digikam.general: "browse_search"
digikam.general: "browse_fuzzysearch"
digikam.general: "browse_gpssearch"
digikam.general: "browse_people"
[New Thread 0x7fff1bfff700 (LWP 26346)]
[New Thread 0x7fff1b7fe700 (LWP 26347)]
[New Thread 0x7fff1affd700 (LWP 26348)]
[New Thread 0x7fff1a7fc700 (LWP 26349)]
[New Thread 0x7fff19ffb700 (LWP 26350)]
...
etc
...
Comment 1 caulier.gilles 2016-12-30 10:19:24 UTC
Add "set unwindonsignal on" to Advanced Settings/Custom Init Commands permit to start debuging session after to use Debug/Continue.

But this is obscur. There is no documentation somewhere explaining the basing, no tooltip, etc.... Nobody will investigate in settings to try hidden settings. This is not user friendly as expected.

Please improve this plugin. Thanks in advance
Comment 2 Kåre Särs 2016-12-30 11:16:43 UTC
Thanks for the report.

The "p setvbuf(stdout, 0, 1, 1024)" command is used to set the stdout of the debugged application to unbuffered mode.

This is a workaround for not using a proper tty...

My suspicion is that the unwinding of the stack of setvbuf() and continuing from main just happens to work even if we get a segfault in setvbuf().

The proper solution here would be to not use the tty-workaround hack...
Comment 3 Justin Zobel 2020-11-02 02:26:45 UTC
Can someone please test this to confirm if this is still an issue in current kate, thanks.
Comment 4 Bug Janitor Service 2020-11-17 04:33:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-02 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!