Skip to content
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

assertion when threads=10 #200

Open
ghost opened this issue Oct 22, 2023 · 3 comments
Open

assertion when threads=10 #200

ghost opened this issue Oct 22, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 22, 2023

Hello,

I am using milter-test-server to test some milters, when using it with threads=0 everything works fine, but the more I increase that value the more errors I get, once I reach threads=10 then the errors are constant:

milter_event_loop_quit: assertion 'priv->depth > 0' failed

Below is the complete command that I'm using:

	milter-test-server					\
	 --connection-spec="inet:[email protected]"		\
	 --connect-macro=client_connections:98			\
	 --helo-fqdn="localhost"				\
	 --authenticated-name="<root@localhost>"		\
	 --authenticated-type="SASL"				\
	 --mail-file="./data.txt"				\
	 --output-message					\
	 --color=no						\
	 --all-timeouts=2					\
	 --threads=10						\
	 --verbose > "./report.txt"

I am using Fedora Server 38.

Thank you.

@kou
Copy link
Member

kou commented Oct 22, 2023

Is this happen with any milter such as milter-test-client?
Or only with your milter?

@kou
Copy link
Member

kou commented Oct 23, 2023

Could you also provide data.txt?
Or could you provide a command line that reproduces this without data.txt?

@ghost
Copy link
Author

ghost commented Oct 23, 2023

I haven't tried with any other milter, just my own.

I'm attaching the spam message that I'm using to test my milter:
data.txt

I also tried without the --mail-file parameter, same errors :(

	milter-test-server					\
	 --connection-spec="inet:[email protected]"		\
	 --connect-macro=client_connections:98			\
	 --helo-fqdn="localhost"				\
	 --authenticated-name="<root@localhost>"		\
	 --authenticated-type="SASL"				\
	 --output-message					\
	 --color=no						\
	 --all-timeouts=2					\
	 --threads=10						\
	 --verbose > "./report.txt"

output (I'm using a loop to load multiple data.txt files:

** (milter-test-server:2879): CRITICAL **: 10:18:47.213: milter_event_loop_quit: assertion 'priv->depth > 0' failed

** (milter-test-server:2894): CRITICAL **: 10:18:47.239: milter_event_loop_quit: assertion 'priv->depth > 0' failed

** (milter-test-server:2913): CRITICAL **: 10:18:47.262: milter_event_loop_quit: assertion 'priv->depth > 0' failed

** (milter-test-server:2929): CRITICAL **: 10:18:47.291: milter_event_loop_quit: assertion 'priv->depth > 0' failed

** (milter-test-server:2929): CRITICAL **: 10:18:47.291: milter_event_loop_quit: assertion 'priv->depth > 0' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant