Bug#898075: jack: segfaults at start
Hello, apparently the character string generated in jack_cursesmodule that is passed to ncurses is invalid. I can't figure why this happen but I suspect an issue in the python binding in jack_cursesmodule. Hopefully you can bypass jack_cursesmodule to use the built-in ncurses python binding. It fixes the issue, and a patch is attached to this message. I think it's a viable solution because according to the documentation in the cursesmodule folder [1], the jack_cursesmodule is an old binding of ncurses: version 1.5b1 from before the release of python 2.0 [2] (see the version number at the beginning of jack_cursesmodule.c [3]). So, using the official binding from python is a much more reliable solution. In addition, I can provide a non-maintainer upload for this package and eventually maintain the package. Best Regards, François [1] https://sources.debian.org/src/jack/3.1.1+cvs20050801-29.2/cursesmodule/README.cursesmodule/ [2] https://invisible-island.net/ncurses/ncurses-python.html [3] https://sources.debian.org/src/jack/3.1.1+cvs20050801-29.2/cursesmodule/jack_cursesmodule.c/ Author: Francois Mazen Description: remove jack_cursesmodule, an obsolete curses binding Bug-Debian: https://bugs.debian.org/898075 --- a/setup.py +++ b/setup.py @@ -13,11 +13,6 @@ url = "http://www.home.unix-ag.org/arne/jack/;, # Description of the modules and packages in the distribution -ext_modules = [ Extension('jack_cursesmodule', -['cursesmodule/jack_cursesmodule.c'], libraries=["ncursesw"], -include_dirs=["/usr/include/ncursesw"], -extra_compile_args=["-Wno-strict-prototypes"]) ], - py_modules = [ 'jack_CDTime', 'jack_TOC', 'jack_TOCentry', 'jack_argv', 'jack_checkopts', 'jack_children', 'jack_config', 'jack_constants', 'jack_display', 'jack_encstuff', 'jack_freedb', 'jack_functions',
Bug#898075: jack: segfaults at start
Package: jack Version: 3.1.1+cvs20050801-29.2+b1 Severity: grave Justification: renders package unusable Hello! I have just found out that jack stopped working in Debian testing. Last time I used it (around last December, on an up-to-date Debian testing box), it worked without any glitch. Now, when I try to encode one audio CD (*any* audio CD, including one that was successfully encoded in the past), I just get a segfault, immediately after selecting which FreeDB entry I want to use (when there is a multiple choice): $ jack -Q [...] Segmentation fault My /var/log/kern.log says: May 6 19:44:10 HOSTNAME kernel: [36919.353320] jack[10063]: segfault at 7f89 ip 7f89ed5665c1 sp 7ffee93b2398 error 4 in libc-2.27.so[7f89ed40d000+1b1000] My configuration file is: $ cat ~/.jack3rc # jackrc-version:31 ripper:cdparanoia base_dir:~/music/CDs unusable_chars:[' ', '/', ':', '?', '|', '>', '<'] replacement_chars:['_', '_', '_', '_', '_', '_', '_'] in case it makes any difference. Could you please try to reproduce the bug and fix it and/or forward my bug report upstream, as appropriate? Thanks for your time! Bye. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (800, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages jack depends on: ii cdparanoia 3.10.2+debian-13 ii libc62.27-3 ii libncursesw6 6.1+20180210-2 ii libtinfo66.1+20180210-2 ii python 2.7.15~rc1-1 ii python-cddb 1.4-5.3 ii python-eyed3 0.8.4-2 ii python-pyvorbis 1.5-4 ii vorbis-tools 1.4.0-10.1 jack recommends no packages. jack suggests no packages. -- no debconf information