managarm / frigg

Lightweight C++ utilities and algorithms for system programming
MIT License
56 stars 20 forks source link

Frigg assertion failure during printing #16

Closed Dennisbonke closed 2 years ago

Dennisbonke commented 2 years ago

While testing out the fixes for #14, I ran into the following problem

../../../src/mlibc/subprojects/frigg/include/frg/printf.hpp:57: Assertion 'opts->arg_pos <= vsp->num_args' failed!

Tested with the --help commands of:

Geertiebear commented 2 years ago

Hm, could you find the invocation that causes this error in any one of those programs? One that contains positional arguments of course.