[GH-ISSUE #3597] Firefox kfmclient crash #2254

Closed
opened 2026-05-05 08:56:51 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @g4njawizard on GitHub (Aug 20, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3597

Write clear, concise and in textual form.

Firefox Downloads bugged

  • Opening the Download Directory via Firefox crashes "kfmclient"

No profile or disabling firejail

  • What changed calling firejail --noprofile PROGRAM in a shell?
    Still same behaviour.
  • What changed calling the program by path=without firejail (check whereis PROGRAM, firejail --list, stat $programpath)?
    Without Firejail it's working

Reproduce
Steps to reproduce the behavior:

  1. Run in bash firejail firefox
  2. Click after Download "Open Directory"

Environment
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2020.3
Codename: kali-rolling

  • firejail version 0.9.62.2
debug output
ediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-6uO2g7/firefox-esr-68.11.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3307
[Child 213, MediaPlayback #2] WARNING: Decoder=7fe035d0ae00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-6uO2g7/firefox-esr-68.11.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3307
Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QUrl("file:///home/odin/Downloads") mimetype= "inode/directory"
Session bus not found
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kfmclient path = /usr/bin pid = 1454
KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend
Sandbox: seccomp sandbox violation: pid 1475, tid 1475, syscall 315, args 1475 139736384189504 56 0 10 139736384189504.
Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QUrl("file:///home/odin/Downloads") mimetype= "inode/directory"
Session bus not found
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kfmclient path = /usr/bin pid = 1551
KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend
Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QUrl("file:///home/odin/Downloads") mimetype= "inode/directory"
Session bus not found
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kfmclient path = /usr/bin pid = 1578
KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend

Originally created by @g4njawizard on GitHub (Aug 20, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3597 Write clear, concise and in textual form. **Firefox Downloads bugged** - Opening the Download Directory via Firefox crashes "kfmclient" **No profile or disabling firejail** - What changed calling `firejail --noprofile PROGRAM` in a shell? Still same behaviour. - What changed calling the program *by path*=without firejail (check `whereis PROGRAM`, `firejail --list`, `stat $programpath`)? Without Firejail it's working **Reproduce** Steps to reproduce the behavior: 1. Run in bash `firejail firefox` 2. Click after Download "Open Directory" **Environment** No LSB modules are available. Distributor ID: Kali Description: Kali GNU/Linux Rolling Release: 2020.3 Codename: kali-rolling - firejail version 0.9.62.2 <details><summary> debug output </summary> ``` ediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-6uO2g7/firefox-esr-68.11.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3307 [Child 213, MediaPlayback #2] WARNING: Decoder=7fe035d0ae00 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-6uO2g7/firefox-esr-68.11.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3307 Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed QUrl("file:///home/odin/Downloads") mimetype= "inode/directory" Session bus not found KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kfmclient path = /usr/bin pid = 1454 KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend Sandbox: seccomp sandbox violation: pid 1475, tid 1475, syscall 315, args 1475 139736384189504 56 0 10 139736384189504. Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed QUrl("file:///home/odin/Downloads") mimetype= "inode/directory" Session bus not found KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kfmclient path = /usr/bin pid = 1551 KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed QUrl("file:///home/odin/Downloads") mimetype= "inode/directory" Session bus not found KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kfmclient path = /usr/bin pid = 1578 KCrash: Arguments: /usr/bin/kfmclient openURL /home/odin/Downloads inode/directory KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed org.kde.drkonqi: Unable to find an internal debugger that can work with the KCrash backend ``` </details>
Author
Owner

@bbhtt commented on GitHub (Aug 20, 2020):

Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung

Start with commenting nodbus in /etc/firejail/firefox-common.profile. If noprofile fails it's hard... Opening the download directory by right-clicking downloads isn't supported on the profiles of 0.9.62 I think.

<!-- gh-comment-id:677427189 --> @bbhtt commented on GitHub (Aug 20, 2020): > Failed to open connection to session bus: Failed to connect to socket /run/user/1000/bus: Keine Berechtigung Start with commenting `nodbus` in `/etc/firejail/firefox-common.profile`. If noprofile fails it's hard... Opening the download directory by right-clicking downloads isn't supported on the profiles of 0.9.62 I think.
Author
Owner

@g4njawizard commented on GitHub (Aug 20, 2020):

That worked, thx!

<!-- gh-comment-id:677506836 --> @g4njawizard commented on GitHub (Aug 20, 2020): That worked, thx!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2254
No description provided.