On Sat, Mar 09, 2019 at 03:59:22PM -0000, bugproxy wrote: > This perl script will cause an error on Ubuntu 19.04: > > # perl test.pl > Calling mblen with str=data > perl: mbrtowc.c:105: __mbrtowc: Assertion `__mbsinit (data.__statep)' failed. > Aborted
I've reported this bug upstream at https://rt.perl.org/Ticket/Display.html?id=133928 with a proposed patch. It's also https://bugs.debian.org/924517 -- Niko Tyni [email protected] ** Bug watch added: rt.perl.org/ #133928 https://rt.perl.org/Ticket/Display.html?id=133928 ** Bug watch added: Debian Bug tracker #924517 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924517 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/1818953 Title: mblen() failing in Perl / Perl core dumping core on UBUNTU 19.04 by executing perl script, multiple architectures Status in The Ubuntu-power-systems project: Confirmed Status in perl package in Ubuntu: Confirmed Bug description: == Comment: #0 - NAGENDRA P. DONTAMSETTY <[email protected]> - 2019-02-28 00:14:49 == ---Problem Description--- Perl core dumping core on UBUNTU 19.04 by executing perl script ---uname output--- root@p8ct1p13:/tmp# uname -a Linux p8ct1p13.in.ibm.com 4.19.0-13-generic #14-Ubuntu SMP Thu Feb 7 21:50:00 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux Machine Type = ppc64le and power8 ---Debugger Data--- root@p8ct1p13:/tmp# file core core: ELF 64-bit LSB core file, 64-bit PowerPC or cisco 7500, version 1 (SYSV), SVR4-style, from '/usr/bin/perl /usr/bin/mkrsrc IBM.Ray Name=fvt1 NodeNameList={p8ct1p09.in.ibm.c', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/bin/mkrsrc', platform: 'power8' ---Steps to Reproduce--- Description: Perl core dumpinmg core on UBUNTU 19.04 by exec cmd "mkrsrc" root@p8ct1p13:/tmp# uname -a Linux p8ct1p13.in.ibm.com 4.19.0-13-generic #14-Ubuntu SMP Thu Feb 7 21:50:00 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux root@p8ct1p13:~# cat /etc/os-release NAME="Ubuntu" VERSION="19.04 (Disco Dingo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Disco Dingo (development branch)" VERSION_ID="19.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=disco UBUNTU_CODENAME=disco root@p8ct1p13:~# ctversion -bv RSCT_Build_Name=rsholxs002a 3.2.4.2 RSCT_Build_Time=19043.16:11:49 RSCT_Build_Context=ppc64le_linux_2 root@p8ct1p13:/tmp# mkrsrc IBM.Ray Name="fvt1" NodeNameList={"p8ct1p09.in.ibm.com"} ManualMode=0 Int32=00 String="Initial Test String 2" perl: mbrtowc.c:105: __mbrtowc: Assertion `__mbsinit (data.__statep)' failed. Aborted (core dumped) root@p8ct1p13:/tmp# file core core: ELF 64-bit LSB core file, 64-bit PowerPC or cisco 7500, version 1 (SYSV), SVR4-style, from '/usr/bin/perl /usr/bin/mkrsrc IBM.Ray Name=fvt1 NodeNameList={p8ct1p09.in.ibm.c', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/bin/mkrsrc', platform: 'power8' root@p8ct1p13:/tmp# which mkrsrc /usr/bin/mkrsrc root@p8ct1p13:/tmp# file /usr/bin/mkrsrc /usr/bin/mkrsrc: symbolic link to /opt/rsct/bin/mkrsrc root@p8ct1p13:/tmp# file /opt/rsct/bin/mkrsrc /opt/rsct/bin/mkrsrc: Perl script text executable Contact Information = Nagendra Dontamsetty/[email protected], Anirban/[email protected] Userspace tool common name: perl 5 The userspace tool has the following bit modes: 64bit Userspace rpm: ii perl 5.28.1-4 ppc64el Userspace tool obtained from project website: na *Additional Instructions for Nagendra Dontamsetty/[email protected], Anirban/[email protected]: -Post a private note with access information to the machine that is currently in the debugger. -Attach ltrace and strace of userspace application. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1818953/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

