starting silence from the command line gives $ silence KCrash: Application 'silence' crashing... KCrash: Attempting to start from kdeinit KCrash: Connect sock_file=/home/myuser/.kde4/socket-some.com/kdeinit4_unix_0 Warning: connect() failed: : Connection refused KCrash: Attempting to start directly KCrash failed to exec(), errno = 2 I had to create the sym-link to /tmp/ksocket-myuser in ~/.kde4 manually, so that current contents of ~/.kde4: lrwxr-xr-x 1 myuser wheel socket-some.com -> /tmp/ksocket-myuser lrwxr-xr-x 1 myuser wheel cache-some.com -> /var/tmp/kdecache-myuser lrwxr-xr-x 1 myuser wheel tmp-some.com -> /tmp/kde-myuser drwx------ 5 myuser wheel share Other KDE applications start normally. Any ideas?
Sorry, the first output is when there's no other KDE app running (which means silence fails to initialize/start kdeinit if not already running). If I start some other KDE app, then start silence, the problem message is one of "cannot find executable": Could this error have anything to do with missing data folder (like config/slim)? $ /usr/local/bin/silence KCrash: Application 'silence' crashing... KCrash: Attempting to start from kdeinit KCrash: Connect sock_file=/home/myuser/.kde4/socket-some.com/kdeinit4_unix_0 Could not find '' executable. KCrash: Attempting to start directly KCrash failed to exec(), errno = 2 $ pkg list silence /usr/local/bin/silence /usr/local/share/icons/hicolor/128x128/apps/silence.png /usr/local/share/icons/hicolor/16x16/apps/silence.png /usr/local/share/icons/hicolor/22x22/apps/silence.png /usr/local/share/icons/hicolor/32x32/apps/silence.png /usr/local/share/icons/hicolor/48x48/apps/silence.png /usr/local/share/icons/hicolor/64x64/apps/silence.png /usr/local/share/licenses/silence-0.2_7/GPLv2 /usr/local/share/licenses/silence-0.2_7/LICENSE /usr/local/share/licenses/silence-0.2_7/catalog.mk
Can you please confirm that this occurred on arm64 hardware, or update the Hardware dropdown if not?
Hi, Ed & sorry for late response. Hardware is amd64, system: 11-Current, #6 96b33bc Sat Mar 12 2016 Regards.
Hi, Is this PR still relevant?
This issue is still valid deskutils/silence compiled WITH_DEBUG and per suggestion x11/kde4-runtime was installed. KDE debug dialog shows: Application: Silence (silence), signal: Segmentation fault (11) Using "$ gdb silence" (gdb) run Starting program: /usr/local/bin/silence then: then/endif not found. KCrash: Application 'silence' crashing... KCrash: Attempting to start /usr/local/lib/kde4/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/user/.kde4/socket-bsd.me/kdeinit4_unix_0 ptrace: Operation not permitted. /tmp/kde-rsb/drkonqiC95638.tmp:2: Error in sourced command file: No thread selected During startup program exited with code 253. I can't backtrace because kernel is built without debug options Regards.
If there is anything different with running gdb as root, please include the output as an attachment. Please also (re)confirm: - The exact version of freebsd currently running (uname -a) - The exact version(s) of relevant software running (pkg version -v as attachment) - Whether you are using ports, packages or a combination of both - Include the (sanitized if necessary) contents of /etc/make.conf if using ports
Created attachment 184344 [details] The exact version(s) of relevant software running
Created attachment 184345 [details] gdb tace file - The exact version of freebsd currently running (uname -a) FreeBSD 12.0-CURRENT #0 91c0252b994(hardened/current/drm-next): Thu Jul 13 07:55:59 2017 When I initially reported, I was on FreeBSD, not HBSD. Hardened sysctls are turned of & secadm is flushed for testing. - Whether you are using ports, packages or a combination of both Ports built in Poudriere - The exact version(s) of relevant software running Relevant packages list attached * I was able to figure out how to run gdb as root and managed to get a backtrace * Not using KDE desktop & HAL is not enabled. * Separate but possibly related: From kde-baseapps, dolphin was giving the same message described for silence, while konqueror was segfaulting without any message. Compile of baseapps as WITH_DEBUG has now allowed these 2 apps to start normally. - Include contents of /etc/make.conf if using ports #_PORTS_SETTINGS WITH_CPUFLAGS=yes BUILD_OPTIMIZED=yes #_PORT_WITH_WITHOUT NO_PROFILE=yes OPTIONS_UNSET= DOCS EXAMPLES NLS IPV6 HAL QT4_OPTIONS= CUPS QGTKSTYL #_DEBUG_OPTS WITH_DEBUG_PORTS= graphics/cairo x11-toolkits/pango graphics/py-cairo \ graphics/cairomm x11/kde4-baseapps deskutils/silence WINE_CROSS_BUILD=yes #_DEFAULT_PORT_VERs DEFAULT_VERSIONS+= mysql=100m lua=5.2 php=7.0 bdb=6 linux=c7 \ WITH_BDB_HIGHEST=yes WITH_BDB6_PERMITTED=yes JAVA_OS= native JAVA_VENDOR= openjdk JAVA_DEFAULT?= 1.8+ JAVA_VERSION?= 1.8+
Expired port removed.