Interesting and of course this isn't a good way to solve this problem (though should work well enough considering qmailadmin doesn't stick around for more than a few seconds on each execution) and is just that I found an idea of where things may be going wonky.
Using 1.2.10 / vpopmail 5.4.15, in qmailadmin's template.c, I commented out the 'fclose(fs)' right before the fflush around like 681. This suddenly fixed most of my segfaulting problems. I'd imagine that leads us to see that maybe a filedescriptor is being closed by the previous closes or the pointer modified somehow (or it's being triggered due to some other buffer-related issues).
At present the only thing I see _not_ working is adding a new forward (I can add another line to an existing forward though), but it's nice to see that I at least found a solution to these other issues. Otherwise the cgi works seg-fault-free (whcih is a good thing)- so just the one. I'll keep working on tracing that one down.
Am I the only one experiencing these?
configure lines:
----
qmailadmin: '--enable-htmldir=/var/www' '--enable-cgibindir=/var/www/cgi-bin' '--enable-help' '--enable-cgipath=/cgi-bin/qmailadmin' '--enable-domain-autofill'
vpopmail: '--enable-qmail-ext' '--enable-auth-module=cdb' '--enable-logging=y'
----
-M
Using 1.2.10 / vpopmail 5.4.15, in qmailadmin's template.c, I commented out the 'fclose(fs)' right before the fflush around like 681. This suddenly fixed most of my segfaulting problems. I'd imagine that leads us to see that maybe a filedescriptor is being closed by the previous closes or the pointer modified somehow (or it's being triggered due to some other buffer-related issues).
At present the only thing I see _not_ working is adding a new forward (I can add another line to an existing forward though), but it's nice to see that I at least found a solution to these other issues. Otherwise the cgi works seg-fault-free (whcih is a good thing)- so just the one. I'll keep working on tracing that one down.
Am I the only one experiencing these?
configure lines:
----
qmailadmin: '--enable-htmldir=/var/www' '--enable-cgibindir=/var/www/cgi-bin' '--enable-help' '--enable-cgipath=/cgi-bin/qmailadmin' '--enable-domain-autofill'
vpopmail: '--enable-qmail-ext' '--enable-auth-module=cdb' '--enable-logging=y'
----
-M
