<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>461434</bug_id>
          
          <creation_ts>2022-11-04 19:14:47 +0000</creation_ts>
          <short_desc>Fallback to using gdb.minimal if gdb is not found</short_desc>
          <delta_ts>2022-11-22 09:37:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>drkonqi</product>
          <component>general</component>
          <version>5.25.5</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DOWNSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Timothée Ravier">tim</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>fella</cc>
    
    <cc>nate</cc>
    
    <cc>rdieter</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2168979</commentid>
    <comment_count>0</comment_count>
    <who name="Timothée Ravier">tim</who>
    <bug_when>2022-11-04 19:14:47 +0000</bug_when>
    <thetext>SUMMARY

On Fedora Kinoite, we don&apos;t want to install the full gdb package into the image by default but we can install the gdb.minimal as it has less dependencies.

So this is a request to have DrKonqi try using gdb.minimal if it does not find a &quot;full&quot; gdb.

This might be of interest to other systems that don&apos;t want to ship a full gdb package will all python bindings, etc.

I&apos;ve manually verified that this &quot;works&quot; on Fedora Kinoite if I symlink gdb -&gt; gdb.minimal.

DrKonqi might not be directly calling for gdb so this might need to be done in other place.

STEPS TO REPRODUCE
1. Have an application crash on Fedora Kinoite with the gdb.minimal package installed

OBSERVED RESULT
No crash info generated by DrKonqi as it only looks for the gdb binary

EXPECTED RESULT
Crash info found.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 37
KDE Plasma Version:  5.25.5
KDE Frameworks Version: 5.98
Qt Version: 5.15.6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168987</commentid>
    <comment_count>1</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-11-04 19:33:33 +0000</bug_when>
    <thetext>
Thank you for the bug report!

Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you&apos;re unsure how to do this, contact your distributor about it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169073</commentid>
    <comment_count>2</comment_count>
    <who name="Tobias Fella">fella</who>
    <bug_when>2022-11-04 22:04:23 +0000</bug_when>
    <thetext>Setting to &quot;confirmed&quot; just so it doesn&apos;t get closed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2169075</commentid>
    <comment_count>3</comment_count>
    <who name="Tobias Fella">fella</who>
    <bug_when>2022-11-04 22:05:41 +0000</bug_when>
    <thetext>(In reply to Tobias Fella from comment #2)
&gt; Setting to &quot;confirmed&quot; just so it doesn&apos;t get closed

(i might have been wrong about this getting closed automatically but  ¯\_(ツ)_/¯ )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170115</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-11-07 16:47:35 +0000</bug_when>
    <thetext>The bug janitor doesn&apos;t yet auto-close unconfirmed bugs after a period of time, but it probably will someday, and using CONFIRMED is good practice anyway,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173282</commentid>
    <comment_count>5</comment_count>
    <who name="Timothée Ravier">tim</who>
    <bug_when>2022-11-14 19:08:40 +0000</bug_when>
    <thetext>Looks like we&apos;re calling gdb/coredumpctl from the commands in https://invent.kde.org/plasma/drkonqi/-/blob/master/src/data/debuggers/internal/gdbrc so I&apos;ll have to figure out either how to add a second copy of that for gdb-minimal or keep the workaround at another level if that does not work for the `coredumpctl gdb` command.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176235</commentid>
    <comment_count>6</comment_count>
    <who name="Timothée Ravier">tim</who>
    <bug_when>2022-11-22 09:37:15 +0000</bug_when>
    <thetext>I&apos;m going to close this one as this is very Fedora specific and I don&apos;t see an easy fix. I&apos;ll make a workaround in Fedora Kinoite instead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>