[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916179: roger-router: selecting Preferences makes the program hang



Hello Marc Lehmann,
are you able to reproduce this hang on a installation
with just stretch package versions, too.
(Or maybe on a buster installation)
I ask because at least following packages are more current as
the plain stretch versions:

                    | versions reported | currently in stretch
libatk1.0-0         | 2.30.0-1          | 2.22.0-1
libc6               | 2.27-8            | 2.24-11+deb9u3
libcairo-gobject2   | 1.16.0-1          | 1.14.8-1
libcairo2           | 1.16.0-1          | 1.14.8-1
libglib2.0-0        | 2.58.1-2          | 2.50.3-2
libgtk-3-0          | 3.24.1-2          | 3.22.11-1
libjson-glib-1.0-0  | 1.4.4-1           | 1.2.6-1
libpango-1.0-0      | 1.42.4-4          | 1.40.5-1
libpangocairo-1.0-0 | 1.42.4-4          | 1.40.5-1
libsoup2.4-1        | 2.64.2-1          | 2.56.0-2+deb9u2

Even when upgrading these packages inside my test VM
I could not reproduce this hang, therefore if it is not
related to the package versions it may be related to your
sound equipment ...

----

... after some more trying I found that I could reproduce a quite
matching hang when I use following sequence (with just stretch packages):

    export PULSE_BINARY=/not-existing
    pulseaudio -k
    roger

That effectively avoids the start of the pulseaudio daemon.
(except when some other application would restart it.)
Therefore another thing to check would be if there is really an
pulseaudio daemon running on your system? Do you start roger with some
other environments that prevent the connection to the daemon?

Kind regards,
Bernhard
# stretch amd64 qemu VM, with -soundhw hda


apt update
apt dist-upgrade

apt install mc dpkg-dev devscripts gdb xserver-xorg lightdm openbox pulseaudio dbus-x11 roger-router roger-router-dbgsym roger-router-cli-dbgsym


systemctl start lightdm

adduser benutzer fax



mkdir roger-router/orig -p
cd    roger-router/orig
apt source roger-router
cd ../..



export LANG=C
export DISPLAY=:0
export PULSE_BINARY=/not-existing
pulseaudio -k
roger


# open preferences - hangs



benutzer@debian:~$ gdb -q --pid 22998
Attaching to process 22998
[New LWP 23002]
[New LWP 23004]
[New LWP 23005]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fbb11753741 in __GI_ppoll (fds=0x562a7b666750, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
39      ../sysdeps/unix/sysv/linux/ppoll.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007fbb11753741 in __GI_ppoll (fds=0x562a7b666750, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fbaf77b154d in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fbaf77b1b3e in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fbaf7be53d9 in pulse_get_device_list (input=0x7fbaf7de7240 <input_device_list>, output=0x7fbaf7dea2c0 <output_device_list>) at pulseaudio.c:247
#4  pulse_audio_detect_devices () at pulseaudio.c:263
#5  0x0000562a7a716219 in plugin_combobox_changed_cb (box=<optimized out>, user_data=<optimized out>) at pref_audio.c:74
#6  0x00007fbb1299af75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007fbb129acf82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fbb129b5bdc in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fbb129b5fbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fbb147d515b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007fbb147d7618 in gtk_combo_box_set_active_iter () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#12 0x00007fbb147d8b40 in gtk_combo_box_set_active_id () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#13 0x00007fbb129a318b in g_object_set_property () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007fbb12f1a9c3 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x00007fbb12f1d6c0 in g_settings_bind_with_mapping () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x00007fbb12f1d93a in g_settings_bind () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x0000562a7a7166a2 in pref_page_audio () at pref_audio.c:168
#18 0x0000562a7a71461f in preferences () at pref.c:140
#19 0x00007fbb1299af75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007fbb129acf82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007fbb129b5bdc in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007fbb129b5fbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007fbb12eb9705 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#24 0x00007fbb1476f0be in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007fbb1476f0f4 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007fbb1476f0f4 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007fbb148c7fc6 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#28 0x00007fbb1299af75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007fbb129acf82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007fbb129b5bdc in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007fbb129b5fbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007fbb149f6a7e in gtk_widget_activate () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#33 0x00007fbb148c48a6 in gtk_menu_shell_activate_item () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#34 0x00007fbb148c4bdb in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007fbb148a7ba1 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007fbb1299b1a4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007fbb129b53a1 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007fbb129b5fbf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007fbb149f457c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#40 0x00007fbb148a4b2e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#41 0x00007fbb148a6bee in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007fbb143b7e15 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#43 0x00007fbb143e8ea2 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#44 0x00007fbb126c17f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fbb126c1a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fbb126c1b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fbb12eb172d in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#48 0x0000562a7a7075f3 in main (argc=1, argv=0x7ffc54bdc2a8) at main_ui.c:67

Reply to: