Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GlobalCfg, cli vm-backtrace option #79

Merged
merged 6 commits into from
Jan 26, 2022
Merged

Add GlobalCfg, cli vm-backtrace option #79

merged 6 commits into from
Jan 26, 2022

Conversation

rakita
Copy link
Contributor

@rakita rakita commented Nov 29, 2021

I dont print memory from backtrace because it is 4mb in size. There is the possibility to compress it and print it in that way, but maybe this is task for another time.

For compression I mean something like: FirstFlag | NumOfZeroes | NumOfData | data | NumOfZeroes | NumOfData | Data
this compression will give us a lot smaller size of memory assuming a lot of it is zeroed. This can be printed differently but all data would be here.

@rakita rakita requested a review from Voxelot November 29, 2021 16:34
fuel-core/src/service.rs Outdated Show resolved Hide resolved
@Voxelot
Copy link
Member

Voxelot commented Dec 3, 2021

#81 will fix these new errors that started appearing due to Rust 1.57

@rakita rakita force-pushed the rakita/backtrace branch 2 times, most recently from 8389d8b to 804a454 Compare December 4, 2021 17:13
@Voxelot Voxelot linked an issue Dec 4, 2021 that may be closed by this pull request
3 tasks
fuel-core/src/executor.rs Outdated Show resolved Hide resolved
@Voxelot
Copy link
Member

Voxelot commented Dec 4, 2021

Just realized this PR is likely blocked on FuelLabs/fuel-vm#47 since it will change the way backtraces are enabled in the vm.

@rakita
Copy link
Contributor Author

rakita commented Dec 5, 2021

Just realized this PR is likely blocked on FuelLabs/fuel-vm#47 since it will change the way backtraces are enabled in the vm.

Then lets us leave this unmerged and we will rebase after vm pull request is complete.

@Voxelot
Copy link
Member

Voxelot commented Dec 23, 2021

@rakita this is no longer blocked on FuelLabs/fuel-vm#47 btw

Copy link
Member

@Voxelot Voxelot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to update to latest vm, the interfaces have been changed.

@rakita rakita marked this pull request as draft December 27, 2021 11:12
@rakita rakita requested a review from Voxelot January 3, 2022 10:41
fuel-core/src/executor.rs Outdated Show resolved Hide resolved
@rakita rakita self-assigned this Jan 9, 2022
@rakita rakita marked this pull request as ready for review January 22, 2022 19:17
fuel-core/src/executor.rs Outdated Show resolved Hide resolved
fuel-core/src/executor.rs Outdated Show resolved Hide resolved
@rakita rakita requested a review from Voxelot January 25, 2022 19:44
@rakita rakita merged commit 5ad631a into master Jan 26, 2022
@rakita rakita deleted the rakita/backtrace branch January 26, 2022 10:54
ControlCplusControlV pushed a commit that referenced this pull request Jan 15, 2023
* Data driven test framework

* Impl ToString for Test to generate test names

* revert unrelated change

* Stable

* Format

* Data test stable

* undo change to smt

* Use `?` instead of `unwrap`

* Reorder dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Enable vm execution error backtraces in fuel-core
2 participants