terrible error reporting when fasl-loading symbols in unknown packages

Bug #553943 reported by Attila Lendvai on 2010-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Medium
Unassigned

Bug Description

fasl loading doesn't report useful messages in case of errors.

a situation i've met several times: due to an accidental redefinition, a macro expansion contains symbols from packages that are not part of the dependency. then compiling a fasl will emit symbols in the fasl whose package is not available next time the library is loaded into a fresh VM.

in these situation fasl loading dies in find-undeleted-package-or-lose, and it's close to impossible to find out which symbol caused this.

Changed in sbcl:
status: New → Confirmed
summary: - wanted: better error reporting from fasl loading
+ wanted: better error reporting from fasl loading symbols in unknown
+ packages
Changed in sbcl:
importance: Undecided → Wishlist
tags: added: fasl
Changed in sbcl:
importance: Wishlist → Medium
summary: - wanted: better error reporting from fasl loading symbols in unknown
- packages
+ terrible error reporting when fasl-loading symbols in unknown packages
Changed in sbcl:
status: Confirmed → Triaged
assignee: nobody → Nikodemus Siivola (nikodemus)

To be really clever, one would modify the fasdumper to prepare a table of all symbols used in a particular package, so that it could dump them all at the same time, and use a single (new) FOP to load them all at once, which would lead to being able to say "the following symbols were dumped from missing package FOO...", but that's a lot more work to implement.

Changed in sbcl:
assignee: Nikodemus Siivola (nikodemus) → nobody
Stas Boukarev (stassats) wrote :

Got fixed in cbe0542269aa6b9dc899d901c49e2b5a36aa4f92.

Changed in sbcl:
status: Triaged → Fix Committed
Stas Boukarev (stassats) on 2014-03-02
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers