Bug#840481: singular-ui: segfault when piping to stdin

2016-10-12 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, thanks for your report.

On 11/10/16 23:43, Ximin Luo wrote:
> Package: singular-ui
> Version: 4.0.3-p3+ds-1
> Severity: important
> 
> Dear Maintainer,
> 
> Some extra Sagemath test cases are failing since we upgraded to Singular 4;
> minimal test case:
> 
> $ echo '12345*54321;' | Singular
> [ fails spectacularly ]
> 
> but it works if you run `Singular` and type it in manually. Presumably the 
> pipe
> version also worked with Singular 3 before.

Rebuilding the package against readline6 resolves the issue:
so it seems to be a readline6 to readline7 migration issue:
I am digging it.

Thanks,
Jerome


> 
> X
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages singular-ui depends on:
> ii  libc6   2.24-3
> ii  libflint-2.5.2  2.5.2-9
> ii  libgcc1 1:6.1.1-11
> ii  libgmp102:6.1.1+dfsg-1
> ii  libmpfr43.1.5-1
> ii  libntl279.9.1-3
> ii  libreadline77.0-1
> ii  libsingular44.0.3-p3+ds-1
> ii  libstdc++6  6.1.1-11
> ii  libtinfo5   6.0+20160917-1
> ii  singular-data   4.0.3-p3+ds-1
> 
> Versions of packages singular-ui recommends:
> ii  singular-modules  4.0.3-p3+ds-1
> 
> Versions of packages singular-ui suggests:
> pn  singular-doc  
> 
> -- no debconf information
> 

- -- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calcu...@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B
-BEGIN PGP SIGN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FtSESoVOG+MDr/0QMIixHe0HCQO5ZL6T6wCl8Y53PkdN8fMZ+
vG+CzI7hSH0Fhj36YrwEzBWWKYgxi/PYoVCYK8yT9YCCRX91okQnCAiTglCdrCNk
7vAeuHocEo06QRTdJKan2AStg7neSfASx7KRiA1n46aKTE4GLX0oGUr+RHKww3RT
sZ1rYKuFYAgTVCOMFPYtQVhyQIQlFvb+AYz6PK4A0mG+MQIaFAbo8vvGkZ/Oo3y2
S6pYGikXJzQaC1n729O6NcwSRKOnBLfYcCKJwINCGI4RgOVMuJmGlhBN/F+8KqnC
venUA0FTTW8goc/W8lJpM3deNj9UtxMRGCFzNpobg8dJzGHIuUQ6+QADzT45fSY=
=Bzg4
-END PGP SIGNATURE-



Bug#840481: [Debian-science-sagemath] Bug#840481: singular-ui: segfault when piping to stdin

2016-10-11 Thread Ximin Luo
Control: tags -1 upstream
Control: forwarded -1 https://www.singular.uni-kl.de:8005/trac/ticket/775

Ximin Luo:
> Package: singular-ui
> Version: 4.0.3-p3+ds-1
> Severity: important
> 
> Dear Maintainer,
> 
> Some extra Sagemath test cases are failing since we upgraded to Singular 4;
> minimal test case:
> 
> $ echo '12345*54321;' | Singular
> [ fails spectacularly ]
> 
> but it works if you run `Singular` and type it in manually. Presumably the 
> pipe
> version also worked with Singular 3 before.
> 

Workaround is to call `Singular -b` instead of `Singular`; I will prepare a 
patch for Sage shortly.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



Bug#840481: singular-ui: segfault when piping to stdin

2016-10-11 Thread Ximin Luo
Package: singular-ui
Version: 4.0.3-p3+ds-1
Severity: important

Dear Maintainer,

Some extra Sagemath test cases are failing since we upgraded to Singular 4;
minimal test case:

$ echo '12345*54321;' | Singular
[ fails spectacularly ]

but it works if you run `Singular` and type it in manually. Presumably the pipe
version also worked with Singular 3 before.

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages singular-ui depends on:
ii  libc6   2.24-3
ii  libflint-2.5.2  2.5.2-9
ii  libgcc1 1:6.1.1-11
ii  libgmp102:6.1.1+dfsg-1
ii  libmpfr43.1.5-1
ii  libntl279.9.1-3
ii  libreadline77.0-1
ii  libsingular44.0.3-p3+ds-1
ii  libstdc++6  6.1.1-11
ii  libtinfo5   6.0+20160917-1
ii  singular-data   4.0.3-p3+ds-1

Versions of packages singular-ui recommends:
ii  singular-modules  4.0.3-p3+ds-1

Versions of packages singular-ui suggests:
pn  singular-doc  

-- no debconf information