View previous topic :: View next topic |
Author |
Message |
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
Posted: Sat Mar 06, 2021 7:44 pm Post subject: [SOLVED] firefox-bin won't start, no output displayed |
|
|
Solved: If you're using dwm, check workspace 9!
I have a clean Gentoo install. X server has been set up. I am running it successfully and using dwm. I am posting this from links on xterm.
I emerged firefox-bin. When running firefox-bin from the command line, I do not get a browser, nor any output. It is as if nothing happened, but looking at the running processes firefox sure is running.
I tried running it with strace. It constantly outputs "EAGAIN (Resource temporarily unavailable)".
There seems to be nothing relevant on dmesg nor Xorg.0.log.
How should I proceed debugging this?
PS: I tried starting it in safe-mode which should disable hardware acceleration among other things. I also tried removing .mozilla even though it's a clean install. My user is on the video group. I also tried strating it with -gfatal-warnings, --no-remote, --sync, -P, --alow-downgrade, --browser, and pretty much everything else, to no avail. It just fails quitly, the process is running but the browser itself does not opne. Other browsers like surf work, but I wish to use firefox.
PPS: When running kill -IIL <firefox_PID> firefox opens a Window (finally!) saying it crashed and generates a crash report. Unfortunately it's not very useful as I still cannot use the browser itself.
Last edited by saturnalia0 on Sun Mar 14, 2021 1:36 am; edited 1 time in total |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1679
|
Posted: Sat Mar 06, 2021 11:42 pm Post subject: |
|
|
You could do an Code: | emerge --pretend www-client/firefox |
and see if your missing any dependencies.
What kind of DE are you running?
Post your emerge info. _________________ Donate to Gentoo |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1679
|
Posted: Sun Mar 07, 2021 12:43 am Post subject: |
|
|
Well your system is more up to date than mine.
Do you have dbus and dev-libs/dbus-glib installed?
Is dbus running? _________________ Donate to Gentoo |
|
Back to top |
|
|
guitou Guru
Joined: 02 Oct 2003 Posts: 534 Location: France
|
Posted: Sun Mar 07, 2021 12:02 pm Post subject: |
|
|
Hi.
Try running firefox from a terminal, this may give you some clues.
Edit: typo
++
Gi) |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
Posted: Sun Mar 07, 2021 7:39 pm Post subject: |
|
|
turtles wrote: | Well your system is more up to date than mine.
Do you have dbus and dev-libs/dbus-glib installed?
Is dbus running? |
Yes, dbus-glib is installed at the latest version available and dbus is running.
guitou wrote: | Hi.
Try running firefox from a terminal, this may give you some clues.
Edit: typo
++
Gi) |
I am already running it from a terminal, there is no output as I described in the original post.
PS: I also tried running /opt/firefox/firefox and /opt/firefox/firefox-bin directly, to no avail. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1658 Location: Germany
|
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
Posted: Mon Mar 08, 2021 10:48 am Post subject: |
|
|
Banana wrote: | what happens if you try the following:
- start save mode firefox-bin --safe-mode
- remove/rename manually the profile directory before starting
- rm or mv /home/(user)/.mozilla? |
As I mentioned in the original post I have already tried those. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1679
|
Posted: Mon Mar 08, 2021 4:33 pm Post subject: Re: firefox-bin won't start, no output displayed |
|
|
saturnalia0 wrote: | When running kill -IIL <firefox_PID> firefox opens a Window (finally!) saying it crashed and generates a crash report. |
post that on pastebin or somwhere we can see it.
Also your emerge info and the output of Code: | grep -E "CGROUPS|INOTIFY_USER" /usr/src/linux/.config |
If your kernel is set up right, I bet its a dbus issue, can you run other X apps?
Code: | echo $DBUS_SESSION_BUS_ADDRESS
|
use to make sure there are no lingering processes
Then try
Code: | dbus-launch firefox |
_________________ Donate to Gentoo |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1658 Location: Germany
|
Posted: Mon Mar 08, 2021 5:18 pm Post subject: |
|
|
saturnalia0 wrote: | Banana wrote: | what happens if you try the following:
- start save mode firefox-bin --safe-mode
- remove/rename manually the profile directory before starting
- rm or mv /home/(user)/.mozilla? |
As I mentioned in the original post I have already tried those. |
whoops, sorry. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
|
guitou Guru
Joined: 02 Oct 2003 Posts: 534 Location: France
|
Posted: Mon Mar 08, 2021 6:19 pm Post subject: |
|
|
Hello.
Quote: | I am already running it from a terminal, there is no output as I described in the original post. |
My bad, missed that point.
Anyway, you told about running with strace and getting this:
Code: | EAGAIN (Resource temporarily unavailable) |
Might be interesting to check previous system call: obviously, identifying the missing resource could help you find out your issue.
++
Gi) |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
Posted: Sun Mar 14, 2021 1:22 am Post subject: |
|
|
turtles wrote: | saturnalia0 wrote: | When running kill -IIL <firefox_PID> firefox opens a Window (finally!) saying it crashed and generates a crash report. |
post that on pastebin or somwhere we can see it.
|
Code: |
AdapterDeviceID: 0x1c03
AdapterDriverVendor: nvidia/unknown
AdapterDriverVersion: 460.39.0.0
AdapterVendorID: 0x10de
Add-ons: doh-rollout%40mozilla.org:2.0.0,formautofill%40mozilla.org:1.0,screenshots%40mozilla.org:39.0.0,webcompat%40mozilla.org:19.0.0,default-theme%40mozilla.org:1.1,google%40search.mozilla.org:1.1,amazondotcom%40search.mozilla.org:1.3,wikipedia%40search.mozilla.org:1.1,bing%40search.mozilla.org:1.3,ddg%40search.mozilla.org:1.1
AvailablePageFile: 3460141056
AvailablePhysicalMemory: 6865281024
AvailableSwapMemory: 0
AvailableVirtualMemory: 7723065344
BuildID: 20210222142601
ContentSandboxCapabilities: 23
ContentSandboxCapable: 1
ContentSandboxLevel: 4
CrashTime: 1615683845
DOMIPCEnabled: 1
DesktopEnvironment: unknown
EventLoopNestingLevel: 1
ExperimentalFeatures: browser.startup.homepage.abouthome_cache.enabled,network.cookie.sameSite.laxByDefault,network.cookie.sameSite.noneRequiresSecure,network.cookie.sameSite.schemeful,layout.css.constructable-stylesheets.enabled,layout.css.focus-visible.enabled,layout.css.grid-template-masonry-value.enabled,devtools.inspector.color-scheme-simulation.enabled,devtools.inspector.compatibility.enabled,devtools.webconsole.input.context,devtools.debugger.features.windowless-service-workers,fission.autostart,network.http.http3.enabled,image.avif.enabled,media.videocontrols.picture-in-picture.allow-multiple,print.tab_modal.enabled,dom.input_events.beforeinput.enabled,dom.forms.inputmode,network.preload,dom.webgpu.enabled,privacy.webrtc.globalMuteToggles
FramePoisonBase: 9223372036600930304
FramePoisonSize: 4096
InstallTime: 1615683626
IsWayland: 0
IsWaylandDRM: 0
Notes: FP(D00-L1000-W00000000-T000) WR? WR- OMTP? OMTP+3
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 41
StartupCrash: 0
StartupTime: 1615683839
TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86-64","buildId":"20210222142601","version":"86.0","vendor":"Mozilla","displayVersion":"86.0","platformVersion":"86.0","xpcomAbi":"x86_64-gcc3","updaterAvailable":true},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":7902,"virtualMaxMB":null,"cpu":{"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES"]},"os":{"name":"Linux","version":"5.4.97-gentoo","locale":"en-US"},"hdd":{"profile":{"model":null,"revision":null,"type":null},"binary":{"model":null,"revision":null,"type":null},"system":{"model":null,"revision":null,"type":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","Headless":false,"EmbeddedInFirefoxReality":null,"adapters":[{"description":"GeForce GTX 1060 6GB/PCIe/SSE2","vendorID":"0x10de","deviceID":"0x1c03","subsysID":null,"RAM":0,"driver":null,"driverVendor":"nvidia/unknown","driverVersion":"460.39.0.0","driverDate":null,"GPUActive":true}],"monitors":[{"screenWidth":1920,"screenHeight":1080}],"features":{"compositor":"basic","hwCompositing":{"status":"blocked:"},"gpuProcess":{"status":"unused"},"wrQualified":{"status":"blocklisted:FEATURE_FAILURE_WEBRENDER_NO_LINUX_NVIDIA"},"webrender":{"status":"disabled:FEATURE_FAILURE_NOT_QUALIFIED"},"wrCompositor":{"status":"disabled:FEATURE_FAILURE_DISABLED"},"wrSoftware":{"status":"denied"},"openglCompositing":{"status":"unavailable:FEATURE_FAILURE_OPENGL_NEED_HWCOMP"},"omtp":{"status":"available"}}},"appleModelId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":true,"e10sMultiProcesses":8,"fissionEnabled":false,"telemetryEnabled":false,"locale":"en-US","intl":{"requestedLocales":["en-US"],"availableLocales":["en-US"],"appLocales":["en-US"],"systemLocales":["en-US"],"regionalPrefsLocales":["en-US"],"acceptLanguages":["en-US","en"]},"update":{"channel":"release","enabled":false,"autoDownload":true},"userPrefs":{"browser.search.region":"BR","browser.search.widget.inNavBar":false,"widget.content.allow-gtk-dark-theme":false,"widget.content.gtk-high-contrast.enabled":true},"sandbox":{"effectiveContentProcessLevel":4},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":true,"defaultSearchEngine":"google-b-d","defaultSearchEngineData":{"loadPath":"[other]addEngineWithDetails:google@search.mozilla.org","name":"Google","origin":"default","submissionURL":"https://www.google.com/search?client=firefox-b-d&q="}},"profile":{"creationDate":18700,"firstUseDate":18700},"addons":{"activeAddons":{"doh-rollout@mozilla.org":{"version":"2.0.0","scope":1,"type":"extension","updateDay":18680,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"This used to be a Mozilla add-on that supported the roll-out of DoH, but now only exists as a stub t","name":"DoH Roll-Out","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18680},"formautofill@mozilla.org":{"version":"1.0","scope":1,"type":"extension","updateDay":18680,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":null,"name":"Form Autofill","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18680},"screenshots@mozilla.org":{"version":"39.0.0","scope":1,"type":"extension","updateDay":18680,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Take clips and screenshots from the Web and save them temporarily or permanently.","name":"Firefox Screenshots","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18680},"webcompat@mozilla.org":{"version":"19.0.0","scope":1,"type":"extension","updateDay":18680,"isSystem":true,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"Urgent post-release fixes for web compatibility.","name":"Web Compatibility Interventions","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18680}},"theme":{"id":"default-theme@mozilla.org","blocklisted":false,"description":"A theme with the operating system color scheme.","name":"Default","userDisabled":false,"appDisabled":false,"version":"1.1","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18700,"updateDay":18700},"activePlugins":[],"activeGMPlugins":{"gmp-gmpopenh264":{"version":null,"userDisabled":false,"applyBackgroundUpdates":1}}}}
ThreadIdNameMapping: 14935:"IPC I/O Parent",14936:"Timer",14937:"Netlink Monitor",14938:"Socket Thread",14939:"Permission",14963:"JS Helper",14964:"JS Helper",14966:"JS Helper",14962:"JS Watchdog",14965:"JS Helper",14968:"Cache2 I/O",14969:"Cookie",14970:"StreamTrans #1",14971:"StreamTrans #2",14972:"Worker Launcher",14973:"SoftwareVsyncThread",14974:"Compositor",14975:"ImageIO",14976:"IPDL Background",14982:"DOM Worker",14984:"QuotaManager IO",14985:"StreamTrans #4",14987:"StreamTrans #6",14988:"IndexedDB #1",14989:"StyleThread#0",14990:"StyleThread#1",14991:"StyleThread#2",14992:"ImageBridgeChld",14993:"Breakpad Server",14995:"IPC Launch",14997:"GMPThread",14999:"FS Broker 14996",15000:"ProcessHangMon",15019:"TaskController Thread #0",15020:"TaskController Thread #1",15021:"TaskController Thread #2",15022:"TRR Background",15024:"BackgroundThreadPool #2",15025:"DNS Resolver #1",15026:"Cache I/O",15027:"BgIOThreadPool #1",15028:"HTML5 Parser",15031:"DNS Resolver #2",15035:"mozStorage #1",15036:"mozStorage #2",15037:"mozStorage #3",15038:"StreamTrans #7",15042:"SSL Cert #1",15043:"DOM Worker",15046:"FS Broker 15044",15058:"localStorage DB",15059:"localStorage DB",15065:"DNS Resolver #3",15066:"IndexedDB #2",15067:"IndexedDB #3",15068:"DOM Worker",15074:"FS Broker 15072",15075:"DOM Worker",15076:"IndexedDB #4",15084:"IndexedDB #5",15089:"URL Classifier",15096:"IndexedDB #6",15100:"mozStorage #4",15102:"ExtensionProtocolHandler",15109:"SaveScripts",15112:"FS Broker 15110",
Throttleable: 1
TotalPageFile: 8286052352
TotalPhysicalMemory: 8286052352
URL: about:sessionrestore
UptimeTS: 5.5528776
Vendor: Mozilla
Version: 86.0
useragent_locale: en-US
This report also contains technical information about the state of the application when it crashed.
|
turtles wrote: |
Also your emerge info and the output of Code: | grep -E "CGROUPS|INOTIFY_USER" /usr/src/linux/.config |
|
Code: |
gentoopc ~ # grep -E "CGROUPS|INOTIFY_USER" /usr/src/linux/.config
CONFIG_CGROUPS=y
CONFIG_INOTIFY_USER=y
|
turtles wrote: |
If your kernel is set up right, I bet its a dbus issue, can you run other X apps?
|
Yes, I am posting this from Dillo.
turtles wrote: |
Code: | echo $DBUS_SESSION_BUS_ADDRESS
|
|
That yields no output.
turtles wrote: |
use to make sure there are no lingering processes
Then try
Code: | dbus-launch firefox |
|
Same thing as running firefox-bin directly, no output. |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 155
|
Posted: Sun Mar 14, 2021 1:36 am Post subject: |
|
|
Posting this from firefox, finally!
Feeling pretty dumb though.
Firefox was running the entire time, it just so happens to open in a separate workspace (or whatever its called on dwm)... I'm used to always hiding dmenu as soon as I startx so I did not see it... It starts on workspace 9 whilst you're on 1 by default.
|
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1679
|
Posted: Sun Mar 14, 2021 4:31 am Post subject: |
|
|
Well glad it was resolved! _________________ Donate to Gentoo |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|