[Touch-packages] [Bug 1668450] Re: perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on trusty

2017-03-07 Thread Mitch Capper
This is reported upstream now:
https://rt.perl.org/Public/Bug/Display.html?id=130949

** Bug watch added: rt.perl.org/Public/ #130949
   https://rt.perl.org/Public/Ticket/Display.html?id=130949

-- 
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/1668450

Title:
  perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on
  trusty

Status in perl package in Ubuntu:
  New

Bug description:
  For using perl in C++ programs unfortunately a simple call to
  perl_clone causes a segfault.  The problem does not happen on trusty,
  but does on later Ubuntu iterations.   Could be perl version (5.18 OK
  vs 5.22/5.24 newer that fault) but as each platform only supports one
  version of perl can't easily test the others.

  (gdb) run
  Starting program: /a.out
  b[Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

  Program received signal SIGSEGV, Segmentation fault.
  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  (gdb) bt
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10
  (gdb) Quit
  (gdb)
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10

  Sample system info from where broken:
  Description:Ubuntu 16.04.2 LTS
  Release:16.04
perl |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages
  libperl-dev |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages

  
  to reproduce with docker:
  docker run -t -i ubuntu:zesty bash
  docker run -t -i ubuntu:yakkety bash
  docker run -t -i ubuntu:xenial bash

  ok with:
  docker run -t -i ubuntu:trusty bash

  then some packages:
  apt-get update && apt-get install build-essential libperl-dev

  
  finally the attached test.c file place and compile with:

  
  and run with perl version:
  trusty: 
  gcc -g test.c -I/usr/lib/perl/5.18.2/CORE/ -lperl && ./a.out
  xenial/yakkety (yakkety might be 5.22.2):
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.22.1/CORE/ -lperl && ./a.out
  zesty:
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.24.1/CORE/ -lperl && ./a.out

  
  Others cause seg fault, trusty is fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1668450/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1668450] Re: perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on trusty

2017-02-27 Thread Mitch Capper
I can't close this, but it turns out this also happens on newer versions
of debian like stretch (with perl 5.24).  I had tried stable but that
only has 5.20, so it seems this may be new in the 5.22ish area.

-- 
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/1668450

Title:
  perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on
  trusty

Status in perl package in Ubuntu:
  New

Bug description:
  For using perl in C++ programs unfortunately a simple call to
  perl_clone causes a segfault.  The problem does not happen on trusty,
  but does on later Ubuntu iterations.   Could be perl version (5.18 OK
  vs 5.22/5.24 newer that fault) but as each platform only supports one
  version of perl can't easily test the others.

  (gdb) run
  Starting program: /a.out
  b[Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

  Program received signal SIGSEGV, Segmentation fault.
  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  (gdb) bt
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10
  (gdb) Quit
  (gdb)
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10

  Sample system info from where broken:
  Description:Ubuntu 16.04.2 LTS
  Release:16.04
perl |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages
  libperl-dev |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages

  
  to reproduce with docker:
  docker run -t -i ubuntu:zesty bash
  docker run -t -i ubuntu:yakkety bash
  docker run -t -i ubuntu:xenial bash

  ok with:
  docker run -t -i ubuntu:trusty bash

  then some packages:
  apt-get update && apt-get install build-essential libperl-dev

  
  finally the attached test.c file place and compile with:

  
  and run with perl version:
  trusty: 
  gcc -g test.c -I/usr/lib/perl/5.18.2/CORE/ -lperl && ./a.out
  xenial/yakkety (yakkety might be 5.22.2):
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.22.1/CORE/ -lperl && ./a.out
  zesty:
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.24.1/CORE/ -lperl && ./a.out

  
  Others cause seg fault, trusty is fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1668450/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1668450] [NEW] perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on trusty

2017-02-27 Thread Mitch Capper
Public bug reported:

For using perl in C++ programs unfortunately a simple call to perl_clone
causes a segfault.  The problem does not happen on trusty, but does on
later Ubuntu iterations.   Could be perl version (5.18 OK vs 5.22/5.24
newer that fault) but as each platform only supports one version of perl
can't easily test the others.

(gdb) run
Starting program: /a.out
b[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
(gdb) bt
#0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
#1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
#2  0x492d in main () at test.c:10
(gdb) Quit
(gdb)
#0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
#1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
#2  0x492d in main () at test.c:10

Sample system info from where broken:
Description:Ubuntu 16.04.2 LTS
Release:16.04
  perl |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages
libperl-dev |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages


to reproduce with docker:
docker run -t -i ubuntu:zesty bash
docker run -t -i ubuntu:yakkety bash
docker run -t -i ubuntu:xenial bash

ok with:
docker run -t -i ubuntu:trusty bash

then some packages:
apt-get update && apt-get install build-essential libperl-dev


finally the attached test.c file place and compile with:


and run with perl version:
trusty: 
gcc -g test.c -I/usr/lib/perl/5.18.2/CORE/ -lperl && ./a.out
xenial/yakkety (yakkety might be 5.22.2):
gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.22.1/CORE/ -lperl && ./a.out
zesty:
gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.24.1/CORE/ -lperl && ./a.out


Others cause seg fault, trusty is fine.

** Affects: perl (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "test file that segfaults"
   https://bugs.launchpad.net/bugs/1668450/+attachment/4827896/+files/test.c

-- 
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/1668450

Title:
  perl_clone of libperl causes segfault on xenial, yakkety, zesty ok on
  trusty

Status in perl package in Ubuntu:
  New

Bug description:
  For using perl in C++ programs unfortunately a simple call to
  perl_clone causes a segfault.  The problem does not happen on trusty,
  but does on later Ubuntu iterations.   Could be perl version (5.18 OK
  vs 5.22/5.24 newer that fault) but as each platform only supports one
  version of perl can't easily test the others.

  (gdb) run
  Starting program: /a.out
  b[Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

  Program received signal SIGSEGV, Segmentation fault.
  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  (gdb) bt
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10
  (gdb) Quit
  (gdb)
  #0  0x77a6f13a in Perl_padnamelist_dup () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #1  0x77adca9f in perl_clone () from 
/usr/lib/x86_64-linux-gnu/libperl.so.5.24
  #2  0x492d in main () at test.c:10

  Sample system info from where broken:
  Description:Ubuntu 16.04.2 LTS
  Release:16.04
perl |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages
  libperl-dev |   5.22.1-9 | http://archive.ubuntu.com/ubuntu xenial/main amd64 
Packages

  
  to reproduce with docker:
  docker run -t -i ubuntu:zesty bash
  docker run -t -i ubuntu:yakkety bash
  docker run -t -i ubuntu:xenial bash

  ok with:
  docker run -t -i ubuntu:trusty bash

  then some packages:
  apt-get update && apt-get install build-essential libperl-dev

  
  finally the attached test.c file place and compile with:

  
  and run with perl version:
  trusty: 
  gcc -g test.c -I/usr/lib/perl/5.18.2/CORE/ -lperl && ./a.out
  xenial/yakkety (yakkety might be 5.22.2):
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.22.1/CORE/ -lperl && ./a.out
  zesty:
  gcc -g test.c -I/usr/lib/x86_64-linux-gnu/perl/5.24.1/CORE/ -lperl && ./a.out

  
  Others cause seg fault, trusty is fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1668450/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe :