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
Failed at empty_string & print_filter #147
Comments
Hoping there are some macOS users out there to help debug this. We need at least .log files and someone to run each failing/fauly test manually and in gdb to find the root cause. |
I think empty_string fails I think because of the rewind using the fseek to 0 on the fmemopen file. Maybe just needs to use rewind instead? I didn't have time to verify this though. The print_filter is crashing/seg fault because the version of macOS being used for this failure doesn't have a fmemopen implementation and its missing the external definition that happens to be at the top of the empty_string test, i.e. copy this to the top of print_filter.c #ifndef HAVE_FMEMOPEN |
For the
I'm not seeing the issue with |
@troglobit I can help with this, what would you like to see from gdb for the |
At least a backtrace, but even better would be if you could debug it back to the root cause. I have no way to take over where you leave it, or even guess what a fix could be. |
FYI the
|
Great! Any ideas for a fix or root cause yet? |
Not yet. There's no back trace for |
Ok, I've narrowed it down to the second half of |
Issue is the
The Not addressing the issue, but replacing the
Import a working fmemopen implementation from somewhere or don't try to use it if the host doesn't support it? I ended up here because libftdi has a libconfuse dependency, but luckily they don't use |
Or a better approach is to stick with libconfuse 3.0 before fmemopen() usage was introduced. |
macOS is not an operating system I'm good at, so any help getting a pull request in to fix this problem would be great. |
For sure, are you comfortable with FreeBSD by any chance? |
Sure, the main problem though is finding the time. I'll see if I can find some the coming week. |
I'll cover testing on Darwin if you can get something together, doesn't have to be in the coming week if that's a hassle. |
Hold back to v3.0 since 3.1 onwards rely on fmemopen(3) and its implementation for backwards compatibility with systems that lack it e.g Tiger doesn't work. libconfuse/libconfuse#147
Hold back to v3.0 since 3.1 onwards rely on fmemopen(3) and its implementation for backwards compatibility with systems that lack it e.g Tiger doesn't work. libconfuse/libconfuse#147
I failed to upgrade my confuse 3.2.2 to 3.3 by homebrew.
The text was updated successfully, but these errors were encountered: