Bug#913632: connmand service segfaults on start after iwd-0.10 package upgrade

2018-11-18 Thread Alf Gaida
if one want to use connman with iwd it might be a good idea - will have
a look

Thanks Alf



signature.asc
Description: OpenPGP digital signature


Bug#913632: Bug #913632: connmand service segfaults on start after iwd-0.10 package upgrade

2018-11-17 Thread Bernhard Übelacker
Hello,
just for completeness, the backtrace above points to these functions:

 backtrace 
#0  0x7efd7c3dbfc0 in /lib/x86_64-linux-gnu/libc.so.6| 
#1  0x556a4c101217 in /usr/sbin/connmand |  
 0x556460d38217 
:repz cmpsb %es:(%rdi),%ds:(%rsi); 
iwd.c:101 if (!strcmp(str, "connected"))
#2  0x556a4c101773 in /usr/sbin/connmand | 
0x556460d38773 :   0x556460d3876e 
:  callq  0x556460d38200 
#3  0x556a4c1676df in /usr/sbin/connmand | 
0x556460d9e6df :0x556460d9e6dd 
:   callq  *%rax
#4  0x556a4c168ae8 in /usr/sbin/connmand | 
0x556460d9fae8 :   0x556460d9fae3 
:  callq  0x556460d9e5b0 
#5  0x7efd7c720ada in /lib/x86_64-linux-gnu/libdbus-1.so.3   | 
0x7feb54801ada : 0x7feb54801ad5 
:callq  0x7feb548158a0 
<_dbus_pending_call_finish_completion>
#6  0x7efd7c724448 in /lib/x86_64-linux-gnu/libdbus-1.so.3   | 
0x7feb54805448 :0x7feb54805443 
:   callq  0x7feb54801aa0 

#7  0x556a4c162780 in /usr/sbin/connmand | 
0x556460d99780 : 0x556460d9977b 
:callq  0x556460d186f0 
#8  0x7efd7c7adae8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 | 
0x7feb5488eae8 : 0x7feb5488eae5 
:callq  *%r15
#9  0x7efd7c7aded8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 | 
0x7feb5488eed8 :  0x7feb5488eed3 
: callq  0x7feb5488e990 

#10 0x7efd7c7ae1d2 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 | 
0x7feb5488f1d2 : 0x7feb5488f1cd 
:callq  0x7feb5488ecd0 
#11 0x556a4c0e2868 in /usr/sbin/connmand | 
0x556460d19868 :0x556460d19863 
:   callq  0x556460d18a70 
#12 0x7efd7c3c8b17 in /lib/x86_64-linux-gnu/libc.so.6| 
+++

Kind regards,
Bernhard



Bug#913632: connmand service segfaults on start after iwd-0.10 package upgrade

2018-11-13 Thread Sergey Popov
Package: connman
Version: 1.36-1
Severity: normal
Tags: patch

Dear Maintainer,

Since iwd-0.10-1 is now in sid and buster, connmand is no longer able to
start. The issue is already fixed in upstream 
(https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=bc97d6602f7991e8c36252dae15673fb0b250d00),
 but there's no release
yet. Probably the patch should be included in the debian package?

Here's an excerpt fron commnand startup log:

connmand[4694]: Connection Manager version 1.36
connmand[4694]: Checking loopback interface settings
connmand[4694]: System hostname is thinkpad
connmand[4694]: __connman_inet_get_pnp_nameservers: Cannot read /proc/net/pnp 
Failed to open file “/proc/net/pnp”: No such file or directory
connmand[4694]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
connmand[4694]: lo {newlink} index 1 operstate 0 
connmand[4694]: enp0s31f6 {create} index 2 type 1 
connmand[4694]: enp0s31f6 {update} flags 4098 
connmand[4694]: enp0s31f6 {newlink} index 2 address 50:7B:9D:CC:93:32 mtu 1500
connmand[4694]: enp0s31f6 {newlink} index 2 operstate 2 
connmand[4694]: Adding interface enp0s31f6 [ ethernet ]
connmand[4694]: wlp3s0 {create} index 3 type 1 
connmand[4694]: wlp3s0 {RX} 12982 packets 11512328 bytes
connmand[4694]: wlp3s0 {TX} 7715 packets 1198041 bytes
connmand[4694]: wlp3s0 {update} flags 36866 
connmand[4694]: wlp3s0 {newlink} index 3 address 44:85:00:73:44:F7 mtu 1500
connmand[4694]: wlp3s0 {newlink} index 3 operstate 2 
connmand[4694]: Adding interface wlp3s0 [ wifi ]
connmand[4694]: docker0 {create} index 4 type 1 
connmand[4694]: docker0 {update} flags 36866 
connmand[4694]: docker0 {newlink} index 4 address 02:42:6D:BC:45:F8 mtu 1500
connmand[4694]: docker0 {newlink} index 4 operstate 2 
connmand[4694]: wlp3s0 {RX} 12982 packets 11512328 bytes
connmand[4694]: wlp3s0 {TX} 7715 packets 1198041 bytes
connmand[4694]: wlp3s0 {update} flags 36867 
connmand[4694]: wlp3s0 {newlink} index 3 address 44:85:00:73:44:F7 mtu 1500
connmand[4694]: wlp3s0 {newlink} index 3 operstate 2 
connmand[4694]: Aborting (signal 11) [/usr/sbin/connmand]
connmand[4694]:  backtrace 
connmand[4694]: #0  0x7efd7c3dbfc0 in /lib/x86_64-linux-gnu/libc.so.6
connmand[4694]: #1  0x556a4c101217 in /usr/sbin/connmand
connmand[4694]: #2  0x556a4c101773 in /usr/sbin/connmand
connmand[4694]: #3  0x556a4c1676df in /usr/sbin/connmand
connmand[4694]: #4  0x556a4c168ae8 in /usr/sbin/connmand
connmand[4694]: #5  0x7efd7c720ada in /lib/x86_64-linux-gnu/libdbus-1.so.3
connmand[4694]: #6  0x7efd7c724448 in /lib/x86_64-linux-gnu/libdbus-1.so.3
connmand[4694]: #7  0x556a4c162780 in /usr/sbin/connmand
connmand[4694]: #8  0x7efd7c7adae8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
connmand[4694]: #9  0x7efd7c7aded8 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
connmand[4694]: #10 0x7efd7c7ae1d2 in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
connmand[4694]: #11 0x556a4c0e2868 in /usr/sbin/connmand
connmand[4694]: #12 0x7efd7c3c8b17 in /lib/x86_64-linux-gnu/libc.so.6
connmand[4694]: +++





-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_NZ:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages connman depends on:
ii  dbus  1.12.10-1
ii  iptables  1.8.1-2
ii  libc6 2.27-8
ii  libdbus-1-3   1.12.10-1
ii  libglib2.0-0  2.58.1-2
ii  libgnutls30   3.5.19-1+b1
ii  libreadline7  7.0-5
ii  libxtables12  1.8.1-2
ii  lsb-base  9.20170808

Versions of packages connman recommends:
ii  bluez  5.50-1
ii  iwd0.10-1
ii  ofono  1.21-1
ii  wpasupplicant  2:2.6-18

Versions of packages connman suggests:
ii  connman-vpn  1.36-1

-- no debconf information