<?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>407271</bug_id>
          
          <creation_ts>2019-05-06 15:49:25 +0000</creation_ts>
          <short_desc>KAboutData crashes when using git svn with KWallet</short_desc>
          <delta_ts>2022-10-25 05:01:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kcoreaddons</product>
          <component>general</component>
          <version>5.57.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Daniel Schopf">schopf.dan</reporter>
          <assigned_to name="Michael Pyne">mpyne</assigned_to>
          <cc>arojas</cc>
    
    <cc>d.scheftelowitsch</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>torres.soldado</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>1854680</commentid>
    <comment_count>0</comment_count>
      <attachid>119872</attachid>
    <who name="Daniel Schopf">schopf.dan</who>
    <bug_when>2019-05-06 15:49:25 +0000</bug_when>
    <thetext>Created attachment 119872
Backtrace

Running &quot;git svn rebase&quot; crashes reproducibly with the following error message when using kwallet as an authentication backend:

$ git svn rebase
org.kde.kwindowsystem: Could not find any platform plugin
Current branch master is up to date.
error: git-svn died of signal 11

The command is executed properly and commits are also added to the local git clone.
But when cleaning up afterwards the git-svn script produces a segfault.


STEPS TO REPRODUCE
1. Clone a git repository from an SVN server and set kwallet as password storage backed.
2. Run &quot;git svn rebase&quot;
3. Observe the crash 

OBSERVED RESULT
Calling &quot;git svn rebase&quot; will now always generate a segfault:
[ 6470.589903] git-svn[1291]: segfault at 7f25e8ab8f80 ip 00007f25e897a3e6 sp 00007ffd8c670d70 error 4 in libKF5CoreAddons.so.5.50.0[7f25e8972000+5e000]
[ 6470.589908] Code: f8 ff 74 06 f0 83 2f 01 74 7a 48 8b 7b 08 8b 07 85 c0 0f 84 92 00 00 00 83 f8 ff 74 0a f0 83 2f 01 0f 84 25 02 00 00 48 8b 03 &lt;8b&gt; 10 85 d2 74 24 83 fa ff 74 06 f0 83 28 01 74 19 48 8b 7d 00 48
[ 6470.590013] audit: type=1701 audit(1536562099.754:82): auid=1000 uid=1000 gid=100 ses=6 pid=1291 comm=&quot;git-svn&quot; exe=&quot;/usr/bin/perl&quot; sig=11 res=1

Additional info on used Arch package versions:
* git 2.21.0-1
* perl 5.28.2-1
* kcoreaddons 5.57.0-1
* kwallet 5.57.0-1
* qt5-base 5.12.3-2

ADDITIONAL INFORMATION
Original Arch Linux Bug report: https://bugs.archlinux.org/task/60005</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1855601</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Pyne">mpyne</who>
    <bug_when>2019-05-12 00:22:19 +0000</bug_when>
    <thetext>I suspect some kind of race condition during shutdown, where the global-static tries to delete an already-deleted KAboutData in the registry.

I&apos;m having trouble reproducing but I also don&apos;t have git-svn setup for kwallet.

Based on the platform plugin message I&apos;ve tried various settings of the environment variable QT_QPA_PLATFORM (xcb, minimal, eglfs) but that hasn&apos;t helped me reproduce either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1857771</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-05-21 18:42:08 +0000</bug_when>
    <thetext>The problem certainly isn&apos;t in KAboutData. The issue is that something calls exit(); the &quot;org.kde.kwindowsystem: Could not find any platform plugin&quot; message might be related.

I suggest to report this issue to the bug tracker of your distribution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1858331</commentid>
    <comment_count>3</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2019-05-23 20:19:54 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #2)
 
&gt; I suggest to report this issue to the bug tracker of your distribution.

This has gone throught downstream already. I have no idea what we are supposed to do about this TBH, this is reproducible in a plain Plasma session with unmodified KDE and svn packages. You just need a very specific setup to reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1858771</commentid>
    <comment_count>4</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2019-05-25 19:13:04 +0000</bug_when>
    <thetext>Also reproducible in Tumbleweed, so definitely not a downstream problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873844</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Scheftelowitsch">d.scheftelowitsch</who>
    <bug_when>2019-08-08 21:37:39 +0000</bug_when>
    <thetext>I second reproducibility in Tumbleweed, with the following backtrace:

#0  0x00007ffff659061c in std::__atomic_base&lt;int&gt;::load (__m=std::memory_order_relaxed, this=0x7ffff73a81c0) at /usr/include/qt5/QtCore/qrefcount.h:65
#1  QAtomicOps&lt;int&gt;::load&lt;int&gt; (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#2  QBasicAtomicInteger&lt;int&gt;::load (this=0x7ffff73a81c0) at /usr/include/qt5/QtCore/qbasicatomic.h:103
#3  QtPrivate::RefCount::deref (this=0x7ffff73a81c0) at /usr/include/qt5/QtCore/qrefcount.h:66
#4  QString::~QString (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qstring.h:1133
#5  KAboutData::Private::~Private (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kcoreaddons-5.60.0-1.1.x86_64/src/lib/kaboutdata.cpp:460
#6  KAboutData::~KAboutData (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kcoreaddons-5.60.0-1.1.x86_64/src/lib/kaboutdata.cpp:581
#7  0x00007ffff65908cd in (anonymous namespace)::Q_QGS_s_registry::innerFunction()::Holder::~Holder() () at /usr/src/debug/kcoreaddons-5.60.0-1.1.x86_64/src/lib/kaboutdata.cpp:1033
#8  0x00007ffff7c69500 in __run_exit_handlers () from /lib64/libc.so.6
#9  0x00007ffff7c6963c in exit () from /lib64/libc.so.6
#10 0x000055555558c446 in main ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876073</commentid>
    <comment_count>6</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-08-20 21:29:10 +0000</bug_when>
    <thetext>Which application is crashing? This information is missing in all backtraces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876101</commentid>
    <comment_count>7</comment_count>
    <who name="Antonio Rojas">arojas</who>
    <bug_when>2019-08-21 02:06:58 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #6)
&gt; Which application is crashing? This information is missing in all backtraces.

&quot;Core was generated by `/usr/bin/perl /usr/lib/git-core/git-svn rebase&apos;.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1878451</commentid>
    <comment_count>8</comment_count>
    <who name="Sergio Torres Soldado">torres.soldado</who>
    <bug_when>2019-09-04 14:58:44 +0000</bug_when>
    <thetext>*** Bug 411590 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156356</commentid>
    <comment_count>9</comment_count>
    <who name="Justin Zobel">justin.zobel</who>
    <bug_when>2022-09-25 22:38:25 +0000</bug_when>
    <thetext>Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to &quot;CONFIRMED&quot; when replying. Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2159526</commentid>
    <comment_count>10</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-10-10 04:52:05 +0000</bug_when>
    <thetext>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 &gt; 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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165106</commentid>
    <comment_count>11</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-10-25 05:01:19 +0000</bug_when>
    <thetext>This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED &gt; 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!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>119872</attachid>
            <date>2019-05-06 15:49:25 +0000</date>
            <delta_ts>2019-05-06 15:49:25 +0000</delta_ts>
            <desc>Backtrace</desc>
            <filename>bt.txt</filename>
            <type>text/plain</type>
            <size>2380</size>
            <attacher name="Daniel Schopf">schopf.dan</attacher>
            
              <data encoding="base64">KGdkYikgYnQgZnVsbAojMCAgMHgwMDAwN2ZkMDc3MGJhYzU2IGluIHN0ZDo6X19hdG9taWNfYmFz
ZTxpbnQ+Ojpsb2FkKHN0ZDo6bWVtb3J5X29yZGVyKSBjb25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