New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 4 users
Status: WontFix
Owner: ----
Closed: Aug 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment
crashes with Segmentation fault
Reported by div...@gmail.com, Sep 16 2011 Back to list
Chrome Version       : 13.0.782.220 (Official Build 99552)

What steps will reproduce the problem?
1. Run google-chrome

What is the expected result?
google-chrome should be running

What happens instead?
its appears for a few seconds, but then chrashes

Please provide any additional information below. Attach a screenshot if
possible.

a few logs:
ivan@laptop$ google-chrome 
[6233:6233:1132513219:ERROR:extension_prefs.cc(945)] Bad or missing pref 'state' for extension 'ahfgeienlihckogmohjhadlkjgocpleb'
[6233:6247:1132536801:ERROR:web_data_service.cc(589)] Cannot initialize the web database: 2
Moonlight: 3.99.0.3
Moonlight: Attempting to load libmoonloaderxpi 
[6233:6252:1133571320:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6252:1133571383:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6252:1133573508:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6252:1133573541:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6262:1133796844:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6262:1133796897:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6233:6233:1134147350:ERROR:CONSOLE(5040)] "Uncaught TypeError: Object #<HTMLDivElement> has no method 'layout'", source: chrome://newtab/ (5040)
[6233:6383:1135042347:ERROR:alsa_output.cc(744)] Failed querying delay: Input/output error
Segmentation fault

ivan@laptop$ google-chrome 
[6575:6575:1656841276:ERROR:extension_prefs.cc(945)] Bad or missing pref 'state' for extension 'ahfgeienlihckogmohjhadlkjgocpleb'
[6575:6589:1656878849:ERROR:web_data_service.cc(589)] Cannot initialize the web database: 2
[6575:6575:1656935148:ERROR:file_util.cc(354)] Couldn't open /home/ivan/.config/google-chrome/Default/Extensions/mafbdhjdkjnoafhfelkjpchpaepjknad/2.0_0/Cached Theme.pak
[6575:6575:1656935192:ERROR:browser_theme_pack.cc(375)] Failed to load theme data pack.
[6575:6575:1656935348:ERROR:browser_theme_pack.cc(866)] Could not load theme image
[6575:6575:1656935361:ERROR:theme_service.cc(645)] Could not load theme.
[6575:6606:1657797500:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6575:6606:1657797564:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6575:6606:1657806169:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6575:6606:1657806235:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6575:6594:1658150324:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[6575:6594:1658150382:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
Segmentation fault

ivan@laptop$ google-chrome 
[7414:7414:2388107381:ERROR:browser_main.cc(970)] GLib-GObject: g_closure_ref: assertion `closure->ref_count > 0' failed
[7414:7414:2388107525:ERROR:browser_main.cc(970)] GLib-GObject: g_closure_unref: assertion `closure->ref_count > 0' failed
[7414:7414:2388129883:ERROR:browser_main.cc(970)] GLib-GObject: g_closure_ref: assertion `closure->ref_count > 0' failed
[7414:7414:2388129914:ERROR:browser_main.cc(970)] GLib-GObject: g_closure_unref: assertion `closure->ref_count > 0' failed
Segmentation fault

Logs are different because i deleted my ~/.config/google-chrome and ~/.cache/google-chrome at some point.
Also there was some message about Moonlight, never seen it since i removed libmoon.
OS: Ubuntu 11.04
 
gdb-chromium.txt
13.8 KB View Download
Comment 1 by div...@gmail.com, Sep 16 2011
log with crash id
ivan@laptop$ google-chrome 
--2011-09-16 20:47:02--  https://clients2.google.com/cr/report
Resolving clients2.google.com... 209.85.169.101, 209.85.169.138, 209.85.169.113, ...
Connecting to clients2.google.com|209.85.169.101|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/fd/3'

    [ <=>                                                                                                                           ] 16          --.-K/s   in 0s      
Crash dump id: 

b01f339e4c7add21
2011-09-16 20:47:04 (413 KB/s) - `/dev/fd/3' saved [16]

Segmentation fault

Comment 2 by div...@gmail.com, Sep 16 2011
upgraded to 14.0.835.163-r101024 still got a crashes
Comment 3 by scott3...@gmail.com, Nov 15 2011
I've been receiving similar error messages and it looks like mine is working at the moment.

I received:
ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.

Try running: google-chrome www.google.com

I found that after running google-chrome www.google.com, it worked normally without any parameters and didn't segfault as it was doing before.

During my troubleshooting of another error message, I encountered the No URLRequestContext error.  I noted my troubleshooting steps in this thread:  http://www.google.com/support/forum/p/Chrome/thread?tid=3a8d80ce9606e959&hl=en


Labels: -Area-Undefined Area-Internals OS-Linux Internals-Network-DNS Stability-Crash
From that crash id (b01f339e4c7add21), it looks like the crash is happening inside tcmalloc during a DNS resolution. 

Comment 5 by eroman@chromium.org, Dec 13 2011
Cc: agl@chromium.org willchan@chromium.org
@willchan/agl: does this look familiar to you? Crash is happening inside __gethostbyname2_r:


0x099382c3	 [chrome	 - third_party/tcmalloc/chromium/src/central_freelist.cc:249]	tcmalloc::CentralFreeList::FetchFromSpans
0x099385e1	 [chrome	 - third_party/tcmalloc/chromium/src/central_freelist.cc:234]	tcmalloc::CentralFreeList::FetchFromSpansSafe
0x0993865d	 [chrome	 - third_party/tcmalloc/chromium/src/central_freelist.cc:214]	tcmalloc::CentralFreeList::RemoveRange
0x0993518a	 [chrome	 - third_party/tcmalloc/chromium/src/thread_cache.cc:149]	tcmalloc::ThreadCache::FetchFromCentralCache
0x09dcb587	 [chrome	 - third_party/tcmalloc/chromium/src/thread_cache.h:346]	tc_malloc
0x0733e806	 [libnss_hoof.so.2	 + 0x00000806]	
0x011af5b1	 [libc-2.13.so	 - ../nss/getXXbyYY_r.c:256]	__gethostbyname2_r
0x01170078	 [libc-2.13.so	 - ../sysdeps/posix/getaddrinfo.c:531]	gaih_inet
0x0117084a	 [libc-2.13.so	 - ../sysdeps/posix/getaddrinfo.c:2161]	getaddrinfo
0x0939c1cd	 [chrome	 - net/base/host_resolver_proc.cc:199]	net::SystemHostResolverProc
0x09395bb2	 [chrome	 - net/base/host_resolver_impl.cc:174]	net::ResolveAddrInfo
0x09395c02	 [chrome	 - net/base/host_resolver_impl.cc:544]	net::HostResolverImpl::Job::DoLookup
0x09395880	 [chrome	 - ./base/tuple.h:558]	RunnableMethod<net::HostResolverImpl::Job, void (net::HostResolverImpl::Job::*)(const base::TimeTicks&, uint32), Tuple2<base::TimeTicks, unsigned int> >::Run
0x098965c7	 [chrome	 - base/threading/worker_pool_posix.cc:80]	base::::WorkerThread::ThreadMain
0x09894bab	 [chrome	 - base/threading/platform_thread_posix.cc:51]	base::::ThreadFunc
0x0025ee98	 [libpthread-2.13.so	 - pthread_create.c:304]	start_thread
0x0119773d	 [libc-2.13.so	 + 0x000d073d]

The path for libnss here looks unusual, perhaps this specific version of NSS could be the problem:

/home/XXXXX/.rvm/gems/ruby-1.9.2-p180/gems/hoof-0.0.7/ext/libnss_hoof.so.2

The only other issue I am aware of if stack overflows in getaddrinfo() when using large rules in /etc/hosts, but doesn't look like that is the issue here.
The bug looks like memory corruption, hence the crash in TCMalloc =/
Project Member Comment 7 by bugdroid1@chromium.org, Mar 10 2013
Labels: -Area-Internals -Internals-Network-DNS Cr-Internals Cr-Internals-Network-DNS
Cc: ashej...@chromium.org
Status: WontFix
Closing the bug for now due to inactivity. Please feel free to raise a new bug, if encountered with similar issue again.
Thank you!
Sign in to add a comment