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

gnatstudio builds but raises PROGRAM_ERROR on multiple BSD for more than 2 years #182

Open
jrmarino opened this issue Nov 30, 2024 · 0 comments

Comments

@jrmarino
Copy link

jrmarino commented Nov 30, 2024

Hello, at Ravenports, we've had gnatstudio for years, but it only works on linux.
It builds on FreeBSD, DragonFly BSD, and NetBSD, but they all fail after the splash screen shows.
this is the first part of the stack trace:

error, GNAT Studio is in an inconsistent state
raised PROGRAM_ERROR : libadalang-analysis.adb:538 access before elaboration
0x8c03b53 in libadalang.analysis.create_context at libadalang-analysis.adb:538 (discriminator 1)
0x5939ca6 in lal.core_module.reset_context at lal-core_module.adb:138
0x593973b in lal.core_module.register_module at lal-core_module.adb:107 (discriminator 4)
0x6ed45b2 in lal.module.register_module at lal-module.adb:244 (discriminator 1)
0x37867d2 in gps.main.finish_setup at gps-main.adb:1476
0x377913a in gps.main.command_line_callback at gps-main.adb:582
0xaa5604e in glib.application.marsh_gapplication_gapplication_command_line_gint at glib-application.adb:?

I have tried over and over to figure out how to patch it, but it's beyond me.
Can somebody more knowledgeable give me some suggestions?

This code is a snapshot from 1 NOV 2024 while all the dependences are the v25.0.0 tags.

It's currently being built by GNU GCC 14.2 but the same behavior was seen on GCC 13.2 as well.

@jrmarino jrmarino changed the title gnatstudio builds but raises PROGRAM errors on multiple BSD for more than 2 years gnatstudio builds but raises PROGRAM_ERROR on multiple BSD for more than 2 years Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant