Hi
Thenx. I use your patch but problem not solved.
Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines).
patching file src/auth/mycrypt.c
./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc
--with-ldap=yes --with-mysql --with-ssl=openssl --with-solr
--with-storages=maildir,imapc
Install prefix . : /usr/local/dovecot-2.2.36
File offsets ... : 64bit
I/O polling .... : epoll
I/O notifys .... : inotify
SSL ............ : yes (OpenSSL)
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file shadow checkpassword ldap sql
dcrypt ..........: yes
???????????????? : -pam -bsdauth -sia -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword ldap
sql nss
???????????????? : -vpopmail
SQL drivers .... : mysql
???????????????? : -pgsql -sqlite -cassandra
Full text search : squat solr
???????????????? : -lucene
Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters
Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command
startup failed, throttling for 2 secs
Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth):
child 11238 killed with signal 11 (core dumped)
Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
disconnected unexpectedly
Jan 24 19:06:34 postfix dovecot: director: Error: Auth server
disconnected unexpectedly
New LWP 11244]
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `dovecot/auth'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1? 0x0000559531747bc8 in password_scheme_register_crypt () at
password-scheme-crypt.c:144
??????? i = 0
??????? crypted = <optimized out>
#2? 0x00005595317478dc in password_schemes_init () at password-scheme.c:875
??????? i = <optimized out>
#3? 0x00005595317227fb in main_preinit () at main.c:188
??????? mod_set = {abi_version = 0xf9d2c8bc <error: Cannot access memory
at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0
<_gnutls_log_level>
"", setting_name = 0x0,
????????? filter_callback = 0x7f44ee395cfb, filter_context 0x756e654700000004,
require_init_funcs = 1, debug = 0,
ignore_dlopen_errors = 1, ignore_missing = 0}
??????? services = <optimized out>
??????? mod_set = <optimized out>
??????? services = <optimized out>
#4? main (argc=<optimized out>, argv=<optimized out>) at main.c:396
??????? c = <optimized out>
On 24.01.2019 18:33, Aki Tuomi wrote:> This has been fixed with
>
>
https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch
>
> Aki
>
You need to do `autoreconf -vi` before configure, won't work otherwise. Aki> On 24 January 2019 at 20:09 Maciej Milaszewski IQ PL <maciej.milaszewski at iq.pl> wrote: > > > Hi > Thenx. I use your patch but problem not solved. > > > Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines). > patching file src/auth/mycrypt.c > > ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc > --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr > --with-storages=maildir,imapc > > Install prefix . : /usr/local/dovecot-2.2.36 > File offsets ... : 64bit > I/O polling .... : epoll > I/O notifys .... : inotify > SSL ............ : yes (OpenSSL) > GSSAPI ......... : no > passdbs ........ : static passwd passwd-file shadow checkpassword ldap sql > dcrypt ..........: yes > ???????????????? : -pam -bsdauth -sia -vpopmail > userdbs ........ : static prefetch passwd passwd-file checkpassword ldap > sql nss > ???????????????? : -vpopmail > SQL drivers .... : mysql > ???????????????? : -pgsql -sqlite -cassandra > Full text search : squat solr > ???????????????? : -lucene > > > Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters > Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command > startup failed, throttling for 2 secs > Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth): > child 11238 killed with signal 11 (core dumped) > Jan 24 19:06:34 postfix dovecot: director: Error: Auth server > disconnected unexpectedly > Jan 24 19:06:34 postfix dovecot: director: Error: Auth server > disconnected unexpectedly > > > New LWP 11244] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `dovecot/auth'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > (gdb) bt full > #0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > No symbol table info available. > #1? 0x0000559531747bc8 in password_scheme_register_crypt () at > password-scheme-crypt.c:144 > ??????? i = 0 > ??????? crypted = <optimized out> > #2? 0x00005595317478dc in password_schemes_init () at password-scheme.c:875 > ??????? i = <optimized out> > #3? 0x00005595317227fb in main_preinit () at main.c:188 > ??????? mod_set = {abi_version = 0xf9d2c8bc <error: Cannot access memory > at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level> > "", setting_name = 0x0, > ????????? filter_callback = 0x7f44ee395cfb, filter_context > 0x756e654700000004, require_init_funcs = 1, debug = 0, > ignore_dlopen_errors = 1, ignore_missing = 0} > ??????? services = <optimized out> > ??????? mod_set = <optimized out> > ??????? services = <optimized out> > #4? main (argc=<optimized out>, argv=<optimized out>) at main.c:396 > ??????? c = <optimized out> > > > On 24.01.2019 18:33, Aki Tuomi wrote: > > This has been fixed with > > > > https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch > > > > Aki > > > >
Hi Thenx for replay - problem solved :) I forget `autoreconf -vi` You are rox :) ?On 24.01.2019 19:10, Aki Tuomi wrote:> You need to do `autoreconf -vi` before configure, won't work otherwise. > > Aki > >> autoreconf -viOn 24 January 2019 at 20:09 Maciej Milaszewski IQ PL <maciej.milaszewski at iq.pl> wrote: >> >> >> Hi >> Thenx. I use your patch but problem not solved. >> >> >> Hunk #1 succeeded at 334 with fuzz 2 (offset 19 lines). >> patching file src/auth/mycrypt.c >> >> ./configure --prefix=/usr/local/dovecot-2.2.36 --sysconfdir=/etc >> --with-ldap=yes --with-mysql --with-ssl=openssl --with-solr >> --with-storages=maildir,imapc >> >> Install prefix . : /usr/local/dovecot-2.2.36 >> File offsets ... : 64bit >> I/O polling .... : epoll >> I/O notifys .... : inotify >> SSL ............ : yes (OpenSSL) >> GSSAPI ......... : no >> passdbs ........ : static passwd passwd-file shadow checkpassword ldap sql >> dcrypt ..........: yes >> ???????????????? : -pam -bsdauth -sia -vpopmail >> userdbs ........ : static prefetch passwd passwd-file checkpassword ldap >> sql nss >> ???????????????? : -vpopmail >> SQL drivers .... : mysql >> ???????????????? : -pgsql -sqlite -cassandra >> Full text search : squat solr >> ???????????????? : -lucene >> >> >> Jan 24 19:06:34 postfix dovecot: ssl-params: Generating SSL parameters >> Jan 24 19:06:34 postfix dovecot: master: Error: service(auth): command >> startup failed, throttling for 2 secs >> Jan 24 19:06:34 postfix dovecot: auth: Fatal: master: service(auth): >> child 11238 killed with signal 11 (core dumped) >> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> Jan 24 19:06:34 postfix dovecot: director: Error: Auth server >> disconnected unexpectedly >> >> >> New LWP 11244] >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >> Core was generated by `dovecot/auth'. >> Program terminated with signal SIGSEGV, Segmentation fault. >> #0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> (gdb) bt full >> #0? 0x00007f44ee4e8c7a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 >> No symbol table info available. >> #1? 0x0000559531747bc8 in password_scheme_register_crypt () at >> password-scheme-crypt.c:144 >> ??????? i = 0 >> ??????? crypted = <optimized out> >> #2? 0x00005595317478dc in password_schemes_init () at password-scheme.c:875 >> ??????? i = <optimized out> >> #3? 0x00005595317227fb in main_preinit () at main.c:188 >> ??????? mod_set = {abi_version = 0xf9d2c8bc <error: Cannot access memory >> at address 0xf9d2c8bc>, binary_name = 0x7f44ee41d5e0 <_gnutls_log_level> >> "", setting_name = 0x0, >> ????????? filter_callback = 0x7f44ee395cfb, filter_context >> 0x756e654700000004, require_init_funcs = 1, debug = 0, >> ignore_dlopen_errors = 1, ignore_missing = 0} >> ??????? services = <optimized out> >> ??????? mod_set = <optimized out> >> ??????? services = <optimized out> >> #4? main (argc=<optimized out>, argv=<optimized out>) at main.c:396 >> ??????? c = <optimized out> >> >> >> On 24.01.2019 18:33, Aki Tuomi wrote: >>> This has been fixed with >>> >>> https://github.com/dovecot/core/commit/63a74b9e8e0604486a15a879e7f1a27257322400.patch >>> >>> Aki >>> >>