memory dump/segmentation faults when starting browsers

please help me troubleshoot…

Qutebrowser works fine…

When I try to start firefox or surf browser I get memory dump or segmentation fault errors

in surf:


for instance in surf:
surf http://www.google.com

surf http://www.google.com
[1]    25326 segmentation fault (core dumped)  surf http

in firefox

 eklebanow@linux-6sxo  ~  firefox                                                           INSERT  11 ↵  6687  22:00:14ExceptionHandler::GenerateDump cloned child 31152
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...



The most common cause is having the repos messed up. So please provide the output from

zypper lr -d

and use a CODE box to post that. The “#” icon in the editor can generate a CODE box.

here is the output of zypper -lr -d


zypper lr -d# | Alias | Name
| Enabled | GPG Check | Refresh | Priority | Type | URI
| Service
—±------------------------------------±------------------------------------------±--------±----------±--------±---------±-------±-------------------------------------------------------------------------------------------------±-------
1 | Leap_15. | Leap_15.
| Yes | ( p) Yes | No | 99 | NONE | https://download.opensuse.org/repositories/X11:terminals/openSUSE_Tumnbleweed/X11:terminals.repo |
2 | games_tools | Tools for Gamers (openSUSE_Tumbleweed) | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_Tumbleweed/ |
3 | home_malcolmlewis_TESTING | Testing packages… (openSUSE_Tumbleweed) | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/ |
4 | http-download.opensuse.org-158429bc | multimedia:libs
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Tumbleweed/ |
5 | http-download.opensuse.org-206c100c | X11:terminals
6 | http-download.opensuse.org-2ed875e6 | home:SocMinarch:ffmpeg
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/SocMinarch:/ffmpeg/openSUSE_Factory/ |
7 | http-download.opensuse.org-3558527b | X11:LXQt:git
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/LXQt:/git/openSUSE_Tumbleweed/ |
8 | http-download.opensuse.org-38b0e166 | multimedia:apps
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Tumbleweed/ |
9 | http-download.opensuse.org-3949659f | home:adown69:DEPS
| Yes | (r ) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/home:/adown69:/DEPS/openSUSE_Tumbleweed/ |
10 | http-download.opensuse.org-3d754633 | KDE:Qt5
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Factory/ |
11 | http-download.opensuse.org-4601b3ef | SUSE:SLE-12:GA
| Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/SUSE:/SLE-12:/GA/standard/ |
12 | http-download.opensuse.org-4ad21fb6 | home:OmniOBS
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/OmniOBS/openSUSE_Tumbleweed/ |
13 | http-download.opensuse.org-622cd09a | openSUSE:Factory
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/

14 | http-download.opensuse.org-681c82a1 | devel:languages:go
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Factory/ |
15 | http-download.opensuse.org-71485e88 | system:snappy
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/ |
16 | http-download.opensuse.org-78d90c5b | openSUSE:Factory
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/
|
17 | http-download.opensuse.org-7e828dea | X11:terminals
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/terminals/SLE_12/
|
18 | http-download.opensuse.org-8bdbcd95 | home:Simmphonie
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Simmphonie/openSUSE_Tumbleweed/ |
19 | http-download.opensuse.org-95047b96 | utilities:suckless
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/utilities:/suckless/openSUSE_Tumbleweed/ |
20 | http-download.opensuse.org-9d5b393a | openSUSE:Tumbleweed
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
21 | http-download.opensuse.org-a24b0507 | home:beyerle:IACf
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/beyerle:/IAC/openSUSE_Factory/ |
22 | http-download.opensuse.org-b28262fd | home:fusion809
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/fusion809/openSUSE_Tumbleweed//
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/fusion809/openSUSE_Tumbleweed/ |
23 | http-download.opensuse.org-c6eddcd8 | home:adown69
| Yes | (r ) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/home:/adown69/openSUSE_Tumbleweed/ |
24 | http-download.opensuse.org-d1471b01 | openSUSE:Factory
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/
|
25 | http-download.opensuse.org-d8041c5a | SUSE:SLE-12:GA
| Yes | ( p) Yes | Yes | 99 | NONE | http://download.opensuse.org/repositories/SUSE:/SLE-12:/GA/standard/ |
26 | http-download.opensuse.org-e5c3168a | X11:terminals
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/terminals/openSUSE_Factory/ |
27 | http-download.opensuse.org-f09915c7 | utilities:suckless
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/utilities:/suckless/openSUSE_Tumbleweed/ |
28 | http-download.opensuse.org-f0ab2bf7 | games:tools
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_Tumbleweed/ |
29 | http-ftp.gwdg.de-477e3f67 | Packman Repository
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/
|
30 | http-opensuse-guide.org-f0b08bf5 | libdvdcss repository
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/
|
31 | network_chromium | Chromium (openSUSE_Factory) | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/network:/chromium/openSUSE_Factory/
32 | openSUSE-20181015-0 | openSUSE-20181015-0
| Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss
|
33 | packman | packman
| Yes | (r ) Yes | Yes | 1 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
|
34 | packman-essentials | packman-essentials
| Yes | (r ) Yes | Yes | 90 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials |
35 | repo-debug | openSUSE-Tumbleweed-Debug
| No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/
|
36 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/
|
37 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/tumbleweed/repo/oss/
|
38 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/
|
39 | snappy | snappy
| Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/

In all honesty, your repo list is a mess. You seem to have duplicates, though it is somewhat hard to read.

Since you have packman, you do not need packman-essentials. That’s just redundant.

The most important repos are the standard Tumbleweed ones and packman. Those appear to be #32, #36, #38, #33 on your list.

I suggest that you disable everything else, and then run “zypper dup”. That should get you back to a stable system. After that, you will have to work out which of those other repos you really need and selectively re-enable those. At present, you are apparently picking up conflicting libraries from some of them, causing your problems.

I did as was suggested…

I removed all repos using zypper rr
Then I added the six repos suggested (OSS, Non OSS, Update, SRC OSS. SRC NON OSS, and Debug Tumbleweed versions) prior to performing zypper dup

I did a restart…Still getting same error meassages when starting firefox and surf brower

Do you get any conflict messages when you

zypper dup

and how are you resolving those?

From the free bsd board I found this…suggests that problems I am seeing could be due to javascript in the gtk browsers (surf and firefox)…

"Searched in the compilation instuction of Arch Linux arm’s PKGBUILD and there was a comment about “–disable-jit”. This comment said that is necessary to disable JIT because segmentation fault.

In recent test I found that it was the web pages with javascript that crashed the browser.

I have built webkitgtk from port after modify the Makefile to include this option ("–disable-jit"). And after reinstallation, vimb works ! (and probably all others webkitgtk based web browser like midori, surf, etc.)"

[size=2]Problem: I am a Noob…I do not know how to disable-jit Do I need to do that in webkitgtk makefile or in the makefile of surf browser. How do I disable-jit (what code do I need to add and where do I add it and to which make file???

Can someone help me with this…Thanks in advance…[/size]

My 2 cents: reinstall. You have a mix of packages from various openSUSE and SUSE versions. The result is what you’re experiencing now.

Yes, that’s probably the best path at this point.

I have a separate home partition…do I need to reformat it s well?

If I do a reinstal will l I still have problems if I keep my home partition intact? Or do I need to wipe everything and start over?

First,
Your question about jit would apply only if you compiled your web browsers from source.
I assume you’re not doing that, you’re installing pre-compiled applications from a repository.

As for re-installing,
You can do that and keep your home directory…

  • First, copy your entire /home directory somewhere for safekeeping in case you make a mistake. A direct attached external hard drive would be a good choice.
  • Using a partition editor (YaST has one), inspect your partitions. If you installed the default layout (accept defaults during installation), your partitions should be

sda swap
sdb root
sdc home

Whatever you see, write it down if you must.

  • The next step is to reboot to a partition editor where you will remove the partitions containing your swap and root partitions. You can boot to a command line and run fdisk. If you prefer to use a graphical tool, I recommend GParted Live.
  • With the swap and root partitions removed (They should be free, unfornatted soace), insert your Installation DVD and run until you’re prompted to install the Default Layout. Instead, select the Advanced Guided, somewhere in there you will be offered the Parted tool where you can set /home to your existing partition instead of creating new. Or, if this gets messed up it will only mean that you’ll create a new /home partition and then you can copy or move everything from your original partition into your new /home partition.

I wouldn’t be so quick to do a complete re-install yet, though…
You can also try using a DVD to “repair” your system, you can either run the regular repair or try to do an “upgrade” which is more or less similar to what you were trying to do by running “zypper dup.” There is a fair chance using the DVD will fix your problems, and as long as the DVD isn’t older than a couple months, it should be OK.

TSU

Keeping the home partition should be fine. I normally do that.

If you still have problems, then just remove the configuration part:


cd
rm -rf .config
rm -rf .local
rm -rf .mozilla  ## this is the one with firefox configuration.

If you remove any of those directories, it is best to not be logged into your desktop. Just login temporarily to Icewm which doesn’t use those directories (unless you start an application which uses them).

Your question about jit would apply only if you compiled your web browsers from source.
I assume you’re not doing that, you’re installing pre-compiled applications from a repository.
a couple months, it should be OK.

TSU
I am most interested in getting surf browser to work which is a suckless app…it is compiled from source…so my question about jit removal is valid

TSU…you said:
Your question about jit would apply only if you compiled your web browsers from source.
I assume you’re not doing that, you’re installing pre-compiled applications from a repository.
a couple months, it should be OK.

I am most interested in getting surf browser to work which is a suckless app…it is compiled from source…so my question about jit removal is valid

I am most interested in getting surf browser a suckless app compiled from source to work