Summary: | webrtc/datachannel/basic-tcp.html will crash with an invalid crash | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Matt Lewis <jlewis3> | ||||||
Component: | New Bugs | Assignee: | youenn fablet <youennf> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, cdumez, commit-queue, dean_johnson, eric.carlson, jbedard, ryanhaddad, webkit-bug-importer, youennf | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Matt Lewis
2017-10-13 14:09:44 PDT
Here's the build: <https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Tests%29/builds/5007> Something strange if definitely going on. I would expect us to pick up a crash-log from the networking process. It's almost as if the networking process is being killed rather than crashing. This is somewhat reproducible, but hard to catch in a debugger: run-webkit-tests webrtc/datachannel/basic-tcp.html --repeat 1000 --no-show --no-build --no-timeout -f I may have caught this in debugger once, the Networking process died because of a SIGPIPE. The symptom matches, although this could be a user error. Definitely SIGPIPE, sent from the Networking process itself. It looks like libwebrtc tries to handle this signal in a couple places, but that's not quite working. I couldn't get a good stack trace for where the signal is sent from, my probe prints unsymbolicated traces for some reason. sudo dtrace -n 'proc:::signal-send /pid/ { printf("%d %s -%d %d",pid,execname,args[2],args[1]->pr_pid); ustack(); }' A reproducible crash in a test with "basic" in its name seems particularly worth looking into. Created attachment 337534 [details]
Patch
Comment on attachment 337534 [details] Patch Clearing flags on attachment: 337534 Committed r230492: <https://trac.webkit.org/changeset/230492> All reviewed patches have been landed. Closing bug. Reopening to attach new patch. Created attachment 354042 [details]
Patch
Comment on attachment 354042 [details] Patch Clearing flags on attachment: 354042 Committed r237970: <https://trac.webkit.org/changeset/237970> All reviewed patches have been landed. Closing bug. |