Skip to content

Saving takes a million years #8255

Open
@astrelsky

Description

@astrelsky

Describe the bug
Ok, I'm exaggerating with this one. It doesn't take forever, it takes at most 10 seconds but it's sporadic and definitely difficult to determine what is wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Import large kernel
  2. Run analysis.
  3. Make millions of datatype and labels and data
  4. Import memory dumps of the heap and device memory
  5. Create uninitialized memory block, later initialize them to 0 and paste in data
  6. Do some stuff and save
  7. Randomly see it take forever to save?

Expected behavior
It should, believe it or not, save right away.

Screenshots
I did start recording before the save box popped up so it missed the beginning but whatever. It captured the important part I think.

example.mp4

Attachments
Not sure how helpful this will be but it's better then nothing. I'm sure everyone will be very shocked to see the AWT-EventQueue thread blocked on a database lock.

jstack.txt

Environment (please complete the following information):

  • Ghidra Version: 11.5_DEV

Additional context
As with #8244 this appears to happen more often if I save immediately after making a change, which is a common thing to do if you've ever lost something for lack of saving. My laptop fans will also go brrrrrrrrrrr as well when this happens.

Metadata

Metadata

Assignees

Labels

Status: TriageInformation is being gathered

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions