Bug 209537 - [Flatpak SDK] Crash post-mortem debugging is broken
Summary: [Flatpak SDK] Crash post-mortem debugging is broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-25 05:27 PDT by Philippe Normand
Modified: 2020-03-26 03:06 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.62 KB, patch)
2020-03-25 05:44 PDT, Philippe Normand
zan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-03-25 05:27:58 PDT
$ webkit-flatpak --verbose  --gdb --debug
webkitpy.common.system.logutils: [DEBUG] Debug logging enabled.
flatpakutils: [DEBUG] Using flatpak user dir: /home/phil/WebKit/WebKitBuild/UserFlatpak
Traceback (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 715, in run
    return self.setup_dev_env()
  File "/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 766, in setup_dev_env
    return self.run_in_sandbox()
  File "/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 568, in run_in_sandbox
    building = os.path.basename(args[0]).startswith("build")
IndexError: list index out of range
Comment 1 Philippe Normand 2020-03-25 05:44:36 PDT
Created attachment 394484 [details]
Patch
Comment 2 Philippe Normand 2020-03-26 03:05:26 PDT
Committed r259038: <https://trac.webkit.org/changeset/259038>
Comment 3 Radar WebKit Bug Importer 2020-03-26 03:06:14 PDT
<rdar://problem/60912450>