LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2021, 10:43 PM   #1
MrHull
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Rep: Reputation: Disabled
Firefox closes when trying to open a download


Environment:
Slackware 14.2 Stable, up to date. Firefox 68.12.0esr (64-bit)

In Firefox when I download a file and choose the option “open with” but choose a program which is not the default, Firefox will close. When I reopen Firefox and try again, the default program is now listed as what I tried (changed to) the first time, and then it does work.

Example. Try to download this file
https://sample-videos.com/csv/Sample...et-10-rows.csv
If “open with” recommends a spreadsheet program then try to open with Kate, for example.

Saving to disk always works and is of course a work-around. But what I'm doing should not crash the browser.
 
Old 01-15-2021, 10:23 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you tried this while running firefox from the CLI? It might provide some output that can help determine the issue.
 
Old 01-15-2021, 11:56 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by MrHull View Post
Environment:
Slackware 14.2 Stable, up to date. Firefox 68.12.0esr (64-bit)

In Firefox when I download a file and choose the option “open with” but choose a program which is not the default, Firefox will close. When I reopen Firefox and try again, the default program is now listed as what I tried (changed to) the first time, and then it does work.

Example. Try to download this file
https://sample-videos.com/csv/Sample...et-10-rows.csv
If “open with” recommends a spreadsheet program then try to open with Kate, for example.

Saving to disk always works and is of course a work-around. But what I'm doing should not crash the browser.
Same Slackware version, exact same Firefox version and opening the link worked here, it launched Kwrite, document loaded with the file content

[edit]
Changed the app and tried to open it with Kate and Firefox indeed did quit

Running Firefox from terminal, got these messages
Code:
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault
[edit2]
Quick search leads to an old bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1244305

Simple workaround rather than modifying firefox source code and recompile it would be:
- Go to firefox preferences (about:preferences)
- Then change prefered application for document CSV in Files and Application > Application
(using csv in search bar)

Last edited by keefaz; 01-15-2021 at 12:59 PM.
 
1 members found this post helpful.
Old 01-15-2021, 09:18 PM   #4
MrHull
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for your sleuthing. Looks like you found the exact bug, which is still there after 5 years. And yes, I get those same messages in the terminal.
There's no quick fix but I will mark this as solved since I see it's not a Slackware bug.

Last edited by MrHull; 01-15-2021 at 09:29 PM.
 
Old 01-15-2021, 09:20 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Quote:
Should this be marked as "solved" since we know what it is now?
I would say yes, because there's nothing else that can be done about it here, but that's just me.

Last edited by frankbell; 01-15-2021 at 09:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera closes Kubuntu download baking-a-77 Linux - Newbie 2 02-03-2007 07:10 AM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
SuSE 9.1 YasT closes when trying to install .rpm JazzSheep Linux - Software 12 09-24-2004 04:00 PM
qmail prematurely closes connection when trying to telnet... ivj Linux - Software 0 07-25-2004 04:47 AM
Browser closes on download tangaz Linux - Software 4 10-25-2003 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration