You are not logged in.

#1 2013-01-05 00:35:44

rohshall
Member
Registered: 2012-07-31
Posts: 1

Random crashes in Chromium and Firefox

Since I installed firefox and Chromium on my 64-bit system, they have been crashing randomly with segmentation fault often within first 10 seconds.
Here are the gdb outputs:

salil@ideapad ~ %gdb /usr/lib/firefox/firefox
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<[url]http://www.gnu.org/software/gdb/bugs/[/url]>...
Reading symbols from /usr/lib/firefox/firefox...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/firefox/firefox 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace

[b]--Some thread creation[/b]

[New Thread 0x7fffd07f0700 (LWP 750)]
[New Thread 0x7fffcfaff700 (LWP 751)]
[Thread 0x7fffcfaff700 (LWP 751) exited]
[New Thread 0x7fffcfaff700 (LWP 752)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4cb02c4 in ?? () from /usr/lib/firefox/libxul.so

For Chromium:

salil@ideapad ~ %gdb /usr/lib/chromium/chromium
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<[url]http://www.gnu.org/software/gdb/bugs/[/url]>...
Reading symbols from /usr/lib/chromium/chromium...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/chromium/chromium 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeb03c700 (LWP 1161)]
[New Thread 0x7fffea62e700 (LWP 1162)]

[New Thread 0x7fffe3881700 (LWP 1176)]
[New Thread 0x7fffe3080700 (LWP 1177)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe84a7700 (LWP 1168)]
0x0000555556a05638 in ?? ()

And, this is for Chromium on a good day when it does not crash immediately (but individual tabs keep crashing while opening URLs):

salil@ideapad ~ %gdb /usr/lib/chromium/chromium
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<[url]http://www.gnu.org/software/gdb/bugs/[/url]>...
Reading symbols from /usr/lib/chromium/chromium...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/chromium/chromium 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeb03c700 (LWP 793)]
[New Thread 0x7fffea62e700 (LWP 794)]
[New Thread 0x7fffe9e2d700 (LWP 795)]
[New Thread 0x7fffd823b700 (LWP 847)]
[778:800:0105/162938:ERROR:diagnostic_error_delegate.h(30)] sqlite error 11, errno 0: malformed database schema (autofill_dates_pair_id) - no such table: main.autofill_dates
[778:800:0105/162938:ERROR:keyword_table.cc(548)] Can't write default search id backup.
[778:800:0105/162938:ERROR:keyword_table.cc(477)] Failed to update default search id backup.

The trace above is generated before Chromium shows "snap - aw, something bad happened' message.
The following trace is generated after some time, when it tries to load the plugins.

[Thread 0x7fffd7794700 (LWP 960) exited]
third_party/tcmalloc/chromium/src/tcmalloc.cc:285] Attempt to free invalid pointer 0x10000 
[New Thread 0x7fffd7794700 (LWP 971)]
[Thread 0x7fffd7794700 (LWP 971) exited]
[778:778:0105/163916:ERROR:extension_prefs.cc(1522)] Bad or missing pref 'version' for extension 'fnibmbcdeepaahjmddiihohjanlimlmj'
[778:778:0105/163917:ERROR:extension_prefs.cc(1522)] Bad or missing pref 'version' for extension 'pjjhlfkghdhmijklfnahfkpgmhcmfgcm'
[778:778:0105/163917:ERROR:extension_prefs.cc(1522)] Bad or missing pref 'version' for extension 'apdfllckaahabafndbhieahigkjlhalf'
[778:778:0105/163917:ERROR:extension_prefs.cc(1522)] Bad or missing pref 'version' for extension 'blpcfgokakmgnkcojhhkbfbldkacnbeo'
[778:778:0105/163920:ERROR:extension_prefs.cc(1522)] Bad or missing pref 'version' for extension 'mijlebbfndhelmdpmllgcfadlkankhok'
[New Thread 0x7fffd7794700 (LWP 1001)]
[Thread 0x7fffd7794700 (LWP 1001) exited]
[New Thread 0x7fffd82fd700 (LWP 1005)]
[New Thread 0x7fffd831e700 (LWP 1006)]
[New Thread 0x7ffff7e1d700 (LWP 1007)]
[778:806:0105/163920:ERROR:ipc_channel_posix.cc(590)] pipe error on 130 Currently writing message of size: 36: Invalid argument

I have tried google-chrome and google-chrome-dev too. They all crash.

My Opera also crashes, but less frequently than Chromium and Firefox. So, that is how I could post this question.
Does anybody know of a solution?

Last edited by rohshall (2013-01-05 02:05:46)

Offline

#2 2013-01-05 01:35:57

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Random crashes in Chromium and Firefox

Please use code tag to post long pastes. It makes it much easier to read.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2013-01-14 05:34:24

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Random crashes in Chromium and Firefox

This might be out of topic but I am just curious if following errors are harmless. I get these when I run gdb rescuetime and it never exits cleanly.

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace

Offline

#4 2013-01-18 22:08:06

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Random crashes in Chromium and Firefox

Hi rohshall, did you have any success overcoming these errors? I am also seeing something similar that started a couple of months ago and only seems to effect some apps. For me Firefox is the worst offender, originally only crashing every so often but now will crash within 10 seconds or so every time. Skype also crashes occasionally in the same way (segfaults).

Looking into `dmesg` I see:

systemd-journald[137]: Failed to write entry, ignoring: Argument list too long

I imagine that this could be caused by a stack trace or something, but Googling for this error shows only a few unrelated threads.

In the end I completely switched over to Chromium to get away from the constant crashing of Firefox, and while Chromium itself doesn't crash on me, very occasionally I will find a tab that hasn't loaded or has crashed.

I'm completely at a loss here, the only cause I can think of is memory corruption, but then I would expect it to effect many other apps as well (eg. Xorg, or parts of the desktop environment).

*shrug*

Offline

#5 2013-04-17 09:25:09

gabuzo
Member
Registered: 2012-04-11
Posts: 6

Re: Random crashes in Chromium and Firefox

Running firefox in safe mode resolves the problem, so the issue must be related to addons. Try switching them off and find the problematic one.

Offline

#6 2013-04-17 09:31:36

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Random crashes in Chromium and Firefox

Gabuzo, all of the posts here are talking about this happening in other browsers too, and in my case, the problem ended up extending much further than just web browsers (although that has been the most noticable) so this most certainly isn't just related to Firefox addons.

In fact I never solved this problem and it still plagues me to this day, but it is now much worse and causes full on memory related bugs, crashes, and kernel panics. I'm in the process of switching out my RAM sticks to see if one of them is faulty, and then it will be on to the graphics card and hard drive... I think it's time for a new machine!

Offline

#7 2013-04-17 10:45:45

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,272

Re: Random crashes in Chromium and Firefox

There are similar crashes in webkit based bowsers (experienced in midori, dwb, luakit), too. These used to happen mostly on pages whith extensive javascript use, e.g. facebook or blogspot.

Those crashes force extensive thrashing, filling my swap space in a few minutes (on a 1 GiByte RAM/Swap 64 bit system). Systemd journal reports segfaults in libwebkitgtk and/or flashplugin. It occurs most often when trying to close the browser while a facebook page was open.

In midori (and luakit) however such a thrashing crash on close did not happen when facebook had been opened in an extra tab. Hence this might probably be caused by some cleanup problems from executing javascript commands (when the browser reported itself as Mozilla/5.0).


To know or not to know ...
... the questions remain forever.

Offline

#8 2013-04-18 22:36:08

Koven
Member
Registered: 2006-06-13
Posts: 151

Re: Random crashes in Chromium and Firefox

Same here, when I open a youtube video it runs for 10 seconds or so, then browser freezes and I only can kill process with xkill, same it's happening in Chromium. It's so annoying when this happens.

But only happens when i'm running mpd at the same time some kind of conflict.

Thanks for your feedback.

Offline

#9 2013-04-18 22:51:00

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: Random crashes in Chromium and Firefox

I believe one of my RAM sticks was faulty after all (fingers crossed), as running on it was giving a lot of crashes (every few minutes if not seconds), but now I'm running solely on the other and haven't had any crashes yet...

Offline

#10 2013-04-24 00:29:15

Macdelaney
Member
Registered: 2008-11-24
Posts: 24

Re: Random crashes in Chromium and Firefox

I'm having a similar issue I think. I'm using google-chrome, and I everything sorta slows down, the hdd light lights up (but iotop shows nothing) and I have to killall chrome to continue. Looking at dmesg | grep segfault I get

[dancing@bananas systemd]$ dmesg | grep segfault
[ 5675.148325] chrome[2311]: segfault at d08dbb00019 ip 00007f603826ae18 sp 00007fff4ab48ed0 error 4 in chrome[7f6036bf8000+519d000]
[17276.970030] gnome-shell[526]: segfault at e0 ip 00007f52de58b470 sp 00007fff91f70f38 error 4 in libclutter-1.0.so.0.1400.2[7f52de50d000+13c000]

I also find this a weird

[17302.878650] systemd-journald[129]: Failed to write entry, ignoring: Argument list too long

But from what I understand this shouldn't be causing this kind of thing, but that's what brought me to this thread. I'm also pretty sure my ram sticks are fine, any ideas as to what this could be?

Offline

Board footer

Powered by FluxBB