Re: Clamd core dumps
10.08.16 15:47, Kubilay Kocak пишет: > Change should also be MFH'd if the quarterly version is affected > Done by r419990, r419991 > On 10 Aug 2016, at 12:26 PM, Renato Botelho <ga...@freebsd.org > <mailto:ga...@freebsd.org>> wrote: > >> Thanks! Please go ahead and commit it. >> >> >> Em 09/08/2016 23:23, "Dima Panov" <flu...@freebsd.org >> <mailto:flu...@freebsd.org>> escreveu: >> >> 10.08.16 0:20, Kubilay Kocak пишет: >> > On 9/08/2016 11:07 AM, Dima Panov wrote: >> >> 09.08.16 10:05, Doug Hardie пишет: >> >>> I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav >> worked fine on 9.3. However, after upgrading it and reinstalling >> the package clamd core dumps just after reading all the >> signatures. Ktrace shows nothing other than the sig 11. I then >> built clamav from ports so I would have source. The bt from the >> core dump shows: >> >>> >> >>> #0 0x000800f94b09 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #1 0x0008010e7d2b in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #2 0x000800d3eee9 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #3 0x000800d5ebd3 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #4 0x000800d5e256 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #5 0x000800d5df16 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #6 0x000800d03283 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #7 0x000800d034a4 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> >>> #8 0x000800c118d0 in cli_pcre_scanbuf () from >> /usr/local/lib/libclamav.so.7 >> >>> #9 0x000800b675e8 in cli_bytecode_prepare2 () from >> /usr/local/lib/libclamav.so.7 >> >>> #10 0x000800aba3b9 in cl_engine_compile () from >> /usr/local/lib/libclamav.so.7 >> >>> #11 0x00408fec in main () >> >>> >> >>> I am going to try rebuilding with symbols. >> >>> >> >>> Any ideas what is causing this or how to get around it? >> >>> >> >>> pkg is clamav-milter-0.99.2 >> >>> >> >> >> >> Let me guess. ClamAV was built with LLVM/Jit support? It's >> broken for >> >> now as Clamav can use only LLVM <3.7 and base system provide >> llvm 3.8. >> >> >> >> Try to rebuild without LLVM/Jit, this solved crashdumps for me. >> >> >> >> >> > >> > Dima, >> > >> > Should we set BROKEN on OSVERSION > X with that option? >> > >> >> Nope. Right solution is use a proper LLVM from ports instead of >> bundled >> (very limited) to build Jit engine. >> >> Found it yesterday and filled a PR: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211683 >> <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211683> >> >> Solution is works for me at two mailservers under 11.0-BETA4 and >> 10.3-REL. >> >> >> CC'ed to: garga@ (maintainer) >> -- Dima Panov (flu...@freebsd.org) (X11, KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov IRC: fluffy@EFNet, fluffykhv@FreeNode signature.asc Description: OpenPGP digital signature
Re: Clamd core dumps
Change should also be MFH'd if the quarterly version is affected -- Regards, Kubilay Kocak > On 10 Aug 2016, at 12:26 PM, Renato Botelho <ga...@freebsd.org> wrote: > > Thanks! Please go ahead and commit it. > > > Em 09/08/2016 23:23, "Dima Panov" <flu...@freebsd.org> escreveu: >> 10.08.16 0:20, Kubilay Kocak пишет: >> > On 9/08/2016 11:07 AM, Dima Panov wrote: >> >> 09.08.16 10:05, Doug Hardie пишет: >> >>> I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked >> >>> fine on 9.3. However, after upgrading it and reinstalling the package >> >>> clamd core dumps just after reading all the signatures. Ktrace shows >> >>> nothing other than the sig 11. I then built clamav from ports so I >> >>> would have source. The bt from the core dump shows: >> >>> >> >>> #0 0x000800f94b09 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #1 0x0008010e7d2b in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #2 0x000800d3eee9 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #3 0x000800d5ebd3 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #4 0x000800d5e256 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #5 0x000800d5df16 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #6 0x000800d03283 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #7 0x000800d034a4 in cli_printcxxver () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #8 0x000800c118d0 in cli_pcre_scanbuf () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #9 0x000800b675e8 in cli_bytecode_prepare2 () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #10 0x000800aba3b9 in cl_engine_compile () from >> >>> /usr/local/lib/libclamav.so.7 >> >>> #11 0x00408fec in main () >> >>> >> >>> I am going to try rebuilding with symbols. >> >>> >> >>> Any ideas what is causing this or how to get around it? >> >>> >> >>> pkg is clamav-milter-0.99.2 >> >>> >> >> >> >> Let me guess. ClamAV was built with LLVM/Jit support? It's broken for >> >> now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. >> >> >> >> Try to rebuild without LLVM/Jit, this solved crashdumps for me. >> >> >> >> >> > >> > Dima, >> > >> > Should we set BROKEN on OSVERSION > X with that option? >> > >> >> Nope. Right solution is use a proper LLVM from ports instead of bundled >> (very limited) to build Jit engine. >> >> Found it yesterday and filled a PR: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211683 >> >> Solution is works for me at two mailservers under 11.0-BETA4 and 10.3-REL. >> >> >> CC'ed to: garga@ (maintainer) >> >> -- >> Dima Panov (flu...@freebsd.org) >> (X11, KDE, Office)@FreeBSD team >> >> Facebook: http://www.facebook.com/fluffy.khv >> twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov >> IRC: fluffy@EFNet, fluffykhv@FreeNode ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clamd core dumps
10.08.16 0:20, Kubilay Kocak пишет: > On 9/08/2016 11:07 AM, Dima Panov wrote: >> 09.08.16 10:05, Doug Hardie пишет: >>> I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked fine >>> on 9.3. However, after upgrading it and reinstalling the package clamd >>> core dumps just after reading all the signatures. Ktrace shows nothing >>> other than the sig 11. I then built clamav from ports so I would have >>> source. The bt from the core dump shows: >>> >>> #0 0x000800f94b09 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #1 0x0008010e7d2b in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #2 0x000800d3eee9 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #3 0x000800d5ebd3 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #4 0x000800d5e256 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #5 0x000800d5df16 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #6 0x000800d03283 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #7 0x000800d034a4 in cli_printcxxver () from >>> /usr/local/lib/libclamav.so.7 >>> #8 0x000800c118d0 in cli_pcre_scanbuf () from >>> /usr/local/lib/libclamav.so.7 >>> #9 0x000800b675e8 in cli_bytecode_prepare2 () from >>> /usr/local/lib/libclamav.so.7 >>> #10 0x000800aba3b9 in cl_engine_compile () from >>> /usr/local/lib/libclamav.so.7 >>> #11 0x00408fec in main () >>> >>> I am going to try rebuilding with symbols. >>> >>> Any ideas what is causing this or how to get around it? >>> >>> pkg is clamav-milter-0.99.2 >>> >> >> Let me guess. ClamAV was built with LLVM/Jit support? It's broken for >> now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. >> >> Try to rebuild without LLVM/Jit, this solved crashdumps for me. >> >> > > Dima, > > Should we set BROKEN on OSVERSION > X with that option? > Nope. Right solution is use a proper LLVM from ports instead of bundled (very limited) to build Jit engine. Found it yesterday and filled a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211683 Solution is works for me at two mailservers under 11.0-BETA4 and 10.3-REL. CC'ed to: garga@ (maintainer) -- Dima Panov (flu...@freebsd.org) (X11, KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov IRC: fluffy@EFNet, fluffykhv@FreeNode signature.asc Description: OpenPGP digital signature
Re: Clamd core dumps
I would try it with gcc, if llvm not works. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clamd core dumps
Kubilay Kocak wrote: On 9/08/2016 11:07 AM, Dima Panov wrote: Let me guess. ClamAV was built with LLVM/Jit support? It's broken for now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. Try to rebuild without LLVM/Jit, this solved crashdumps for me. Should we set BROKEN on OSVERSION > X with that option? ___ I would suggest that is the correct way to do it. -- Michelle Sullivan http://www.mhix.org/ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clamd core dumps
Kubilay Kocak <ko...@freebsd.org> wrote: > On 9/08/2016 11:07 AM, Dima Panov wrote: >> 09.08.16 10:05, Doug Hardie пишет: >>> I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked fine >>> on 9.3. However, after upgrading it and reinstalling the package clamd >>> core dumps just after reading all the signatures. […] >> Let me guess. ClamAV was built with LLVM/Jit support? It's broken for >> now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. >> >> Try to rebuild without LLVM/Jit, this solved crashdumps for me. > Dima, > > Should we set BROKEN on OSVERSION > X with that option? ClamAV is widely used, thus many will run into this issue after upgrading to 11 (as I did as well). I am not that much familiar with possible implications if set to BROKEN, and I do not know why one would need Jit support either, but I do recommend that this needed modification to an option should be mentioned in /usr/ports/UPDATING. Regards, Michael ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clamd core dumps
On 9/08/2016 11:07 AM, Dima Panov wrote: > 09.08.16 10:05, Doug Hardie пишет: >> I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked fine on >> 9.3. However, after upgrading it and reinstalling the package clamd core >> dumps just after reading all the signatures. Ktrace shows nothing other >> than the sig 11. I then built clamav from ports so I would have source. >> The bt from the core dump shows: >> >> #0 0x000800f94b09 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #1 0x0008010e7d2b in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #2 0x000800d3eee9 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #3 0x000800d5ebd3 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #4 0x000800d5e256 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #5 0x000800d5df16 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #6 0x000800d03283 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #7 0x000800d034a4 in cli_printcxxver () from >> /usr/local/lib/libclamav.so.7 >> #8 0x000800c118d0 in cli_pcre_scanbuf () from >> /usr/local/lib/libclamav.so.7 >> #9 0x000800b675e8 in cli_bytecode_prepare2 () from >> /usr/local/lib/libclamav.so.7 >> #10 0x000800aba3b9 in cl_engine_compile () from >> /usr/local/lib/libclamav.so.7 >> #11 0x00408fec in main () >> >> I am going to try rebuilding with symbols. >> >> Any ideas what is causing this or how to get around it? >> >> pkg is clamav-milter-0.99.2 >> > > Let me guess. ClamAV was built with LLVM/Jit support? It's broken for > now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. > > Try to rebuild without LLVM/Jit, this solved crashdumps for me. > > Dima, Should we set BROKEN on OSVERSION > X with that option? ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Clamd core dumps
09.08.16 10:05, Doug Hardie пишет: > I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked fine on > 9.3. However, after upgrading it and reinstalling the package clamd core > dumps just after reading all the signatures. Ktrace shows nothing other than > the sig 11. I then built clamav from ports so I would have source. The bt > from the core dump shows: > > #0 0x000800f94b09 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #1 0x0008010e7d2b in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #2 0x000800d3eee9 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #3 0x000800d5ebd3 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #4 0x000800d5e256 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #5 0x000800d5df16 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #6 0x000800d03283 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #7 0x000800d034a4 in cli_printcxxver () from > /usr/local/lib/libclamav.so.7 > #8 0x000800c118d0 in cli_pcre_scanbuf () from > /usr/local/lib/libclamav.so.7 > #9 0x000800b675e8 in cli_bytecode_prepare2 () from > /usr/local/lib/libclamav.so.7 > #10 0x000800aba3b9 in cl_engine_compile () from > /usr/local/lib/libclamav.so.7 > #11 0x00408fec in main () > > I am going to try rebuilding with symbols. > > Any ideas what is causing this or how to get around it? > > pkg is clamav-milter-0.99.2 > Let me guess. ClamAV was built with LLVM/Jit support? It's broken for now as Clamav can use only LLVM <3.7 and base system provide llvm 3.8. Try to rebuild without LLVM/Jit, this solved crashdumps for me. -- Dima Panov (flu...@freebsd.org) (X11, KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov IRC: fluffy@EFNet, fluffykhv@FreeNode signature.asc Description: OpenPGP digital signature
Clamd core dumps
I just upgraded a mail server from 9.3 to 11.0-BETA4. clamav worked fine on 9.3. However, after upgrading it and reinstalling the package clamd core dumps just after reading all the signatures. Ktrace shows nothing other than the sig 11. I then built clamav from ports so I would have source. The bt from the core dump shows: #0 0x000800f94b09 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #1 0x0008010e7d2b in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #2 0x000800d3eee9 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #3 0x000800d5ebd3 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #4 0x000800d5e256 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #5 0x000800d5df16 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #6 0x000800d03283 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #7 0x000800d034a4 in cli_printcxxver () from /usr/local/lib/libclamav.so.7 #8 0x000800c118d0 in cli_pcre_scanbuf () from /usr/local/lib/libclamav.so.7 #9 0x000800b675e8 in cli_bytecode_prepare2 () from /usr/local/lib/libclamav.so.7 #10 0x000800aba3b9 in cl_engine_compile () from /usr/local/lib/libclamav.so.7 #11 0x00408fec in main () I am going to try rebuilding with symbols. Any ideas what is causing this or how to get around it? pkg is clamav-milter-0.99.2 — Doug ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"