Stack Overflow #609
Labels
No labels
Compat/Breaking
Kind
Bad merge
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
New language
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mergiraf/mergiraf#609
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I don't really have a minimal repro case, but on $DAYJOB's repo mergiraf triggers a stack overflow on a specific merge:
$attrfile
is just a path to a file which containsas merging using mergiraf can be enabled and disabled dynamically, so it's not part of the repository's "static" configuration.
As the repository is a bit of a chonker here should be the fastest / easiest way to get a working local version for this (tested on ZSH but I don't think it has any zsh-ism?):
At this point:
This is with
Haven't looked into the code yet, but I'm pretty sure it's a bug in comment bundling we've introduced recently (see the first report of it here). @wetneb maybe we should temporarily introduce relevant cycle detection, as described here? It will slow down the program a bit of course, but I think that's preferable to outright panics
That would be ideal - this sort of failure is one I would gladly avoid :)
Oh -- it turns out that if I add a debug-panic when a cycle is detected, then even some of our unit tests fail. That's kind of good news, because until now, I'd only seen panics on very large files, which would've been annoying to debug; but with this, I might even be able to find the root issue. Still, it might make sense to publish a hotfix release without the debug-panic for now
Here's a reproducer for a stack overflow panic. Not sure if it's the same root cause, but it's worth tackling in any case :)