Author Topic: Kernel SEGFALT when login on roundcube (limysqlclient.so.21.2.35)  (Read 4936 times)

Offline julio7000

  • Newbie
  • *
  • Posts: 3
===============
Linux Ubuntu 22.04
roundcubemail-1.6.5
mariadb  Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
===============

Hi.
When I try to log in the Roundcube Webmail, always gives kernel segfault error 4 in the libmysqlclient.so library. Here is the errors in Syslog:

Nov 24 16:09:56 Mail-ovh RoundCube: <k9aon6QP> Failed login for xxx@example.com.br from 201.92.219.184 In session k9aon6qpc6umnlbv (error: 1)

Nov 24 16:10:06 Mail-ovh Kernel: [1131.709868] DICT [2374]: SEGFAULT AT B8 IP 00007F4190F45C1 SP 00007FD6666F3180 ERROR 4 IN LIBMYSQLCLIENT.SO.21.2.35 [7F4419071000+8C000]

Nov 24 16:10:06 MAIL-OVH KERNEL: [1131.709882] Code: 84 00 00 00 00 00 0F 00 F3 0F 1E FA 55 48 8D 04 48 89 E5 41 57 4C 8D 0A 41 56 41 54 54 53 48 83 EC 18 48 89 45 C8 <48> 8b 87 B8 00 00 48 89 75 C0 4C 8b 60 08 4c 39 FA 0F 83 79 01

Any suggestions on how to solve this problem?

Thank you in advance.

Offline julio7000

  • Newbie
  • *
  • Posts: 3
Re: Kernel SEGFALT when login on roundcube (limysqlclient.so.21.2.35)
« Reply #1 on: November 27, 2023, 12:18:00 PM »
Forgot to say that all other aplications runs fine, like phpmyadmin and postfixadmin.

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Kernel SEGFALT when login on roundcube (limysqlclient.so.21.2.35)
« Reply #2 on: November 27, 2023, 12:43:06 PM »
This isn't going to be a problem in Roundcube no SQL query should ever cause the sql client to segfault. Your problem is either with the sql client or server or possibly how there packaged for your os. The one thing I noticed is that you said you're using mariadb but the segfault is coming from libmysqlclient so you may need to switch to libmariadbclient. That said your likely going to get better support asking on a form either for your OS or for mariadb since that is where the problem is coming from.

Offline julio7000

  • Newbie
  • *
  • Posts: 3
[SOLVED] Re: Kernel SEGFALT when login on roundcube (limysqlclient.so.21.2.35)
« Reply #3 on: November 27, 2023, 02:42:46 PM »
Hi SKaero.
You are write.
Solved!
The problem was a password mismach on dovecot acces to mariadb.

Corrected the files:
dovecot-last-login.conf
dovecot-share-folder.conf
dovecot-used-quota.conf

Now roundcube is working!!

Thank you and sorry for the noise.