Comments (5)
Also is there any way to recover from the panic? I tried except symbolic.Panic but we still lose the parent process with a core dump
We noticed the wheel on pip is built with python2.7 and we managed to fix this by building everything ourselves for python3.7 with rust 1.34. So at least it doesn't crash with a core dump now
from symbolic.
@AdrianLC would it be possible to share the dSYM with me (via email to [email protected], for instance)? I'm curious what might cause this panic -- especially since there shouldn't be a large difference between our binary wheels and a custom build.
Also, I'm curious as to why there is a core dump. The library catches the panic down, which is why you can see it along with the Python stack trace.
Would love to take a detailled look at a repro case or the affected file.
from symbolic.
Thank you @jan-auer. I just sent you the dSYM by email.
We generally cannot see the panic when it crashes. But for some reason I managed to see it when running the code from a shell. Also, it sort of seems to be fixed with our build and we get an exception instead. (Sort of, because we suspect it still might be happening with other zips)
from symbolic.
Hi, with the 7.1.0 release our regression test has changed from symbolic.Panic
to this
symbolic.ObjectErrorBadMachOobject: failed to process macho file
caused by: invalid MachO file
caused by: type is too big (3074949) for 754944
stacktrace: stack backtrace:
0: failure::backtrace::Backtrace::new
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
<failure::backtrace::Backtrace as core::default::Default>::default
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:125
1: symbolic_archive_get_object
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
I guess the change comes from https://github.com/getsentry/symbolic/pull/169/files maybe it's enough to close this issue.
from symbolic.
Looking at the original stack trace, I have the assumption this was an wrapping arithmetic problem that I found and fixed some time ago both coming from another customer issue, as well as using fuzzing.
The second stack trace reported later on looks different.
Since this issue is already over 2 years old, I will close this for now, and ask you to reopen if this is still a problem, preferably with a failing testcase that we can look at.
from symbolic.
Related Issues (20)
- Support .NET Source Context HOT 4
- Use Clippy GitHub action to get annotations HOT 5
- Support .NET SourceLink HOT 3
- Consider changing `DebugSession::source_by_path()` to `&mut self` HOT 2
- Git release 11.0.0 was not merged back into master HOT 1
- Unable to apply DIF to events from MacOS HOT 2
- Bad line record addresses in Breakpad sym files can cause problems HOT 2
- Corrupted dwarf debug data when include_sources=true HOT 8
- Embedded symbols/sources not found HOT 9
- Portable PDB reader row-size broken for MAUI HOT 3
- How to deal with HiddenSequencePoints in PortablePDB
- Incorrect uuid dependency in symbolic-ppdb HOT 2
- RUSTSEC-2021-0153: `encoding` is unmaintained HOT 1
- How to build linux python package on macos? HOT 1
- Symbolic cannot find unwind information HOT 5
- Flutter web symbolication uses `scope` instead of `name` but the `name` in some cases if not all is better HOT 1
- How to get list of all objective C classes from symcache of an ios app
- How to use `symbolic` to symbolicate a stack trace? HOT 7
- Demangle stack trace in Python
- Add SourceLink support to SourceBundles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbolic.