Package: patchage
Version: 1.0.0~dfsg0-0.2
Severity: normal

Dear Maintainer,

starting 'patchage' returns with an immediate segfault.

```
$ patchage
Loading UI file /usr/share/patchage/patchage.ui

(patchage:218384): Gdk-WARNING **: 15:45:09.414: gdk_window_set_icon_list: 
icons too large
No configuration file present
Segmentation fault
$
```

The problem seems to be related to ALSA, because if I disable the
ALSA-backend on startup (`patchage -A`), everything works OK.


here's a backtrace:

```
$ gdb --args patchage -J
[...]
Reading symbols from patchage...
Reading symbols from 
/usr/lib/debug/.build-id/92/920c0bd9ad33850cd419acc11fb1671295e012.debug...
(gdb) run
Starting program: /usr/bin/patchage -J
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loading UI file /usr/share/patchage/patchage.ui
[New Thread 0x7ffff4953700 (LWP 218804)]
[New Thread 0x7fffeffff700 (LWP 218805)]
[New Thread 0x7fffef7fe700 (LWP 218806)]
[New Thread 0x7fffeeffd700 (LWP 218807)]

(patchage:218800): Gdk-WARNING **: 15:47:10.930: gdk_window_set_icon_list: 
icons too large
No configuration file present
[New Thread 0x7ffff40e3a40 (LWP 218809)]

Thread 1 "patchage" received signal SIGSEGV, Segmentation fault.
0x00005555554371a0 in std::_Rb_tree<PortID const, std::pair<PortID const, 
PatchagePort*>, std::_Select1st<std::pair<PortID const, PatchagePort*> >, 
std::less<PortID const>, std::allocator<std::pair<PortID const, PatchagePort*> 
> >::_M_begin (this=0x88) at /usr/include/c++/7/bits/stl_tree.h:737
737     /usr/include/c++/7/bits/stl_tree.h: No such file or directory.
(gdb) bt
#0  0x00005555554371a0 in std::_Rb_tree<PortID const, std::pair<PortID const, 
PatchagePort*>, std::_Select1st<std::pair<PortID const, PatchagePort*> >, 
std::less<PortID const>, std::allocator<std::pair<PortID const, PatchagePort*> 
> >::_M_begin() (this=0x88) at /usr/include/c++/7/bits/stl_tree.h:737
#1  0x0000555555437bd9 in std::_Rb_tree<PortID const, std::pair<PortID const, 
PatchagePort*>, std::_Select1st<std::pair<PortID const, PatchagePort*> >, 
std::less<PortID const>, std::allocator<std::pair<PortID const, PatchagePort*> 
> >::_M_get_insert_unique_pos(PortID const&) (this=0x88, __k=...)
    at /usr/include/c++/7/bits/stl_tree.h:2032
#2  0x0000555555437045 in std::_Rb_tree<PortID const, std::pair<PortID const, 
PatchagePort*>, std::_Select1st<std::pair<PortID const, PatchagePort*> >, 
std::less<PortID const>, std::allocator<std::pair<PortID const, PatchagePort*> 
> >::_M_insert_unique<std::pair<PortID, PatchagePort*> >(std::pair<PortID, 
PatchagePort*>&&) (this=0x88, __v=...) at 
/usr/include/c++/7/bits/stl_tree.h:2090
#3  0x0000555555436470 in std::map<PortID const, PatchagePort*, 
std::less<PortID const>, std::allocator<std::pair<PortID const, PatchagePort*> 
> >::insert<std::pair<PortID, PatchagePort*>, void>(std::pair<PortID, 
PatchagePort*>&&)
    (this=0x88, __x=...) at /usr/include/c++/7/bits/stl_map.h:810
#4  0x00005555554359e8 in PatchageCanvas::index_port(PortID const&, 
PatchagePort*) (this=0x0, id=..., port=0x5555557233c0) at 
../src/PatchageCanvas.hpp:59
#5  0x0000555555450837 in AlsaDriver::create_port(PatchageModule&, 
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, bool, snd_seq_addr) (this=0x555555888e60,
--Type <RET> for more, q to quit, c to continue without paging--
    input=false, addr=...) at ../src/AlsaDriver.cpp:318
#6  0x0000555555450547 in AlsaDriver::create_port_view_internal(Patchage*, 
snd_seq_addr, PatchageModule*&, PatchagePort*&)
    (this=0x555555888e60, patchage=0x7fffffffddb0, addr=..., m=@0x7fffffffda48: 
0x555555858480, port=@0x7fffffffda40: 0x0) at ../src/AlsaDriver.cpp:294
#7  0x000055555544fb03 in AlsaDriver::refresh() (this=0x555555888e60) at 
../src/AlsaDriver.cpp:135
#8  0x0000555555428062 in Patchage::refresh() (this=0x7fffffffddb0) at 
../src/Patchage.cpp:456
#9  0x000055555542793e in Patchage::attach() (this=0x7fffffffddb0) at 
../src/Patchage.cpp:346
#10 0x0000555555427975 in Patchage::idle_callback() (this=0x7fffffffddb0) at 
../src/Patchage.cpp:355
#11 0x0000555555431642 in sigc::bound_mem_functor0<bool, 
Patchage>::operator()() const (this=0x5555558cd5d8) at 
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1991
#12 0x00005555554310dc in sigc::adaptor_functor<sigc::bound_mem_functor0<bool, 
Patchage> >::operator()() const (this=0x5555558cd5d0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#13 0x000055555543067b in 
sigc::internal::slot_call0<sigc::bound_mem_functor0<bool, Patchage>, 
bool>::call_it(sigc::internal::slot_rep*) (rep=0x5555558cd5a0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:114
#14 0x00007ffff6c68f42 in  () at /lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#15 0x00007ffff74f48f4 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff74f3d6f in g_main_context_dispatch () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff74f4118 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff74f440b in g_main_loop_run () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff7bf0b2a in gtk_main () at 
/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff71f85d6 in Gtk::Main::run(Gtk::Window&) () at 
/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1
#21 0x000055555544a140 in main(int, char**) (argc=2, argv=0x7fffffffe078) at 
../src/main.cpp:76
(gdb)
```

cheers.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages patchage depends on:
ii  libasound2                        1.2.4-1.1
ii  libatk1.0-0                       2.36.0-2
ii  libatkmm-1.6-1v5                  2.28.0-3
ii  libc6                             2.31-9
ii  libcairo2                         1.16.0-5
ii  libcairomm-1.0-1v5                1.12.2-4
ii  libfontconfig1                    2.13.1-4.2
ii  libfreetype6                      2.10.4+dfsg-1
ii  libganv-1-1v5                     1.8.0-1
ii  libgcc-s1 [libgcc1]               10.2.1-6
ii  libgdk-pixbuf2.0-0                2.40.2-2
ii  libglib2.0-0                      2.66.7-1
ii  libglibmm-2.4-1v5                 2.64.2-2
ii  libgtk2.0-0                       2.24.33-1
ii  libgtkmm-2.4-1v5                  1:2.24.5-4
ii  libjack-jackd2-0 [libjack-0.125]  1.9.17~dfsg-1
ii  libpango-1.0-0                    1.46.2-3
ii  libpangocairo-1.0-0               1.46.2-3
ii  libpangoft2-1.0-0                 1.46.2-3
ii  libpangomm-1.4-1v5                2.42.1-1
ii  libsigc++-2.0-0v5                 2.10.4-2
ii  libstdc++6                        10.2.1-6

Versions of packages patchage recommends:
ii  jackd  5+nmu1

Versions of packages patchage suggests:
pn  ladish  <none>

-- no debconf information

Reply via email to