New issue
Advanced search Search tips

Issue 700347 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol

Reported by xftroxgpx@gmail.com, Mar 10 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3037.0 Safari/537.36

Example URL:

Steps to reproduce the problem:
I'm don't know when this triggers or how. It happens sometimes.

It might be trying to do IPv6 whilst I don't have it enabled in kernel!

1. just browse normally, and watch console
2. 
3. 

What is the expected behavior?
Not show this error / do not try to connect ... there:

ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol

What went wrong?
ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol

is the unpatched error.

And:

ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol

is the patched error.

Did this work before? N/A 

Chrome version: 59.0.3037.0  Channel: stable
OS Version: ArchLinux
Flash Version: none

I added the arg to show the address_family with the included patch
(the assert part is ignored)

Does anyone know how to trigger a stack dump ? I don't think this would work: https://www.chromium.org/blink/getting-started-with-blink-debugging#TOC-Use-Chromium-s-StackTrace  I tries it in a different case(non-blink related) and I couldn't get it to compile.

Address_family 10 ?
Is it X.121 (X.25, Frame Relay) ?
Or is it IPv6:

/usr/include/bits/socket.h:

... 
#define PF_INET6        10      /* IP version 6.  */ 
... 
#define AF_INET6        PF_INET6 
... 

I do not have ipv6 in kernel
# CONFIG_IPV6 is not set
Linux z5 4.10.0-gc470abd4fde4 #140 SMP PREEMPT Fri Mar 3 18:02:39 CET 2017 x86_64 GNU/Linux

Sometimes I can see also see this:
[15722:15747:0310/122121.649252:ERROR:checkin_request.cc(179)] Failed to get checkin response. Fetcher failed. Retrying.
might be related, or not.

If additionally I kill the dns server(so chromium can't resolve dns names), then I can also see it(tcpdump) trying to get dns for clients4.google.com and console shows only one:
[15722:15722:0310/123323.107306:ERROR:gcm_channel_status_request.cc(127)] GCM channel request failed.
this repeats after 25sec then 86 then 122 then morethan176(I stopped it before seeing next one) seconds.

I tested this on:

Chromium	59.0.3037.0 (Developer Build) (64-bit)
Revision	9f440279ce353aa0602999ac88e6d7236355324f-refs/heads/master@{#455884}
OS	Linux
JavaScript	V8 5.9.34.2
Flash	
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3037.0 Safari/537.36
Command Line	/usr/lib/chromium/chromium --disk-cache-dir=/tmp/chromiumcache --disable-sync-preferences --disable-plugins --cipher-suite-blacklist=0x0001,0x0002,0x0004,0x0005,0x0017,0x0018,0xc002,0xc007,0xc00c,0xc011,0xc016,0xff80,0xff81,0xff82,0xff83 --disable-component-extensions-with-background-pages --disable-background-networking --disable-internal-flash --disable-bundled-ppapi-flash --disable-default-apps --ssl-version-min=tls1 --disallow-autofill-sync-credential --disable-device-discovery-notifications --no-pings --disable-media-source --disable-ntp-other-sessions-menu --disable-prefixed-encrypted-media --disable-touch-adjustment --disable-views-rect-based-targeting --disable-webgl --disable-account-consistency --enable-async-dns --enable-deferred-image-decoding --enable-download-resumption --enable-drop-sync-credential --disable-material-design-ntp --disable-new-avatar-menu --disable-new-profile-management --enable-offline-auto-reload-visible-only --disable-offline-auto-reload --enable-offline-load-stale-cache --enable-one-copy --enable-panels --disable-password-generation --enable-permissions-bubbles --disable-extensions-on-chrome-urls --disable-pinch-virtual-viewport --disable-pinch --enable-quic --disable-save-password-bubble --enable-session-crashed-bubble --disable-settings-window --use-simple-cache-backend=off --disable-smooth-scrolling --disable-sync-app-list --disable-sync-synced-notifications --enable-tcp-fastopen --disable-touch-editing --enable-web-based-signin --disable-zero-copy --enable-harfbuzz-rendertext --enable-impl-side-painting --enable-lcd-text --num-raster-threads=4 --disable-origin-chip --disable-overlay-scrollbar --remember-cert-error-decisions=-1 --enable-search-button-in-omnibox-always --disable-spelling-auto-correct --tab-capture-downscale-quality=fast --tab-capture-upscale-quality=fast --touch-events=disabled --wallet-service-use-sandbox=0 --enable-gpu-vsync --show-component-extension-options --disable-gpu-rasterization --disable-hyperlink-auditing --enable-vertical-tabs --disable-audio-support-for-desktop-share --disable-gpu --disable-features=NoStatePrefetch --ssl-version-min=tls1 --disk-cache-dir=/tmp/chromiumcache --disable-sync-preferences --disable-plugins --cipher-suite-blacklist=0x0001,0x0002,0x0004,0x0005,0x0017,0x0018,0xc002,0xc007,0xc00c,0xc011,0xc016,0xff80,0xff81,0xff82,0xff83 --flag-switches-begin --flag-switches-end
Executable Path	/usr/lib/chromium/chromium
Profile Path	/home/xftroxgpx/.config/chromium/Default
Variations	98ee9f3e-98ee9f3e
6c18ba9d-f5103057
241fff6c-ca7d8d80
1e528f0f-15305a2
2a33b90e-3f4a17df
ba3f87da-92cc81ec
cf558fa6-48a16532
5ca89f9-3f4a17df
f3499283-2f3631ce
349d561b-3f4a17df
6eb432aa-3f4a17df
5274eb09-3f4a17df
57f575bb-f23d1dea
b684f56f-3f4a17df
b791c1b8-3f4a17df
9773d3bd-3f4a17df
b22b3d54-b22b3d54
9ef7d150-3f4a17df
2e109477-4f8eb0c8
64cbdfc2-3f4a17df
5139837c-3f4a17df
7f8176d9-3f4a17df
b7786474-d93a0620
23a898eb-e0e2610f
7382e39a-3f4a17df
868bda90-3f4a17df
4ea303a6-3f4a17df
ce152c12-3f4a17df
3a007b7-3f4a17df
64224f74-5087fa4a
ad6d27cc-3e870323
69bf80fa-3f4a17df
c5073fab-3f4a17df
ef25c1eb-3f4a17df
7fc902e8-3f4a17df
d747916f-d747916f
fe05be5f-4ad60575
828a5926-d8f52f32
 
address_family_what.patch
1.6 KB Download

Comment 1 by xftroxgpx@gmail.com, Mar 10 2017

Oh, I forgot to include the tcpdump part:

[15722:31012:0310/123729.376697:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123729.435826:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123730.495693:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123730.556673:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123731.613735:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123731.677766:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123732.731599:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[15722:31012:0310/123732.788623:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
^C

I believe the ones with
[15722:31012:0310/123731.613735
[15722:31012:0310/123731.677766
from above, are the ones captures below:


$ sudo tcpdump -i any -X -vvvvv -n
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
12:37:31.613928 IP (tos 0x0, ttl 64, id 18245, offset 0, flags [DF], proto TCP (6), length 60)
    127.0.0.1.36084 > 127.0.0.1.9229: Flags [S], cksum 0xfe30 (incorrect -> 0x6b6f), seq 1700043822, win 43690, options [mss 65495,sackOK,TS val 2569793039 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c 4745 4000 4006 f574 7f00 0001  E..<GE@.@..t....
	0x0010:  7f00 0001 8cf4 240d 6554 9c2e 0000 0000  ......$.eT......
	0x0020:  a002 aaaa fe30 0000 0204 ffd7 0402 080a  .....0..........
	0x0030:  992b ee0f 0000 0000 0103 0307            .+..........
12:37:31.613945 IP (tos 0x0, ttl 64, id 41263, offset 0, flags [DF], proto TCP (6), length 40)
    127.0.0.1.9229 > 127.0.0.1.36084: Flags [R.], cksum 0xff48 (correct), seq 0, ack 1700043823, win 0, length 0
	0x0000:  4500 0028 a12f 4000 4006 9b9e 7f00 0001  E..(./@.@.......
	0x0010:  7f00 0001 240d 8cf4 0000 0000 6554 9c2f  ....$.......eT./
	0x0020:  5014 0000 ff48 0000                      P....H..
12:37:31.677955 IP (tos 0x0, ttl 64, id 51667, offset 0, flags [DF], proto TCP (6), length 60)
    127.0.0.1.36086 > 127.0.0.1.9229: Flags [S], cksum 0xfe30 (incorrect -> 0xe6aa), seq 697766520, win 43690, options [mss 65495,sackOK,TS val 241091347 ecr 0,nop,wscale 7], length 0
	0x0000:  4500 003c c9d3 4000 4006 72e6 7f00 0001  E..<..@.@.r.....
	0x0010:  7f00 0001 8cf6 240d 2997 1278 0000 0000  ......$.)..x....
	0x0020:  a002 aaaa fe30 0000 0204 ffd7 0402 080a  .....0..........
	0x0030:  0e5e c313 0000 0000 0103 0307            .^..........
12:37:31.677971 IP (tos 0x0, ttl 64, id 41276, offset 0, flags [DF], proto TCP (6), length 40)
    127.0.0.1.9229 > 127.0.0.1.36086: Flags [R.], cksum 0xc4ba (correct), seq 0, ack 697766521, win 0, length 0
	0x0000:  4500 0028 a13c 4000 4006 9b91 7f00 0001  E..(.<@.@.......
	0x0010:  7f00 0001 240d 8cf6 0000 0000 2997 1279  ....$.......)..y
	0x0020:  5014 0000 c4ba 0000                      P.......
^C
4 packets captured
8 packets received by filter
0 packets dropped by kernel

Comment 2 by mmenke@chromium.org, Mar 10 2017

Components: -Internals>Network Internals>Network>DNS Internals>Network>Connectivity
Labels: Needs-Feedback
Are pages failing to load, or are you just seeing the console error?

"address_family=10" is IPv6, so presumably this is expected, if you don't have it enabled.  Not sure why we'd be trying to connect to IPv6 addresses in that case, though.

If you create and upload a net-internals log of this happening (Instructions: https://sites.google.com/a/chromium.org/dev/for-testers/providing-network-details), we might be able to figure out why we're trying to make those connections, but if everything is actually working, seems like it may not be worth the effort.

Comment 3 by xftroxgpx@gmail.com, Mar 10 2017

Pages are loading ok. Everything seems to be working. I'm only seeing the console error.


I'll try to upload the net-internals log the next time I catch this happening...
or the chrome://net-export/  export, so I don't use the deprecated one.

Cheers!
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 10 2017

Cc: mmenke@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "mmenke@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by mmenke@chromium.org, Mar 10 2017

Labels: -Pri-2 Needs-Feedback Pri-3
Thanks! Either tool works.  I'll take a quick look once you upload the log.
Is this a new error? did it happen before?

Comment 7 by xftroxgpx@gmail.com, Mar 10 2017

@paul it did happen before but I ignored it. Don't remember how long back though, could be months even.

But it seems to be happening hours apart. Is there any way to tell/force chromium to update its internal stuff (lists or things that I don't know about) ? Because I believe that's when it triggers...
Project Member

Comment 8 by sheriffbot@chromium.org, Mar 10 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "mmenke@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 9 by mmenke@chromium.org, Mar 10 2017

Labels: Needs-Feedback
Hey, sorry it took a while, it didn't trigger for so long except once which lasted only 53 seconds and I was too late to capture then. (I might've missed other times, when I didn't look at console though)

Now, I captured but I am pretty sure that this specific (ipv6?) traffic or attempted traffic, doesn't hit the captureR. Also netstat shows nothing now.

Chromium	59.0.3065.0 (Developer Build) (64-bit)
Revision	4cc77a4cc94378b5a34c1e1babb812126ebb2f65-refs/heads/master@{#462544}
OS	Linux
JavaScript	V8 5.9.182
Flash	
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3065.0 Safari/537.36


I'm getting one of these ever 1 seconds:
[21899:22515:0407/045503.502653:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[21899:22515:0407/045503.546306:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol

But events captured is still 0 when I look via chrome://net-internals  (unless I start doing something like load a page)

Captured a few seconds via chrome://net-export in attachment, but looks empty when imported.

chrome-net-export-log.json
40.5 KB View Download
Project Member

Comment 11 by sheriffbot@chromium.org, Apr 7 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "mmenke@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Here's another capture which caught a different console msg within, whcih did gen a few events, unlike the surrounding ones which do not.

[21899:22515:0407/051259.436527:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[21899:22515:0407/051259.481470:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[21899:21922:0407/051300.040685:ERROR:checkin_request.cc(211)] Failed to get checkin response. Fetcher failed. Retrying.
[21899:22515:0407/051300.526062:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[21899:22515:0407/051300.571528:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol

chrome-net-export-log.json
47.7 KB View Download
I have that host in /etc/hosts that's why it failed to connect, points to 127.* something. :D
lol I did this(because tcpdump in OP is still happening):

$ nc -l -p 9229
GET /json/version HTTP/1.1



lol, omg I typed "404" Enter, and chromium crashed!

[21899:22515:0407/052527.594961:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
[21899:22515:0407/052527.643716:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97 address_family=10: Address family not supported by protocol
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 4)
Received signal 6
#0 0x56115535d7ec base::debug::StackTrace::StackTrace()
#1 0x56115535d351 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fa781f69fe0 <unknown>
#3 0x7fa779b38a10 __GI_raise
#4 0x7fa779b3a13a __GI_abort
#5 0x7fa77a1514ed __gnu_cxx::__verbose_terminate_handler()
#6 0x7fa77a14f2a6 __cxxabiv1::__terminate()
#7 0x7fa77a14f2f1 std::terminate()
#8 0x7fa77a14f508 __cxa_throw
#9 0x7fa77a179177 std::__throw_out_of_range_fmt()
#10 0x561156ad40cf (anonymous namespace)::HttpRequest::OnResponseData()
#11 0x5611555726de net::TCPClientSocket::DidCompleteRead()
#12 0x561155574080 net::TCPSocketPosix::ReadCompleted()
#13 0x56115563925c net::SocketPosix::RetryRead()
#14 0x561155639630 net::SocketPosix::OnFileCanReadWithoutBlocking()
#15 0x56115537ea89 base::MessagePumpLibevent::OnLibeventNotification()
#16 0x5611554096fc event_base_loop
#17 0x56115537eda3 base::MessagePumpLibevent::Run()
#18 0x56115537be8e base::MessageLoop::RunHandler()
#19 0x56115539fb88 base::RunLoop::Run()
#20 0x5611553c63e3 base::Thread::ThreadMain()
#21 0x5611553c145d base::(anonymous namespace)::ThreadFunc()
#22 0x7fa781f5f2e7 start_thread
#23 0x7fa779bf154f __GI___clone
  r8: 0000000000000000  r9: 00007fa747af4fc0 r10: 0000000000000008 r11: 0000000000000246
 r12: 00003878bb0db930 r13: 00007fa747af5718 r14: 00003878be5b4d20 r15: 00003878be5b4d10
  di: 0000000000000002  si: 00007fa747af4fc0  bp: 00007fa779ea46c0  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007fa779b38a10  sp: 00007fa747af4fc0
  ip: 00007fa779b38a10 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.


Ok, so apparently this issue gets triggered when I open Ctrl+Shift+J, which considering the port, it now makes sense. Something about debug I presume?

this must be it: HTTP Remote Debugging API [1]
which triggers when I Ctrl+Shift+J and this is when this current issue gets triggered.

[1] https://developer.chrome.com/devtools/docs/debugger-protocol
oops, by [1] I meant this link: https://github.com/GoogleChrome/devtools-docs/issues/67

Doing c#14 "nc -l -p 9229" command stops the messages, probably because it's waiting for a version number input. I wanted to note, in case it wasn't obvious the spam stopped.
I am able to get a few of these
[7022:7047:0407/054943.198454:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol
from another chromium binary while doing the steps from [2]
[2] https://developer.chrome.com/devtools/docs/debugger-protocol

Repro:
1. run my built chromium with: $ chro --remote-debugging-port=9222
2. run another chromium binary(eg. from googleapis storage) normally(more or less):
$ ./go
3. navigate in 2. chromium to non-https http://localhost:9222
some of those Address family messages appear then stop.


-------------

But to reproduce the current issue in OP, just: 1. Ctrl+Shift+J
(while ipv6 is not available in your kernel, I presume)

:)
But it's kinda odd tho, isn't it?

that all I have to do to crash my* chromium is:
1. $ yes|nc -l -p 9229
2. run chromium and at some point press Ctrl+Shift+J (or RMB->Inspect any element)

* actually tested googleapis storage one:
REVISION=461715
https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F$REVISION%2Fchrome-linux.zip?alt=media

Chromium	59.0.3063.0 (Developer Build) (64-bit)
Revision	55a0d68a285e26dec347e5c9eed05707b845486b-refs/heads/master@{#461715}
OS	Linux
JavaScript	V8 5.9.161
Flash	(Disabled)
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3063.0 Safari/537.36
Command Line	./latest/chrome --disk-cache-dir=/tmp/chromiumcache-run.sh --disable-sync-preferences --disable-plugins --cipher-suite-blacklist=0x0001,0x0002,0x0004,0x0005,0x0017,0x0018,0xc002,0xc007,0xc00c,0xc011,0xc016,0xff80,0xff81,0xff82,0xff83 --disable-component-extensions-with-background-pages --disable-background-networking --disable-internal-flash --disable-bundled-ppapi-flash --disable-default-apps --ssl-version-min=tls1 --disallow-autofill-sync-credential --disable-device-discovery-notifications --no-pings --disable-media-source --disable-ntp-other-sessions-menu --disable-prefixed-encrypted-media --disable-touch-adjustment --disable-views-rect-based-targeting --disable-webgl --disable-account-consistency --enable-async-dns --enable-deferred-image-decoding --enable-download-resumption --enable-drop-sync-credential --disable-material-design-ntp --disable-new-avatar-menu --disable-new-profile-management --enable-offline-auto-reload-visible-only --disable-offline-auto-reload --enable-offline-load-stale-cache --enable-one-copy --enable-panels --disable-password-generation --enable-permissions-bubbles --disable-extensions-on-chrome-urls --disable-pinch-virtual-viewport --disable-pinch --enable-quic --disable-save-password-bubble --enable-session-crashed-bubble --disable-settings-window --use-simple-cache-backend=off --disable-smooth-scrolling --disable-sync-app-list --disable-sync-synced-notifications --enable-tcp-fastopen --disable-touch-editing --enable-web-based-signin --disable-zero-copy --enable-harfbuzz-rendertext --enable-impl-side-painting --enable-lcd-text --num-raster-threads=4 --disable-origin-chip --disable-overlay-scrollbar --remember-cert-error-decisions=-1 --enable-search-button-in-omnibox-always --disable-spelling-auto-correct --tab-capture-downscale-quality=fast --tab-capture-upscale-quality=fast --touch-events=disabled --wallet-service-use-sandbox=0 --enable-gpu-vsync --show-component-extension-options --disable-gpu-rasterization --disable-hyperlink-auditing --enable-vertical-tabs --disable-audio-support-for-desktop-share --disable-gpu --disable-features=NoStatePrefetch --user-data-dir=./user-data-dir --log-net-log=/tmp/chromium-go-chrome-net-export-log.json --user-data-dir=/tmp/go --disk-cache-dir=/tmp/chromiumcache-go --flag-switches-begin --flag-switches-end
Executable Path	/home/xftroxgpx/build/2nonpkgs/browser.stuff/chromium.stuff/chromium-latest-linux/blobs/461715/chrome-linux/chrome
Profile Path	/tmp/go/Default
Variations	6c18ba9d-f5103057
241fff6c-ca7d8d80
1e528f0f-15305a2
2a33b90e-3f4a17df
d43bf3e5-d43bf3e5
ba3f87da-92cc81ec
cf558fa6-48a16532
a605b19e-3f4a17df
5ca89f9-3f4a17df
f3499283-2f3631ce
9e201a2b-3f4a17df
5274eb09-3f4a17df
57f575bb-f23d1dea
b684f56f-3f4a17df
b791c1b8-3f4a17df
9773d3bd-3f4a17df
b22b3d54-3f4a17df
9ef7d150-3f4a17df
2e109477-4f8eb0c8
64cbdfc2-3f4a17df
5139837c-3f4a17df
7f8176d9-3f4a17df
b7786474-d93a0620
23a898eb-431d877b
7382e39a-3f4a17df
868bda90-3f4a17df
4ea303a6-3f4a17df
ce152c12-3f4a17df
3a007b7-3f4a17df
64224f74-5087fa4a
56302f8c-3f4a17df
ad6d27cc-3e870323
69bf80fa-3f4a17df
ef25c1eb-3f4a17df
7fc902e8-3f4a17df
d747916f-d747916f
494d8760-3f4a17df
fe05be5f-4ad60575
828a5926-d8f52f32



This is step 2 from above:
$ ./go
[16815:16840:0407/055647.787154:ERROR:ssl_client_socket_impl.cc(1046)] handshake failed; returned -1, SSL error code 1, net_error -102
[16815:16997:0407/055649.504158:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol
[16815:16997:0407/055649.527001:ERROR:socket_posix.cc(86)] CreatePlatformSocket() returned an error, errno=97: Address family not supported by protocol
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Received signal 6
#0 0x5653fd4677a7 base::debug::StackTrace::StackTrace()
#1 0x5653fd46731f base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f6fc1a13fe0 <unknown>
#3 0x7f6fbb02ca10 __GI_raise
#4 0x7f6fbb02e13a __GI_abort
#5 0x7f6fbb6454ed __gnu_cxx::__verbose_terminate_handler()
#6 0x7f6fbb6432a6 __cxxabiv1::__terminate()
#7 0x7f6fbb6432f1 std::terminate()
#8 0x7f6fbb643508 __cxa_throw
#9 0x7f6fbb66d04f std::__throw_out_of_range()
#10 0x5653feb5ce8d (anonymous namespace)::HttpRequest::OnResponseData()
#11 0x5653feb5c7f1 (anonymous namespace)::HttpRequest::DoSendRequest()
#12 0x5653feb5c5cb (anonymous namespace)::HttpRequest::SendRequest()
#13 0x5653feb5dbe8 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKSsRKNS_8CallbackIFviS4_ELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEEiSt10unique_ptrIN3net12StreamSocketESt14default_deleteISE_EEEJSsS9_EEEFviSH_EE3RunEPNS0_13BindStateBaseEOiOSH_
#14 0x5653feb62e37 (anonymous namespace)::RunSocketCallback()
#15 0x5653feb62ec8 _ZN4base8internal7InvokerINS0_9BindStateIPFvRKNS_8CallbackIFviSt10unique_ptrIN3net12StreamSocketESt14default_deleteIS6_EEELNS0_8CopyModeE1ELNS0_10RepeatModeE1EEES9_iEJSD_NS0_13PassedWrapperIS9_EEEEEFviEE3RunEPNS0_13BindStateBaseEOi
#16 0x5653fd63efc0 net::TCPClientSocket::DidCompleteConnect()
#17 0x5653fd64022e net::TCPSocketPosix::ConnectCompleted()
#18 0x5653fd6f6c48 net::SocketPosix::ConnectCompleted()
#19 0x5653fd481e3d base::MessagePumpLibevent::OnLibeventNotification()
#20 0x5653fd4fdbfd event_base_loop
#21 0x5653fd48201e base::MessagePumpLibevent::Run()
#22 0x5653fd47fce7 base::MessageLoop::RunHandler()
#23 0x5653fd49d3ee base::RunLoop::Run()
#24 0x5653fd4bff87 base::Thread::ThreadMain()
#25 0x5653fd4bbab3 base::(anonymous namespace)::ThreadFunc()
#26 0x7f6fc1a092e7 start_thread
#27 0x7f6fbb0e554f __GI___clone
  r8: 0000000000000000  r9: 00007f6f8c6241a0 r10: 0000000000000008 r11: 0000000000000246
 r12: 000008e79d974980 r13: 000008e79daa8740 r14: 000008e79daa8750 r15: 00007f6fbb93afa0
  di: 0000000000000002  si: 00007f6f8c6241a0  bp: 00007f6fbb3986c0  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f6fbb02ca10  sp: 00007f6f8c6241a0
  ip: 00007f6fbb02ca10 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

Status: WontFix (was: Unconfirmed)
The CreatePlatformSocket() errors are likely from our IPv6 probing in host_resolver_impl.cc.

Chrome doesn't support Linux kernels without IPv6 support.
There's a list of supported Linux distributions under "See system requirements" here:
https://support.google.com/chrome/answer/95346?hl=en&ref_topic=3227046

Feel free to file another bug for the std::out_of_range failure.
I can reproduce the crash in HttpRequest::OnResponseData(), it's already filed as Issue 706669, I'll add your easy reproduction step.
Roger that, thanks!

PS: I can't see issue 706669. (for good reason, perhaps)

You do not have permission to view the requested page. 

Reason: User is not allowed to view this issue


Sorry, crash bugs are given elevated permissions.
patch I now use which makes chromium uncrashable by c#20
noport9229crash_oninspect.patch
985 bytes Download

Sign in to add a comment