-
dangergrrl
ty everyone, I archived my illumos box and have the files on the vm host
-
dangergrrl
i think it was rmustacc who helped
-
dangergrrl
I have a machine being donated purportedly
-
dangergrrl
and I know there's a net build host, perhaps I should just ask about using that?
-
toasterson
Yep build host and distribution packaging are there to help with that :)
-
jbk
*sigh* one of those days when you gcc -o file.c by mistake :)
-
richlowe
this is why all my outputs get named foo :)
-
jbk
also somewhat surprising
-
jbk
(again one of those days)
-
jbk
if you build a shared library with gcc, but omit a source
-
jbk
it still generates a (mostly) empty .so file
-
jbk
(well surprising to me since i've not deliberately tried to do this)
-
richlowe
you're not omitting source, the CRT etc objects will still be implicitly there
-
richlowe
and it will just link them together.
-
richlowe
not the most user friendly of viewpoints, but not off the wall
-
LxGHTNxNG
the power to create empty libraries
-
danmcd
pmooney: An update on fenix` illumos 14892
-
danmcd
fenix illumos 14892
-
fenix
BUG 14892: pollhead lifetime too short in signalfd (In Progress)
-
fenix
-
danmcd
1.) Got it to build cleanly on SmartOS (brand hooks in signalfd only change).
-
danmcd
2.) Made changes to be pbchk clean and added things to help there as well (e.g. usr/src/pkg and adding the mentioned-but-not-there "common.h").
-
danmcd
3.) I have a test program that *might* help induce 14892, but I haven't been able to do it yet. I'm not sure if the program is not going to cause the problem, or if the program needs to get bombarded with more signals, or if I need to apply chill() in the right kernel paths.
-
danmcd
Building illumos-gate plus the ~10 changes (your three plus 6 tiny incremental ones and one refactor that makes it easy for SmartOS and OmniOS) to make sure it's a clean build.
-
danmcd
pbchk's only complaints on gate are 2022 vs. 2023 ones. :)
-
pmooney
Re: 2 - Yeah, that's work I hadn't focused on until the tests were fleshed out
-
pmooney
(which is obviously where my effort stalled)
-
danmcd
Understood.
-
danmcd
I modified one of your tests to do a lot more, but I'm not clear if it's enough to induce the panic.
-
danmcd
Lemme put it up on kebe.com for download...
-
pmooney
I think andyf (and/or hadfl, I can't recall) was able to get the problem reproduced w/ the postgres test suite
-
pmooney
that was, to date, one of the more reliable repros
-
danmcd
And Andy tried again this week and COULD NOT DO IT. (It's as if the bug knows we're hunting it now.)
-
danmcd
-
pmooney
that may be a DEBUG vs non-DEBUG thing
-
pmooney
I know I had some trouble getting it to repro as well
-
danmcd
it *works*, but it does not, using simple externals, cause a panic yet on a non-debug stock SmartOS.
-
danmcd
Good point about DEBUG, however. I've an OmniOS VM setup for just this sort of thing.
-
pmooney
postgres may also have tweaked some of the bits
-
danmcd
I'll be putting other things into the 14892/ directory on kebe.com as they arise (e.g. SmartOS PI with the fix in it).
-
danmcd
I'm going to let the build churn, and come back to it. I wanted to make sure I communicated somewhere about this where you and others can see it.
-
pmooney
as far as testing goes, my bigger concern was around ensuring that I hadn't broken signalfd with the change
-
pmooney
rather than nailing down a reliable reproducer for 14892 itself
-
pmooney
not to say I'd turn one down if it presented itself
-
danmcd
Well so far, so good, in that I seem to see them in my test, which is a proper superset of your second one.
-
danmcd
I'll be back in 20 or so.
-
pmooney
yeah, I just wasn't all that confident yet in the test coverage
-
pmooney
lots of edges on signalfd
-
richlowe
signals are bastards.
-
pmooney
they sure are
-
pmooney
signalfd is certainly one less-hairy way of handling them
-
pmooney
but it's a bit spicy
-
danmcd
It is spicy and they are bastards.
-
danmcd
And it built. Now
kebe.com/~danmcd/webrevs/14892 has "gate" and "smartos" directories with patch sets to download and look.
-
danmcd
(The "smartos" ones Should Just Drop into OmniOS, FWIW.)