WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193570
[Flatpak] Missing KeyboardInterrupt exception handler
https://bugs.webkit.org/show_bug.cgi?id=193570
Summary
[Flatpak] Missing KeyboardInterrupt exception handler
Philippe Normand
Reported
2019-01-18 07:15:33 PST
Using org.webkit.WPE prefix in /home/phil/WebKit/WebKitBuild/WPE/FlatpakTreeRelease Starting MiniBrowser. ^CTraceback (most recent call last): File "/home/phil/WebKit/Tools/Scripts/webkit-flatpak", line 28, in <module> sys.exit(WebkitFlatpak.load_from_args().run()) File "/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 792, in run return self.setup_dev_env() File "/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 865, in setup_dev_env return self.run_in_sandbox(*self.user_command) File "/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 766, in run_in_sandbox subprocess.check_call(flatpak_command, stdout=stdout) File "/usr/lib/python2.7/subprocess.py", line 185, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 172, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 1099, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/lib/python2.7/subprocess.py", line 125, in _eintr_retry_call return func(*args) KeyboardInterrupt
Attachments
patch
(1.34 KB, patch)
2019-01-18 07:23 PST
,
Philippe Normand
mcatanzaro
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2019-01-18 07:23:41 PST
Created
attachment 359483
[details]
patch
Michael Catanzaro
Comment 2
2019-01-18 07:25:58 PST
Comment on
attachment 359483
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=359483&action=review
> Tools/flatpak/flatpakutils.py:771 > + except KeyboardInterrupt: > + return 0
I wish python would just do something sane by default.... This would probably be desirable in the run_gdb() function as well.
Philippe Normand
Comment 3
2019-01-18 07:37:50 PST
run_gdb already chains to run_in_sandbox()
Philippe Normand
Comment 4
2019-01-18 07:40:54 PST
Committed
r240147
: <
https://trac.webkit.org/changeset/240147
>
Radar WebKit Bug Importer
Comment 5
2019-01-18 07:41:29 PST
<
rdar://problem/47384486
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug