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

Crash with stack overflow #23

Open
hfiguiere opened this issue Mar 30, 2024 · 1 comment
Open

Crash with stack overflow #23

hfiguiere opened this issue Mar 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hfiguiere
Copy link

hfiguiere commented Mar 30, 2024

This is reproduced with this repository / crate:

https://gitlab.freedesktop.org/libopenraw/libopenraw.git

(I'm the developer for that crate)

cargo-depgraph 1.6.0

$ cargo depgraph --all-deps
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
zsh: IOT instruction (core dumped)  cargo depgraph --all-deps

In gdb

Program received signal SIGSEGV, Segmentation fault.
0x000055555557c6c9 in cargo_depgraph::graph::update_node ()
(gdb) where
#0  0x000055555557c6c9 in cargo_depgraph::graph::update_node ()
#1  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#2  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#3  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#4  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#5  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#6  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#7  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#8  0x000055555557c833 in cargo_depgraph::graph::update_node ()
#9  0x000055555557c833 in cargo_depgraph::graph::update_node ()
@jplatte
Copy link
Owner

jplatte commented Apr 28, 2024

Hey! I don't think I'll get to debugging this anytime soon, but a PR to fix it would be appreciated if you (or somebody else) can figure out what's going wrong there.

@jplatte jplatte added the bug Something isn't working label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants