Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/electron/crashpad
Electron fork of crashpad
https://github.com/electron/crashpad
This makes it easier for clients to start the Crashpad handler, instead
of requiring them to kno...
origin.
This adds AuditPIDFromMachMessageTrailer() to get the process ID of a
Mach message’s sen...
BUG=crashpad:14
[email protected]
Review URL: https://codereview.chromium.org/1001713002
995e762a4551b91c5cd32fbf6ad21edf50747f85 authored almost 10 years ago by Robert Sesek <[email protected]>
This regressed in 359bdd86225c when a non-POD UUID data member was added
to MinidumpCrashpadInfo...
The client ID is added to a new field, MinidumpCrashpadInfo::client_id,
in each minidump file th...
disabled.
ClientInfo::set_system_crash_reporter_forwarding() can be used to
disable forwarding. ...
NSInputStream requires overriding and implementing private methods in order to
use it with NSURL...
BUG=crashpad:14
[email protected]
Review URL: https://codereview.chromium.org/997993002
36ad2d0ee5b6f28da070ef62b855d1ae6973ddb8 authored almost 10 years ago by Robert Sesek <[email protected]>
Child exits were using exit(), which caused crashes on 10.10 for
Multiprocess-based tests that r...
TEST=run_with_crashpad --handler crashpad_handler \
-a --database=/tmp/crashpad_db \
...
bootstrap_look_up().
This hasn’t been required since the 10.5 SDK, which is no longer
supported....
upload attempts to no more than 1 per hour.
The rate limiting is simplistic but duplicates the e...
42db629ee334fa8cd63f085e4adaab5f4fe938eb authored almost 10 years ago by Mark Mentovai <[email protected]>
I don’t want to call it 1.0 yet because the Windows client isn’t done
and there’s no processor y...
These people have contributed and reviewed significant and non-trivial
code.
R=rsesek@chromium....
0b103946a22b6ab1b0140515e623048d086efa1b authored almost 10 years ago by Mark Mentovai <[email protected]>
Rather than accepting the path to the database’s parent directory, this
now accepts the path to ...
This makes it possible to #include "client/settings.h" for the interface
even on Windows. Althou...
Review URL: https://codereview.chromium.org/997613002
e4c8b6cc72bbd096ccaded29e2ad6554e9204a26 authored almost 10 years ago by Robert Sesek <[email protected]>abuses and misuses.
TEST=crashpad_client_test CrashReportDatabaseTest.*
[email protected], s...
This is only implemented for CrashReportDatabaseMac, because
CrashReportDatabaseWin does not cur...
optimization.
Newer versions of clang (in this case, trunk r231191) can see through
the pointles...
This only works 64->64, 32->32, and 64->32. We shouldn't have a
need for 32->64. It will also cu...
Review URL: https://codereview.chromium.org/988063003
1a635e3a799c9c93b39d1a9f507b3c9eebbd873b authored almost 10 years ago by Robert Sesek <[email protected]>Likewise for EXPECT_DEATH_CHECK() and EXPECT_DEATH().
In the in-Chromium build configured for of...
26804a0be1f2a9d012cf1026130a3747fbcce409 authored almost 10 years ago by Mark Mentovai <[email protected]>
BUG=crashpad:12
[email protected]
Review URL: https://codereview.chromium.org/996433002
e1df1599e15789da53af2494b4bf4d6f459c762d authored almost 10 years ago by Mark Mentovai <[email protected]>picking up:
e7847b381703 10.10 compatibility for base::mac::ScopedLaunchData
6d162c334672 comm...
When building in the Chromium tree, this swaps out Crashpad’s copies of
mini_chromium, gtest, an...
Test code that requires test data should call Paths::TestDataRoot() to
obtain the test data root...
gtest and gmock both rely heavily on exit-time destructors, and must
build with -Wno-exit-time-d...
nullptr ProcessReader::Module.
Prior to 64b87325b9de, the alignment problem meant that the Modul...
56399b255331e9f1a95a13c0fcfb733451fda7a7 authored almost 10 years ago by Mark Mentovai <[email protected]>
In Chromium, many targets are built, sharing a single output directory.
Collisions are likely. W...
When building in the Chromium tree, chromium_code is necessary to apply
Chromium’s build/filenam...
BUG=crashpad:12
[email protected]
Review URL: https://codereview.chromium.org/989023002
55861e88ce78498e500e668606a056881576280d authored almost 10 years ago by Mark Mentovai <[email protected]>
A few stragglers were missing from bc401f6aac22. I really don’t know how
that’s possible, since ...
The 10.10 SDK deprecates <launch.h>, but this file is still useful and
is used by util/mac/launc...
Includes:
- win: Default build to x64
[email protected]
BUG=crashpad:1
Review URL: https:/...
05213fd733b7220d2868a2aa6e1bbd0ffb7b6a52 authored almost 10 years ago by Scott Graham <[email protected]>
Mostly size_t <-> unsigned int warnings, but I also had a mistake in
PROCESS_BASIC_INFORMATION, ...
32-bit mode.
TEST=snapshot_test (specifically MachOImageAnnotationsReader.CrashDyld)
R=rsesek@ch...
A couple of the problems related to not having a C++11 library:
- You can’t put const elements...
79177046d33a7e5a7da776631a8bf14261d29804 authored almost 10 years ago by Mark Mentovai <[email protected]>
This is as a precursor to ProcessReader. Some basic functionality
is included for now, with more...
The handler is now capable of uploading crash reports from the database.
At present, only one up...
ProcessSnapshotMinidump.
ModuleSnapshotMinidump is currently only capable of reading module
anno...
between classic and extension structures.
Previosly, each MinidumpModuleCrashpadInfo structure c...
4539fd1553d43ff2c754d84af45c2e5040d0f0c2 authored almost 10 years ago by Mark Mentovai <[email protected]>
Includes:
win: disable C4996 warning about deprecated functions
[email protected]
BUG=crash...
ProcessReaderWin only a stub for now.
[email protected]
BUG=crashpad:1
Review URL: https://c...
bcc580e561fe89fbf078a83b3ea96cb8b3091865 authored almost 10 years ago by Scott Graham <[email protected]>the Snapshot family.
For the time being, only ProcessSnapshotMinidump::AnnotationsSimpleMap()
is...
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/940793002
583314184abc30bd5f563d96fe3906e8b84fdaa2 authored almost 10 years ago by Scott Graham <[email protected]>FileSeekerInterface::SeekSet().
These methods perform common error checking.
TEST=util_test Str...
89ca2fbba75120b827df555f947d508b54d5be47 authored almost 10 years ago by Mark Mentovai <[email protected]>implement the new interface.
The upcoming minidump reader will get minidump data from a
FileRead...
Some annotations will exist at a broader scope than per-module, which is
the only place that ann...
Original CL (review, misc support code changes) at https://codereview.chromium.org/867363003/.
...
bd77b3034fb9d759968d30abc111bc491362eb6c authored almost 10 years ago by Scott Graham <[email protected]>
Upload isn’t actually hooked up yet, but this establishes the upload
thread and provides all of ...
e:\b\build\slave\crashpad_win_rel\build\crashpad\util\misc\initialization_state_dcheck_test.cc(2...
e774a63dbcd07c2ea021465df8241f66bee3a6f1 authored almost 10 years ago by Scott Graham <[email protected]>
As there are no extended file attributes available on all Windows file
systems (NTFS supports al...
This also splits the per-OS Semaphore methods into their own files.
TEST=util_test Semaphore.*
...
Uses solution suggested in linked bug. No test as it'd be flaky, slow,
or both.
R=mark@chromium...
b16b89c89dc2292e66d025148d1b4cd4a94a526b authored almost 10 years ago by Scott Graham <[email protected]>
This adds a new optional out-parameter to
HTTPTransport::ExecuteSynchronously() and provides Mac...
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/900323003
06b89552af271273c5d0ef7b2f64545f08c9943c authored almost 10 years ago by Scott Graham <[email protected]>
The PUSH/POP are less noisy for sure. SUPPRESS is a little more
subtle -- it's correctly documen...
external defined symbols.
Indirect symbols remain unsupported.
Xcode 5.1 ld64-236.3/src/ld/Link...
878400947fee0b0f5398ea38e7f5e7dfd330b109 authored almost 10 years ago by Mark Mentovai <[email protected]>
- unaligned due to heap allocation
- potentially uninitialized local
- truncation of uint64_t ->...
- More references to sizeof(Struct::Member)
- Complaints about not being able to generate
cons...
- Stack object instantiated for sizeof to avoid
d:\src\crashpad\crashpad\minidump\minidump_syst...
38a026ffc75413c27f41fa6a233bb32b6b27c273 authored almost 10 years ago by Scott Graham <[email protected]>
MINIDUMP_MISC_INFO and MINIDUMP_MISC_INFO_2, etc. are not
derived from each other in Windows' db...
Includes
fb514aa4270ded201e841de6c2f45c72eafb236c Add MSVS_ warning suppression macros
a89b5f1a...
test_process_snapshot.h apparently requires the full inclusion,
not a forward declaration otherw...
No constexpr on VS2013. :(
[email protected]
BUG=crashpad:1
Review URL: https://codereview.c...
9574e94b3d5d7dc36e0c99aa45fadf3ec8024131 authored almost 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/902793003
842bbdeb97e999f6d4e92a7e6d84aba48271976d authored almost 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/897233002
743b7784688598871d1ae7ccf2e038c214f0401d authored almost 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/897863004
55cd6a27149da2897a996b6a9bc67aa67fb67717 authored almost 10 years ago by Scott Graham <[email protected]>
- implicit conversion from time_t -> long
- "exception_info" is a pseudo-keyword on MSVC related...
Needed on Windows for sys/time.h.
d:\src\crashpad\crashpad\snapshot\test\test_process_snapshot....
db99fdb462aa528278a226e0444a7bc40c0059c0 authored almost 10 years ago by Scott Graham <[email protected]>
Had to move this one out to a scoped_ptr too, otherwise when
it's instantiated in test code on t...
- time_t -> uint32_t warning
- mixing bool and BOOLEAN
- potentially unintialized variable warni...
e.g.
d:\src\crashpad\crashpad\minidump\minidump_memory_writer_test.cc(347) : error C2220: warni...
658d70efb3a7d3e8a2030667225264c62be2fe27 authored almost 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/896133002
ef120325b74fbd4f9e7dc1590760c11f4f8ce6da authored almost 10 years ago by Scott Graham <[email protected]>
A (somewhat cursory) inspection leads me to believe that there's
no particular alignment require...
In some cases, it's sufficient to move the zero-length array to the end of the
structure. When t...
- dbghelp.h requires windows.h to be included before it (ick!).
Add a stub one for non_win to ...
Review URL: https://codereview.chromium.org/904493002
409742cd40bcd163a40146bc69fe220d79f70ef3 authored almost 10 years ago by Mark Mentovai <[email protected]>deals solely with a weak FileHandle.
CrashReportDatabase::PrepareNewCrashReport() provides its c...
222f91f5c6e875929fabc00c6ba37698a2808172 authored almost 10 years ago by Mark Mentovai <[email protected]>
A crash handler needs a way to clean up after itself it it calls
CrashReportDatabase::PrepareCra...
Includes:
99f91222f4c99b1420ca8cc76d4effc9a6204da0 Pull in ALIGNAS, define WIN32_LEAN_AND_MEAN
...
Oops, forgot to do this before landing.
[email protected]
[email protected]
BUG=crashpad:...
- Various "FD" to "Handle"
- Existing Multiprocess implementation moves to _posix.
- Stub implem...
- Dependency on compat required for sys/types.h inclusion for ssize_t.
- Test impl of stat to av...
(There's also https://codereview.chromium.org/854363006/ based on
WinInet, I'm still a little un...
[email protected]
TEST=client_test --gtest_filter=CrashReportDatabase\*
Review URL: https://c...
ee9844975570e6f9e06451ed7971c3bdc21487a8 authored almost 10 years ago by Robert Sesek <[email protected]>
Includes:
45cbbb054ccef2e77d5233aa95c5f2742a23dec1 Add FilePath::FinalExtension and RemoveFinalE...
off_t exists on Windows, but Seek is implemented in terms of
SetFilePointerEx which expects a LO...
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/816223007
92d5c419648a4c2a898155ed52498cd6ae1705d1 authored almost 10 years ago by Scott Graham <[email protected]>%zu aborts in system printf functions on Windows, so use PRIuS instead.
[email protected], rs...
cb8c01f4105fdca78a3035cb63a72b7227e87df3 authored almost 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/852773004
7e7b65da1b0fbb6da20ac1e37a66bd9c8ed4c0e0 authored almost 10 years ago by Scott Graham <[email protected]>Includes:
3ce1cc29260d5b49ac21d96454a778c02f583172 Pull in base/format_macros.h from Chromium, ...
c4a5f7de2890eb3c3b799218fcae9579f9ea08fa authored almost 10 years ago by Scott Graham <[email protected]>
Also fix implementation of CreateFile which aborted at runtime
when provided POSIX-style permiss...
[email protected]
TEST=util_test --gtest_filter=Xattr\*
Review URL: https://codereview.chromi...
f0b9dcba25c26d83375faf1bbc75eb7d6a7baf9f authored about 10 years ago by Robert Sesek <[email protected]>After https://codereview.chromium.org/826003003/.
Review URL: https://code...
a277e14c9ed98e6c8474868131634bac95093b6e authored about 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/808493003
f9c487b1e1a365a8b2965367c3212b8f68d5b2f3 authored about 10 years ago by Scott Graham <[email protected]>
[email protected]
BUG=crashpad:1
Review URL: https://codereview.chromium.org/840933004
c6bcbfb0420dd2ac56fe6682cfd062e5a983b91c authored about 10 years ago by Scott Graham <[email protected]>As it was left unimplemented on Windows per previous discussion.
[email protected]
BUG=crashp...
Uses the posix-y CRT functions rather than Win32 API for consistency/similarity
to the POSIX cod...