{"action":"closed","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1325","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1325/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1325/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1325/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/1325","id":111582217,"number":1325,"title":"crash","user":{"login":"antonen76","id":15139475,"avatar_url":"https://avatars.githubusercontent.com/u/15139475?v=3","gravatar_id":"","url":"https://api.github.com/users/antonen76","html_url":"https://github.com/antonen76","followers_url":"https://api.github.com/users/antonen76/followers","following_url":"https://api.github.com/users/antonen76/following{/other_user}","gists_url":"https://api.github.com/users/antonen76/gists{/gist_id}","starred_url":"https://api.github.com/users/antonen76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonen76/subscriptions","organizations_url":"https://api.github.com/users/antonen76/orgs","repos_url":"https://api.github.com/users/antonen76/repos","events_url":"https://api.github.com/users/antonen76/events{/privacy}","received_events_url":"https://api.github.com/users/antonen76/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T09:50:53Z","updated_at":"2015-10-15T12:20:38Z","closed_at":"2015-10-15T12:20:38Z","body":"Hi \r\n\r\nwe use a freeradius 3.0.10 with eap_peap mschapv2 for eduroam autentication with two ldap server (one for staff and the other for student) as backend and a sql oracle db for accounting.\r\n\r\nDue to our query that matches two users with homonyms radius fails at the beginnings of INSERT query in the db.\r\n\r\nThese are the last output debug:\r\n-User-Name})(utenteattivo=TRUE))(&(edupersonprincipalname=%{Stripped-User-Name})(utenteattivo=TRUE)))\r\n(1690) studenti_EC:    --> (|(&(mail=xxxxx@mydomain.it)(utenteattivo=TRUE))(&(uid=xxxxx)(utenteattivo=TRUE))(&(edupersonprincipalname=xxxxx)(utenteattivo=TRUE)))\r\n(1690) studenti_EC: Performing search in \"dc=mydomain,dc=it\" with filter \"(|(&(mail=xxxx@mydomain.it)(utenteattivo=TRUE))(&(uid=xxxx)(utenteattivo=TRUE))(&(edupersonprincipalname=xxxx)(utenteattivo=TRUE)))\", scope \"sub\"\r\n(1690) studenti_EC: Waiting for search result...\r\n(1690) studenti_EC: ERROR: Ambiguous search result, returned 2 unsorted entries (should return 1 or 0).  Enable sorting, or specify a more restrictive base_dn, filter or scope\r\n(1690) studenti_EC: ERROR: The following entries were returned:\r\n(1690) studenti_EC:   ERROR: uid=xxxx,ou=studenti,dc=uniparthenope,dc=it\r\n(1690) studenti_EC:   ERROR: uid=xxxx,ou=studenti,dc=uniparthenope,dc=it\r\nORA-24550: signal received: [si_signo=6] [si_errno=0] [si_code=-6] [si_int=0] [si_ptr=(nil)] [si_addr=0x3ea000039ac]\r\n\r\n*** Error in `/usr/local/sbin/radiusd': double free or corruption (fasttop): 0x0000000001ab2840 ***\r\n======= Backtrace: =========\r\n/lib64/libc.so.6(+0x730bf)[0x7f11f140c0bf]\r\n/lib64/libc.so.6(+0x7892e)[0x7f11f141192e]\r\n/lib64/libc.so.6(+0x79636)[0x7f11f1412636]\r\n/usr/local/lib/rlm_ldap.so(rlm_ldap_find_user+0x217)[0x7f11f094c087]\r\n/usr/local/lib/rlm_ldap.so(+0x5ad9)[0x7f11f0947ad9]\r\n/usr/local/sbin/radiusd[0x42683f]\r\n/usr/local/sbin/radiusd[0x425969]\r\n/usr/local/sbin/radiusd[0x425b3e]\r\n/usr/local/sbin/radiusd[0x425969]\r\n/usr/local/sbin/radiusd[0x425b3e]\r\n/usr/local/sbin/radiusd(modcall+0x43)[0x426d53]\r\n/usr/local/sbin/radiusd(indexed_modcall+0x9d)[0x421c4d]\r\n/usr/local/sbin/radiusd(rad_authenticate+0x3c6)[0x411cc6]\r\n/usr/local/sbin/radiusd[0x434442]\r\n/usr/local/sbin/radiusd[0x4306c4]\r\n/usr/local/sbin/radiusd(request_receive+0x347)[0x431d57]\r\n/usr/local/sbin/radiusd[0x41cc16]\r\n/usr/local/sbin/radiusd[0x42ee0b]\r\n/usr/local/lib/libfreeradius-radius.so(fr_event_loop+0x2fc)[0x7f11f311514c]\r\n/usr/local/sbin/radiusd(main+0x70a)[0x410c5a]\r\n/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f11f13bab05]\r\n/usr/local/sbin/radiusd[0x410f9e]\r\n======= Memory map: ========"}}