Bug 383187 - kdesvn 2.0.0 -related KDED5 crash after right-click in Dolphin: ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory
Summary: kdesvn 2.0.0 -related KDED5 crash after right-click in Dolphin: ../sysdeps/un...
Status: RESOLVED FIXED
Alias: None
Product: kdesvn
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KDESvn default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-06 05:49 UTC by opensuse.lietuviu.kalba
Modified: 2017-08-06 09:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash information from DrKonqi (15.88 KB, text/plain)
2017-08-06 05:53 UTC, opensuse.lietuviu.kalba
Details
screenshot in ksysguard (143.03 KB, image/png)
2017-08-06 07:42 UTC, opensuse.lietuviu.kalba
Details
crash info after upadte to 2.0.99 (20.24 KB, text/plain)
2017-08-06 08:11 UTC, opensuse.lietuviu.kalba
Details
crash info after upadte to 2.0.99 (info in parallel) (16.33 KB, text/plain)
2017-08-06 08:13 UTC, opensuse.lietuviu.kalba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensuse.lietuviu.kalba 2017-08-06 05:49:25 UTC
KDE crash reporter failed to propose where should be send information about KDED5 crash, but GDB showed a lot information, related with kdesvn:

Reading symbols from /usr/bin/kded5...Reading symbols from /usr/lib/debug/usr/bin/kded5.debug...done.
done.
Attaching to program: /usr/bin/kded5, process 23454
[New LWP 23456]
[New LWP 23457]
[New LWP 23464]
[New LWP 23465]
[New LWP 23467]
[New LWP 23468]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f59d4716cb6 in __GI___waitpid (pid=-1, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29      ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.

(gdb) bt                                                                                                                                                                                                                          
#0  0x00007f59d4716cb6 in __GI___waitpid (pid=-1, stat_loc=0x0, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29                                                                                                             
#1  0x00007f59d3738e0e in  () at /usr/lib64/libKF5Crash.so.5                                                                                                                                                                      
#2  0x00007f59d37399ec in KCrash::defaultCrashHandler(int) () at /usr/lib64/libKF5Crash.so.5                                                                                                                                      
#3  0x00007f59d4691950 in <signal handler called> () at /lib64/libc.so.6                                                                                                                                                          
#4  0x00007f59d46918d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55                                                                                                                                   
#5  0x00007f59d4692caa in __GI_abort () at abort.c:78                                                                                                                                                                             
#6  0x00007f598976030e in svn_error_abort_on_malfunction (can_return=<optimized out>, file=<optimized out>, line=<optimized out>, expr=<optimized out>) at subversion/libsvn_subr/error.c:768                                     
#7  0x00007f59894c3c71 in svn_wc__db_read_info (status=status@entry=0x7ffc92604f6c, kind=kind@entry=0x7ffc92604f68, revision=revision@entry=0x0, repos_relpath=repos_relpath@entry=0x0, repos_root_url=repos_root_url@entry=0x0, repos_uuid=repos_uuid@entry=0x0, changed_rev=changed_rev@entry=0x0, changed_date=changed_date@entry=0x0, changed_author=changed_author@entry=0x0, depth=depth@entry=0x0, checksum=checksum@entry=0x0, target=target@entry=0x0, original_repos_relpath=original_repos_relpath@entry=0x0, original_root_url=original_root_url@entry=0x0, original_uuid=original_uuid@entry=0x0, original_revision=original_revision@entry=0x0, lock=lock@entry=0x0, recorded_size=recorded_size@entry=0x0, recorded_time=recorded_time@entry=0x0, changelist=0x0, conflicted=conflicted@entry=0x0, op_root=op_root@entry=0x0, have_props=have_props@entry=0x0, props_mod=props_mod@entry=0x0, have_base=have_base@entry=0x0, have_more_work=have_more_work@entry=0x0, have_work=have_work@entry=0x0, db=db@entry=0x7f59d4cc4688, local_abspath=local_abspath@entry=0x14206f8 "", result_pool=result_pool@entry=0x7f59c4009028, scratch_pool=scratch_pool@entry=0x7f59c4009028) at subversion/libsvn_wc/wc_db.c:9210                                                                                                                                                                          
#8  0x00007f5989495dfe in svn_wc__internal_walk_children (db=0x7f59d4cc4688, local_abspath=local_abspath@entry=0x14206f8 "", show_hidden=show_hidden@entry=0, changelist_filter=changelist_filter@entry=0x0, walk_callback=walk_callback@entry=0x7f59894903a0 <info_found_node_callback>, walk_baton=walk_baton@entry=0x7ffc92605030, walk_depth=walk_depth@entry=svn_depth_empty, cancel_func=cancel_func@entry=0x7f598a5842b0 <svn::ContextData::onCancel(void*)>, cancel_baton=cancel_baton@entry=0x1491600, scratch_pool=scratch_pool@entry=0x7f59c4009028) at subversion/libsvn_wc/node.c:373                                                                                                    
#9  0x00007f5989490f4d in svn_wc__get_info (wc_ctx=0x7f59d4cc4670, local_abspath=local_abspath@entry=0x14206f8 "", depth=depth@entry=svn_depth_empty, fetch_excluded=fetch_excluded@entry=0, fetch_actual_only=fetch_actual_only@entry=0, changelist_filter=changelist_filter@entry=0x0, receiver=receiver@entry=0x7f5989e8d7a0 <wc_info_receiver>, receiver_baton=receiver_baton@entry=0x7ffc92605120, cancel_func=0x7f598a5842b0 <svn::ContextData::onCancel(void*)>, cancel_baton=0x1491600, scratch_pool=scratch_pool@entry=0x7f59c400b028) at subversion/libsvn_wc/info.c:468
#10 0x00007f5989e8dd4f in svn_client_info4 (abspath_or_url=0x14206f8 "", peg_revision=
    0x7ffc92605340, revision=<optimized out>, depth=svn_depth_empty, fetch_excluded=0, fetch_actual_only=0, include_externals=include_externals@entry=0, changelists=changelists@entry=0x0, receiver=receiver@entry=0x7f598a57bb10 <svn::InfoEntryFunc(void*, char const*, svn_client_info2_t const*, apr_pool_t*)>, receiver_baton=receiver_baton@entry=0x7ffc92605280, ctx=ctx@entry=0x7f59d4cc45a0, pool=pool@entry=0x7f59c400b028) at subversion/libsvn_client/info.c:361
#11 0x00007f5989e82102 in svn_client_info3 (abspath_or_url=<optimized out>, peg_revision=<optimized out>, revision=<optimized out>, depth=<optimized out>, fetch_excluded=<optimized out>, fetch_actual_only=<optimized out>, changelists=0x0, receiver=0x7f598a57bb10 <svn::InfoEntryFunc(void*, char const*, svn_client_info2_t const*, apr_pool_t*)>, receiver_baton=0x7ffc92605280, ctx=0x7f59d4cc45a0, pool=0x7f59c400b028) at subversion/libsvn_client/deprecated.c:2563
#12 0x00007f598a57c0bf in svn::Client_impl::info(svn::Path const&, svn::Depth, svn::Revision const&, svn::Revision const&, svn::StringArray const&) (this=this@entry=
    0x1415660, _p=..., depth=depth@entry=svn::DepthEmpty, rev=..., peg_revision=..., changelists=...) at /usr/src/debug/kdesvn-2.0.0/src/svnqt/client_status.cpp:446
#13 0x00007f598a54be5c in kdesvnd::isWorkingCopy(QUrl const&) const (this=this@entry=0x14cd650, url=...) at /usr/src/debug/kdesvn-2.0.0/src/kdesvnd/kdesvnd.cpp:309
#14 0x00007f598a54ca37 in kdesvnd::getActionMenu(QList<QUrl> const&, bool) const (this=this@entry=0x14cd650, list=..., toplevel=toplevel@entry=false)
    at /usr/src/debug/kdesvn-2.0.0/src/kdesvnd/kdesvnd.cpp:113
#15 0x00007f598a54d9b8 in kdesvnd::getActionMenu(QStringList const&) const (this=0x14cd650, urlList=...) at /usr/src/debug/kdesvn-2.0.0/src/kdesvnd/kdesvnd.cpp:100
#16 0x00007f598a5538b9 in KdesvndAdaptor::getActionMenu(QStringList const&) (wclist=..., this=0x10ebf60) at /usr/src/debug/kdesvn-2.0.0/build/src/kdesvnd/kdesvndadaptor.cpp:51
#17 0x00007f598a5538b9 in KdesvndAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x10ebf60, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=_a@entry=0x7ffc926056a0) at /usr/src/debug/kdesvn-2.0.0/build/src/kdesvnd/kdesvndadaptor.moc:213
---Type <return> to continue, or q <return> to quit---
#18 0x00007f598a553b73 in KdesvndAdaptor::qt_metacall(QMetaObject::Call, int, void**) (this=0x10ebf60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffc926056a0)
    at /usr/src/debug/kdesvn-2.0.0/build/src/kdesvnd/kdesvndadaptor.moc:271
#19 0x00007f59d2d865fc in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (
    this=this@entry=0x7f59b40030f0, object=object@entry=0x10ebf60, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:982
#20 0x00007f59d2d8a45d in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x7f59b40030f0, object=0x10ebf60, flags=flags@entry=497, msg=...)
    at qdbusintegrator.cpp:884
#21 0x00007f59d2d8ad20 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x7f59b40030f0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1473
#22 0x00007f59d2d8d2be in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x7f59b400b870) at qdbusintegrator.cpp:1593
#23 0x00007f59d2451e26 in QObject::event(QEvent*) (this=0x14cd650, e=<optimized out>) at kernel/qobject.cpp:1256
#24 0x00007f59d3f4d28c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x14cd650, e=0x7f59b400b870) at kernel/qapplication.cpp:3804
#25 0x00007f59d3f518ea in QApplication::notify(QObject*, QEvent*) (this=0x7ffc92605fb0, receiver=0x14cd650, e=0x7f59b400b870) at kernel/qapplication.cpp:3561
#26 0x00007f59d2426be5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x14cd650, event=event@entry=0x7f59b400b870) at kernel/qcoreapplication.cpp:1015
#27 0x00007f59d24289ca in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7f59b400b870, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#28 0x00007f59d24289ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x106d7b0)
    at kernel/qcoreapplication.cpp:1650
#29 0x00007f59d2428f78 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#30 0x00007f59d2477b03 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x10ceea0) at kernel/qeventdispatcher_glib.cpp:270
#31 0x00007f59d16fa134 in g_main_dispatch (context=0x7f59c00016f0) at gmain.c:3154
#32 0x00007f59d16fa134 in g_main_context_dispatch (context=context@entry=0x7f59c00016f0) at gmain.c:3769
#33 0x00007f59d16fa388 in g_main_context_iterate (context=context@entry=0x7f59c00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#34 0x00007f59d16fa42c in g_main_context_iteration (context=0x7f59c00016f0, may_block=1) at gmain.c:3901
#35 0x00007f59d247718c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x10d94c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#36 0x00007f59d2424bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc92605e90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#37 0x00007f59d242cae6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#38 0x00007f59d30db8ec in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1607
#39 0x00007f59d3f4a495 in QApplication::exec() () at kernel/qapplication.cpp:2979
#40 0x00007f59d4a0cb82 in kdemain(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/kded-5.32.0/src/kded.cpp:792
#41 0x00007f59d467d6e5 in __libc_start_main (main=
    0x400750 <main(int, char**)>, argc=1, argv=0x7ffc92606168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc92606158) at libc-start.c:289
#42 0x0000000000400789 in _start () at ../sysdeps/x86_64/start.S:118
(gdb)
Comment 1 opensuse.lietuviu.kalba 2017-08-06 05:53:22 UTC
Created attachment 107098 [details]
crash information from DrKonqi
Comment 2 opensuse.lietuviu.kalba 2017-08-06 05:54:31 UTC
DrKonqi provided a bit more information about crash
Comment 3 Christian Ehrlicher 2017-08-06 06:19:43 UTC
Looks like it's time to release a 2.0.1 release with this fix...

*** This bug has been marked as a duplicate of bug 375655 ***
Comment 4 opensuse.lietuviu.kalba 2017-08-06 06:43:36 UTC
I am not if it has same cause as bug#375655 , because I use patched kdesvn version, that should prevent crash when there's a '@' in the path :
https://build.opensuse.org/package/show/openSUSE%3ALeap%3A42.3/kdesvn
Comment 5 Christian Ehrlicher 2017-08-06 06:49:14 UTC
Ok, then I'll reopen this bug. Can you give me some more information about the directory content which triggers this crash? Maybe you can find out which file is the culprit.
Comment 6 opensuse.lietuviu.kalba 2017-08-06 07:05:54 UTC
Here was one strange filename in /tmp directory: with "%00" in filename.
But even after removing it, I can reproduce...
Comment 7 opensuse.lietuviu.kalba 2017-08-06 07:36:32 UTC
Strange, even after removing all content (including hiden files) and rebooting, I can see opening two DrKonqi (though they closes automatically after couple of seconds) with each right-click in /tmp.

All file list:

cvcd
.esd-1002
.felix
firefox_user
.font-unix
gpg-QatPj1
hsperfdata_user
.ICE-unix
sddm-:0-IUqKsx
sddm-auth8a6638c0-ea73-4a12-8846-857e37855b20
systemd-check-x-failed-service
systemd-private-4b997912a5b54ba38769aa4054363449-ntpd.service-yeiJPn
systemd-private-4b997912a5b54ba38769aa4054363449-rtkit-daemon.service-9c3yyv
ssh-1bZgmzMD1WGu
.Test-unix
thunderbird_user
.touchpaddefaults
.X11-unix
xauth-1002-_0
.XIM-unix
Comment 8 opensuse.lietuviu.kalba 2017-08-06 07:42:07 UTC
Created attachment 107100 [details]
screenshot in ksysguard
Comment 9 opensuse.lietuviu.kalba 2017-08-06 08:11:51 UTC
Created attachment 107101 [details]
crash info after upadte to 2.0.99
Comment 10 opensuse.lietuviu.kalba 2017-08-06 08:13:08 UTC
Created attachment 107103 [details]
crash info after upadte to 2.0.99 (info in parallel)
Comment 11 opensuse.lietuviu.kalba 2017-08-06 08:18:42 UTC
If I run gdb for dolphin, I only see adding four line after each right-click:

                                                                                                                                                                                                                                 
Detaching after fork from child process 7810.                                                                                                                                                                                    
Detaching after fork from child process 7817.                                                                                                                                                                                    
Detaching after fork from child process 7818.                                                                                                                                                                                    
Detaching after fork from child process 7837.                                                                                                                                                                                    
                                                                                                                                                                                                                                 
I see this with right-click in any directory.


Sometimes accompanied with :

kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Failed to init messaging context\n"
Detaching after fork from child process 8660.
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Failed to init messaging context\n"
Detaching after fork from child process 8661.
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Failed to init messaging context\n"
Detaching after fork from child process 8662.
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Failed to init messaging context\n"
Detaching after fork from child process 8663.
kf5.kio.core: We got some errors while running 'net usershare info'
kf5.kio.core: "Failed to init messaging context\n"
Comment 12 Christian Ehrlicher 2017-08-06 09:20:43 UTC
Git commit f8030100249e715a8f222dc7b4f6f5072283ce90 by Christian Ehrlicher.
Committed on 06/08/2017 at 09:20.
Pushed by chehrlic into branch 'master'.

Don't pass an empty path to svn - could occur when '/' was checked with isWorkingCopy() through ioslave (e.g. dolphin)

M  +1    -15   src/svnqt/path.cpp

https://commits.kde.org/kdesvn/f8030100249e715a8f222dc7b4f6f5072283ce90