[
https://issues.apache.org/jira/browse/DISPATCH-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167820#comment-17167820
]
Gordon Sim commented on DISPATCH-1732:
--------------------------------------
Backtrace is:
{noformat}
#0 0x00007ffff7a56d5e in __strcmp_avx2 () from /lib64/libc.so.6
#1 0x00007ffff7f6808f in qd_policy_amqp_open (qd_conn=0x7fffe400f9c8) at
/home/gordon/projects/dispatch/src/policy.c:1297
#2 0x00007ffff7f9ad5a in handle (qd_server=qd_server@entry=0x53b8d0,
e=e@entry=0x648f40, pn_conn=pn_conn@entry=0x7fffe4010b80,
ctx=ctx@entry=0x7fffe400f9c8) at
/home/gordon/projects/dispatch/src/server.c:1041
#3 0x00007ffff7f9bd9c in thread_run (arg=arg@entry=0x53b8d0) at
/home/gordon/projects/dispatch/src/server.c:1066
#4 0x00007ffff7f9bfb0 in qd_server_run (qd=<optimized out>) at
/home/gordon/projects/dispatch/src/server.c:1412
#5 0x00000000004026b2 in main_process (config_path=0x7fffffffd372
"/home/gordon/projects/router-config-examples/multitenant.json",
python_pkgdir=<optimized out>, test_hooks=<optimized out>, fd=2)
at /home/gordon/projects/dispatch/router/src/main.c:113
#6 0x0000000000402400 in main (argc=3, argv=0x7fffffffcf28) at
/home/gordon/projects/dispatch/router/src/main.c:367
{noformat}
> segfault when connecting to multitenant listener with policy but no hostname
> in open
> -------------------------------------------------------------------------------------
>
> Key: DISPATCH-1732
> URL: https://issues.apache.org/jira/browse/DISPATCH-1732
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Policy Engine
> Affects Versions: 1.13.0
> Reporter: Gordon Sim
> Priority: Major
> Fix For: 1.13.0
>
>
> Start router with following config file and then run qpid-receive against it
> (which by default does not set a hostname in open).
>
> {noformat}
> [
> ["listener", { "host": "0.0.0.0", "port": 5672, "multiTenant": true ,
> "policyVhost": "myhost"}],
> ["policy", {"enableVhostPolicy": true }],
> ["vhost", { "hostname": "myhost", "allowUnknownUser": true,
> "groups":{"$default":{"remoteHosts":"*","sources":"*","targets":"*","allowDynamicSource":true,"allowAnonymousSender":true}}}]
> ] {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]