[Touch-packages] [Bug 1941981] [NEW] busybox ed jumps line on insert

2021-08-28 Thread karlsebal
Public bug reported:

Busybox‘s implementation of `ed` skips a line when inserting. It will
insert the first line before and all subsequent lines after the line
addressed.

gnu ed implementation behaves like expected:

```
$ ed
i
one
two
three
four
five
.
,p
one
two
three
four
five
1
one
i
ione
itwo
ithree
ifive
.
,p
ione
itwo
ithree
ifive
one
two
three
four
five
Q
```

The lines »ione« through »ifive« are inserted before the line »one«. But
busybox’s behaviour differs:

```
$ busybox ed
: i
one
two
three
four
five
.
: ,p
one
two
three
four
five
: 1
one
: i
ione
itwo
ithree
ifour
ifive
.
: ,p
ione
one
itwo
ithree
ifour
ifive
two
three
four
five
: q
Really quit? y
```

The line »ione« is inserted before »one« and the lines »itwo« through
»ifive« are appended after »one«. However, `append` works as expected.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: busybox (not installed)
ProcVersionSignature: Ubuntu 5.4.0-81.91-generic 5.4.128
Uname: Linux 5.4.0-81-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: Regolith:GNOME-Flashback:GNOME
Date: Sun Aug 29 08:27:55 2021
InstallationDate: Installed on 2020-10-14 (318 days ago)
InstallationMedia: Regolith 20.04.0 1.4.1 LTS amd64 (20200511)
SourcePackage: busybox
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: busybox (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/1941981

Title:
  busybox ed jumps line on insert

Status in busybox package in Ubuntu:
  New

Bug description:
  Busybox‘s implementation of `ed` skips a line when inserting. It will
  insert the first line before and all subsequent lines after the line
  addressed.

  gnu ed implementation behaves like expected:

  ```
  $ ed
  i
  one
  two
  three
  four
  five
  .
  ,p
  one
  two
  three
  four
  five
  1
  one
  i
  ione
  itwo
  ithree
  ifive
  .
  ,p
  ione
  itwo
  ithree
  ifive
  one
  two
  three
  four
  five
  Q
  ```

  The lines »ione« through »ifive« are inserted before the line »one«.
  But busybox’s behaviour differs:

  ```
  $ busybox ed
  : i
  one
  two
  three
  four
  five
  .
  : ,p
  one
  two
  three
  four
  five
  : 1
  one
  : i
  ione
  itwo
  ithree
  ifour
  ifive
  .
  : ,p
  ione
  one
  itwo
  ithree
  ifour
  ifive
  two
  three
  four
  five
  : q
  Really quit? y
  ```

  The line »ione« is inserted before »one« and the lines »itwo« through
  »ifive« are appended after »one«. However, `append` works as expected.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: busybox (not installed)
  ProcVersionSignature: Ubuntu 5.4.0-81.91-generic 5.4.128
  Uname: Linux 5.4.0-81-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: Regolith:GNOME-Flashback:GNOME
  Date: Sun Aug 29 08:27:55 2021
  InstallationDate: Installed on 2020-10-14 (318 days ago)
  InstallationMedia: Regolith 20.04.0 1.4.1 LTS amd64 (20200511)
  SourcePackage: busybox
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1941981/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
I attached snoop/logs where the PC initiated the connection, for
comparison. There, the issue doesn't happen, the headset calmly allows
the PC to establish all the profiles since the PC connected the ACL.

One can also see the difference in flow:

Aug 29 01:57:02 RhoPC bluetoothd[4053589]: src/device.c:connect_profiles() 
/org/bluez/hci0/dev_FC_58_FA_7F_E5_18 (all), client :1.160
Aug 29 01:57:02 RhoPC bluetoothd[4053589]: src/service.c:btd_service_ref() 
0x556620ba9bb0: ref=2
Aug 29 01:57:02 RhoPC bluetoothd[4053589]: src/service.c:change_state() 
0x556620ba9bb0: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: disconnected -> connecting (0)
Aug 29 01:57:05 RhoPC bluetoothd[4053589]: src/adapter.c:connected_callback() 
hci0 device FC:58:FA:7F:E5:18 connected eir_len 9
Aug 29 01:57:05 RhoPC bluetoothd[4053589]: src/profile.c:ext_connect() Headset 
Voice gateway connected to FC:58:FA:7F:E5:18
Aug 29 01:57:05 RhoPC bluetoothd[4053589]: src/service.c:change_state() 
0x556620ba9bb0: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: connecting -> connected (0)

THe HFP service entered state CONNECTING pretty much as soon as I tapped
"Connect" in Blueman, even before the ACL was established. Then 3s
later, it entered CONNECTED once the HFP SLC was established, courtesy
of ext_connect().

I did a basic search and couldn't find anything that would be hurt by
removing that CONNECTING transition -- pretty much every spot that
checks for state CONNECTING during transitions, expects it to mean "this
service connection was locally initiated". So we just need to make sure
it means just that, especially since I see no other indicator accessible
to listeners.

Since a bunch of guesswork was done to get here, it would be neat if
someone experienced with the stack can confirm how much of this is even
correct, and if the proposed solution makes sense :-)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/

[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
That one's clear enough from the earlier log snippet and source:

Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/profile.c:ext_connect() Headset 
Voice gateway connected to FC:58:FA:7F:E5:18
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/service.c:change_state() 
0x562f6441d710: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: disconnected -> connecting (0)
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/service.c:change_state() 
0x562f6441d710: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: connecting -> connected (0)

This ext_connect() seems to be called whenever a profile connection is
completed, whether successfully or not, whether locally or remotely
initiated. Above, we see the state changes it orchestrated -- it first
transitions the HFP "service" to CONNECTING and then to CONNECTED pretty
quickly:

if (conn->service && service_set_connecting(conn->service) < 0)
goto drop;
...
if (conn->service)
btd_service_connecting_complete(conn->service,
err ? -err->code : -EIO);

Each of these state changes gets propagated to a bunch of listeners --
one of which is policy.c.

=
I think that first transition (to CONNECTING) should not have happened, because 
it takes away the ability of any listeners to judge whether a connection was 
locally or remotely initiated, and act accordingly. The HFP service should've 
simply gone from DISCONNECTED to CONNECTED -- that first IF block should be 
removed entirely.
=

If a connection were indeed locally initiated, the service's state
would've been set to CONNECTING way back, by btd_service_connect()
probably since it looks to be the one that kicks off the connection.
ext_connect() only has enough info to make that final jump to CONNECTED.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug

[Touch-packages] [Bug 1940635] Re: systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on armhf

2021-08-28 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1940635

Title:
  systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on
  armhf

Status in glibc package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  systemd-networkd is failing to acquire a DCHP6 lease from dnsmasq on
  armhf since glibc 2.34-0ubuntu1, failing systemd (tests-name=networkd-
  test.py) and netplan.io (test-name=ethernets) tests on armhf.

  Reproducer:
  * Setup an armhf container, e.g. via:
  autopkgtest systemd --test-name=networkd-test.py --shell -U 
--apt-pocket=proposed=src:systemd,src:glibc -s -- lxd 
autopkgtest/ubuntu/impish/armhf
  * It will fail and drop you into the shell
  * cd test/ && apt install python3-nose
  * nosetests3 -v -s -m "test_.*_dhcp_ip6" networkd-test.py

  
  This is unrelated to the recent dnsmasq changes (LP: #1894619), as that would 
fail on all architectures, not just armhf.

  It still passes inside an amd64 LXD container, so it is also not related to 
armhf being tested inside a container. But it shows the difference between 
armhf vs amd64 container, that on armhf we're missing the DHCPSOLICIT (and 
therefore DHCPREPLY) messages, as can be seen from the dnsmasq log:
  dnsmasq-dhcp[]: DHCPSOLICIT(router_eth42) 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 
  dnsmasq-dhcp[]: DHCPREPLY(router_eth42) 2600::1f 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 autopkgtest-lxd-rtypaf

  The issue is most probably the same that causes the currently failing
  netplan.io/ethernets autopkgtest on armhf, if tested against glibc
  2.34-0ubuntu1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1940635/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941971] Re: there is a green horizontal line appeared on the lower side of my display when i received some data from my usb.

2021-08-28 Thread Chris Guiver
Thank you for taking the time to report this bug and helping to make
Ubuntu better.

A photo (or video) of your issue may have helped highlight your issue.
Providing a link to where it can be seen would be welcome too.

Does the issue occur when you're using other OSes (a live system if this
is your only installed OS); ie. have you ruled out hardware issues?

Has it started to occur after a recent update?

The more details you provide, the greater the chance of the cause being
detected & thus fixed.

A Support site maybe more useful if help in dealing with it is wanted,
eg. https://answers.launchpad.net/ubuntu. You can also find help with
your problem in the support forum of your local Ubuntu community
http://loco.ubuntu.com/ or asking at https://askubuntu.com or
https://ubuntuforums.org, or for more support options please look at
https://discourse.ubuntu.com/t/community-support/709

** Package changed: xorg (Ubuntu) => xorg-server (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1941971

Title:
  there is a green horizontal line appeared on the lower side of my
  display when i received some data from my usb.

Status in xorg-server package in Ubuntu:
  New

Bug description:
  my laptop is dell
  linux is i am using currently version 20.04.1
  os type is 64 bit

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.4
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 06:30:11 2021
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA 
controller])
 Subsystem: Dell HD Graphics 620 [1028:078b]
 Subsystem: Dell Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / 
Radeon 520 Mobile] [1028:078b]
  InstallationDate: Installed on 2020-09-30 (332 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
   Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
   Bus 001 Device 002: ID 0bda:5689 Realtek Semiconductor Corp. Integrated 
Webcam
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Inspiron 15-3567
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic 
root=UUID=5149ae95-92ed-4448-8f93-5f49b9c363cd ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/07/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 01.07.00
  dmi.board.name: 0D53F5
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr01.07.00:bd04/07/2017:svnDellInc.:pnInspiron15-3567:pvr:rvnDellInc.:rn0D53F5:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 15-3567
  dmi.product.sku: 078B
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.101-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1941971/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
So why did Bluez initiate A2DP even when the headset was the one that
established the ACL?

The bluetoothd logs help out here:

Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/adapter.c:connected_callback() 
hci0 device FC:58:FA:7F:E5:18 connected eir_len 5
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/profile.c:ext_confirm() incoming 
connect from FC:58:FA:7F:E5:18
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/service.c:btd_service_ref() 
0x562f6441d710: ref=2
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/profile.c:ext_confirm() Headset 
Voice gateway authorizing connection from FC:58:FA:7F:E5:18
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/profile.c:ext_auth() 
FC:58:FA:7F:E5:18 authorized to connect to Headset Voice gateway
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/profile.c:ext_connect() Headset 
Voice gateway connected to FC:58:FA:7F:E5:18
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/service.c:change_state() 
0x562f6441d710: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: disconnected -> connecting (0)
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: src/service.c:change_state() 
0x562f6441d710: device FC:58:FA:7F:E5:18 profile Headset Voice gateway state 
changed: connecting -> connected (0)
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: 
src/device.c:device_profile_connected() Headset Voice gateway Success (0)
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: plugins/policy.c:policy_connect() 
/org/bluez/hci0/dev_FC_58_FA_7F_E5_18 profile a2dp-sink
Aug 29 00:54:47 RhoPC bluetoothd[4046739]: 
profiles/audio/a2dp.c:a2dp_sink_connect() path 
/org/bluez/hci0/dev_FC_58_FA_7F_E5_18

One can easily see at the end there, where something in plugins/policy.c
kicks off A2DP connection, apparently as soon as it got word that HFP
had connected.

Checking that file, the offending code seems to be this in hs_cb():

case BTD_SERVICE_STATE_CONNECTED:
/* Check if service initiate the connection then proceed
 * immediately otherwise set timer
 */
if (old_state == BTD_SERVICE_STATE_CONNECTING)
policy_connect(data, sink);
else if (btd_service_get_state(sink) !=
BTD_SERVICE_STATE_CONNECTED)
policy_set_sink_timer(data);
break;

The reasoning is sound though -- if the HFP connection was locally
initiated i.e. previously in STATE_CONNECTING, then go ahead and connect
A2DP right now. Otherwise, respect right-of-way and set a timer to
connect it in around 2s, in case the headset somehow fails to do so.

The problem is, this HFP connection was NOT locally initiated. So why
was policy.c informed that it is?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.ve

[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
I've spent a while studying the snoop/syslogs and Bluez source, and I
believe I've narrowed down the issue.

* From the Headset-Initiated snoop, we can see where the headset
connected the ACL (23:54:47 UTC), followed shortly by connecting HFP
(successfully).

* Very soon after the headset connected HFP, the PC/bluez initiated an
AVDTP connection, a bid to connect A2DP -- this is unfriendly behaviour,
since the general convention is: whomever created the ACL gets to create
the profiles. Or at least is given enough time to connect them, before
the other end starts its own attempt.

The result of this behaviour is that the headset, probably getting ready
to connect A2DP itself, now gets confused by this incoming PC
connection, its firmware apparently not strong or flexible enough to
handle this A2DP crossover scenario, manifesting as follows:

That AVDTP channel (for A2DP signalling) does get established, but then
strange behaviour is seen while setting up the media-channel -- the
headset takes 3s to respond to the AVDTP_DISCOVER command. These 3s end
up being costly because...

* The PC creates a SCO connection to the headset around this time -- I
believe this is because the PC must route my current audio stream
somewhere, and since A2DP media isn't setup yet after all this time, it
(PulseAudio?) will settle for HFP/SCO.

(Even this SCO connection takes 5s to complete, headset still not out of
the woods.)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941933] Re: sticks the mouse pointer when using the touchpad

2021-08-28 Thread Dmitry Shapkin
** Package changed: xorg (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1941933

Title:
  sticks the mouse pointer when using the touchpad

Status in Ubuntu:
  New

Bug description:
  Periodicaly sticks the mouse pointer when using the touchpad.
  Ubuntu 21.04 on laptop Honor BDR-WFH9HN.
  When I use a mouse - everything is fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: xorg 1:7.7+22ubuntu1
  ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
  Uname: Linux 5.11.0-31-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Отказано в доступе: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Aug 28 08:43:04 2021
  DistUpgraded: Fresh install
  DistroCodename: hirsute
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Intel Corporation TigerLake GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) 
(prog-if 00 [VGA controller])
 Subsystem: QUANTA Computer Inc Iris Xe Graphics [152d:127d]
  InstallationDate: Installed on 2021-08-08 (19 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 0408:1040 Quanta Computer, Inc. 
ov9734_techfront_camera
   Bus 001 Device 003: ID 8087:0026 Intel Corp. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: HONOR BOD-WXX9
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-31-generic 
root=UUID=2eeed0ae-6ec0-453a-95f4-20c82c0509ad ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/22/2021
  dmi.bios.release: 3.2
  dmi.bios.vendor: HONOR
  dmi.bios.version: 3.02
  dmi.board.asset.tag: N/A
  dmi.board.name: BOD-WXX9-PCB
  dmi.board.vendor: HONOR
  dmi.board.version: M1050
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: HONOR
  dmi.chassis.version: M1050
  dmi.ec.firmware.release: 3.2
  dmi.modalias: 
dmi:bvnHONOR:bvr3.02:bd02/22/2021:br3.2:efr3.2:svnHONOR:pnBOD-WXX9:pvrM1050:rvnHONOR:rnBOD-WXX9-PCB:rvrM1050:cvnHONOR:ct10:cvrM1050:
  dmi.product.family: MagicBook
  dmi.product.name: BOD-WXX9
  dmi.product.sku: C171
  dmi.product.version: M1050
  dmi.sys.vendor: HONOR
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.105-3~21.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.3-0ubuntu0.3
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.11-1ubuntu1.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200714-1ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1941933/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
** Attachment added: "Syslog taken when the PC initiates the connection"
   
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+attachment/5521418/+files/syslog_PCInitiated

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
** Attachment added: "Syslog taken when the headset initiates the connection"
   
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+attachment/5521416/+files/syslog_HeadsetInitiated

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] Re: PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
** Attachment added: "HCI snoop taken when the PC initiates the connection"
   
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+attachment/5521417/+files/PCInitiated.snoop

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/14/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.12.1
  dmi.board.name: 0KTW76
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: XPS
  dmi.product.name: XPS 13 9380
  dmi.product.sku: 08AF
  dmi.sys.vendor: Dell Inc.
  hciconfig:
   hci0:Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
  mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1941977/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941977] [NEW] PC streams music over low-quality HFP/SCO connection, instead of A2DP/AVDTP

2021-08-28 Thread Brian Ejike
Public bug reported:

This issue was first discovered when I got this headset 2 years back:
https://www.amazon.co.uk/gp/product/B01C2QCPYI.

STEPS
* Enable Bluetooth on the PC
* Have music or some video playing on the PC
* Power on the (already-paired) headset. It automatically connects to the PC.

EXPECTED RESULT
The PC's audio should now be streamed to the headset, over high-quality A2DP

ACTUAL RESULT
The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

Stopping and resuming the stream changes nothing. I have to manually
open Blueman and right-click on the device and select "High-quality A2DP
profile", for it to switch to the expected high-quality A2DP transport.

HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
initiated and PC-initiated connections are attached.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bluez 5.53-0ubuntu3.3 [modified: lib/systemd/system/bluetooth.service]
ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
Uname: Linux 5.4.0-74-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 29 03:49:08 2021
InstallationDate: Installed on 2019-06-08 (812 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Dell Inc. XPS 13 9380
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/14/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.12.1
dmi.board.name: 0KTW76
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr1.12.1:bd12/14/2020:svnDellInc.:pnXPS139380:pvr:rvnDellInc.:rn0KTW76:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9380
dmi.product.sku: 08AF
dmi.sys.vendor: Dell Inc.
hciconfig:
 hci0:  Type: Primary  Bus: USB
BD Address: 9C:B6:D0:99:1D:20  ACL MTU: 1024:8  SCO MTU: 50:8
UP RUNNING PSCAN 
RX bytes:3313120 acl:776 sco:26275 events:305102 errors:0
TX bytes:255208317 acl:298108 sco:22053 commands:6779 errors:0
mtime.conffile..etc.bluetooth.main.conf: 2020-04-27T23:21:52.866445

** Affects: bluez (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "HCI snoop taken when the headset initiates the connection"
   
https://bugs.launchpad.net/bugs/1941977/+attachment/5521398/+files/HeadsetInitiated.snoop

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1941977

Title:
  PC streams music over low-quality HFP/SCO connection, instead of
  A2DP/AVDTP

Status in bluez package in Ubuntu:
  New

Bug description:
  This issue was first discovered when I got this headset 2 years back:
  https://www.amazon.co.uk/gp/product/B01C2QCPYI.

  STEPS
  * Enable Bluetooth on the PC
  * Have music or some video playing on the PC
  * Power on the (already-paired) headset. It automatically connects to the PC.

  EXPECTED RESULT
  The PC's audio should now be streamed to the headset, over high-quality A2DP

  ACTUAL RESULT
  The PC's audio gets streamed over the low-quality HFP/SCO connection instead. 

  Stopping and resuming the stream changes nothing. I have to manually
  open Blueman and right-click on the device and select "High-quality
  A2DP profile", for it to switch to the expected high-quality A2DP
  transport.

  HCI snoop logs and verbose bluetoothd-syslogs taken in both headset-
  initiated and PC-initiated connections are attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: bluez 5.53-0ubuntu3.3 [modified: 
lib/systemd/system/bluetooth.service]
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 03:49:08 2021
  InstallationDate: Installed on 2019-06-08 (812 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Dell Inc. XPS 13 9380
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic 
root=UUID=93dae559-0f0d-4e36-9318-ee7154840a9f ro 
resume=UUID=01c18f00-e0eb-4891-9bf1-3110416d9b39 quiet splash 
mem_sleep_default=deep vt.handoff=7
  SourcePackage: bluez
  

[Touch-packages] [Bug 1941971] [NEW] there is a green horizontal line appeared on the lower side of my display when i received some data from my usb.

2021-08-28 Thread Shijas AK
Public bug reported:

my laptop is dell
linux is i am using currently version 20.04.1
os type is 64 bit

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 29 06:30:11 2021
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA 
controller])
   Subsystem: Dell HD Graphics 620 [1028:078b]
   Subsystem: Dell Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / 
Radeon 520 Mobile] [1028:078b]
InstallationDate: Installed on 2020-09-30 (332 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
 Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
 Bus 001 Device 002: ID 0bda:5689 Realtek Semiconductor Corp. Integrated Webcam
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 15-3567
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic 
root=UUID=5149ae95-92ed-4448-8f93-5f49b9c363cd ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/07/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.07.00
dmi.board.name: 0D53F5
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr01.07.00:bd04/07/2017:svnDellInc.:pnInspiron15-3567:pvr:rvnDellInc.:rn0D53F5:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 15-3567
dmi.product.sku: 078B
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal third-party-packages ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1941971

Title:
  there is a green horizontal line appeared on the lower side of my
  display when i received some data from my usb.

Status in xorg package in Ubuntu:
  New

Bug description:
  my laptop is dell
  linux is i am using currently version 20.04.1
  os type is 64 bit

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.4
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: skip
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Aug 29 06:30:11 2021
  DistUpgraded: Fresh install
  DistroCodename: focal
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA 
controller])
 Subsystem: Dell HD Graphics 620 [1028:078b]
 Subsystem: Dell Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / 
Radeon 520 Mobile] [1028:078b]
  InstallationDate: Installed on 2020-09-30 (332 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
   Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
   Bus 001 Device 002: ID 0bda:5689 Realtek Semiconductor Corp. Integrated 
Webcam
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Inspiron 15-3567
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic 
root=UUID=5149ae95-92ed-4448-8f93-5f49b9c363cd ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/07/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 01.07.00
  dmi.board.name: 0D53F5
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr01.07.00:bd0

[Touch-packages] [Bug 1940635] Re: systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on armhf

2021-08-28 Thread Michael Hudson-Doyle
So what is going on is this:

In icmp6_receive systemd passes a buffer for control messages to recvmsg
that is only big enough for the messages it expects to receive. glibc
now attempts to append an extra control message to the buffer
(translating SO_TIMESTAMP / COMPAT_SO_TIMESTAMP_OLD to SO_TIMESTAMP_NEW)
and sets MSG_CTRUNC in flags if it can't fit this in. So this is where
that EXFULL comes from.

So the fix for this is simple, right? Just pass a bigger buffer to
recvmsg? No, if you do this networkd segfaults. I think
__convert_scm_timestamps fails to handle a subtlety of the control
message buffer, which is that the control messages don't always (it
seems) occupy all of the buffer up to msg_controllen (!). If you look at
the definition of CMSG_NXTHDR, the test for the end of the buffer has
two clauses
(https://sourceware.org/git/?p=glibc.git;a=blob;f=bits/socket.h;h=05ac0249c7da7218cbd11be99a67529161cfa7f7;hb=HEAD#l265):

  if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
+ __mhdr->msg_controllen)
  || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)
  > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
/* No more entries.  */
return (struct cmsghdr *) 0;

I think after glibc's alterations, calling this on the last message ends
up with garbage in __cmsg->cmsg_len, so __cmsg+__cmsg->cmsg_len is
overflowing and the program then goes off to read uninitialized memory
and hilarity ensues.

I'm attaching a glibc patch which *may* help (it's building in a ppa
now, will test it in a bit). But it's all a bit uncertain. Haven't filed
an upstream glibc bug report yet.

** Patch added: "lp1940635.patch"
   
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1940635/+attachment/5521376/+files/lp1940635.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1940635

Title:
  systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on
  armhf

Status in glibc package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  systemd-networkd is failing to acquire a DCHP6 lease from dnsmasq on
  armhf since glibc 2.34-0ubuntu1, failing systemd (tests-name=networkd-
  test.py) and netplan.io (test-name=ethernets) tests on armhf.

  Reproducer:
  * Setup an armhf container, e.g. via:
  autopkgtest systemd --test-name=networkd-test.py --shell -U 
--apt-pocket=proposed=src:systemd,src:glibc -s -- lxd 
autopkgtest/ubuntu/impish/armhf
  * It will fail and drop you into the shell
  * cd test/ && apt install python3-nose
  * nosetests3 -v -s -m "test_.*_dhcp_ip6" networkd-test.py

  
  This is unrelated to the recent dnsmasq changes (LP: #1894619), as that would 
fail on all architectures, not just armhf.

  It still passes inside an amd64 LXD container, so it is also not related to 
armhf being tested inside a container. But it shows the difference between 
armhf vs amd64 container, that on armhf we're missing the DHCPSOLICIT (and 
therefore DHCPREPLY) messages, as can be seen from the dnsmasq log:
  dnsmasq-dhcp[]: DHCPSOLICIT(router_eth42) 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 
  dnsmasq-dhcp[]: DHCPREPLY(router_eth42) 2600::1f 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 autopkgtest-lxd-rtypaf

  The issue is most probably the same that causes the currently failing
  netplan.io/ethernets autopkgtest on armhf, if tested against glibc
  2.34-0ubuntu1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1940635/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941966] [NEW] Backport ascii fix

2021-08-28 Thread Özgür Baskin
Public bug reported:

Hi,

Is it possible to backport a ascii fix for Turkish language to
20.04(focal)? This bug is very annoying for some utilities.

https://github.com/karelzak/util-
linux/commit/64a89adaa16461bd58730c1408b30aa7244b4f66

** Affects: util-linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1941966

Title:
  Backport ascii fix

Status in util-linux package in Ubuntu:
  New

Bug description:
  Hi,

  Is it possible to backport a ascii fix for Turkish language to
  20.04(focal)? This bug is very annoying for some utilities.

  https://github.com/karelzak/util-
  linux/commit/64a89adaa16461bd58730c1408b30aa7244b4f66

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1941966/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1940635] Re: systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on armhf

2021-08-28 Thread Michael Hudson-Doyle
We must be hitting this line, right?
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/convert_scm_timestamps.c;h=00c934c4135f0d4256068adcf23a3de024fadd43;hb=HEAD#l87

IOW, ddstreet was right in comment #10.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1940635

Title:
  systemd-networkd failing to acquire a DHCP6 lease from dnsmasq on
  armhf

Status in glibc package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  systemd-networkd is failing to acquire a DCHP6 lease from dnsmasq on
  armhf since glibc 2.34-0ubuntu1, failing systemd (tests-name=networkd-
  test.py) and netplan.io (test-name=ethernets) tests on armhf.

  Reproducer:
  * Setup an armhf container, e.g. via:
  autopkgtest systemd --test-name=networkd-test.py --shell -U 
--apt-pocket=proposed=src:systemd,src:glibc -s -- lxd 
autopkgtest/ubuntu/impish/armhf
  * It will fail and drop you into the shell
  * cd test/ && apt install python3-nose
  * nosetests3 -v -s -m "test_.*_dhcp_ip6" networkd-test.py

  
  This is unrelated to the recent dnsmasq changes (LP: #1894619), as that would 
fail on all architectures, not just armhf.

  It still passes inside an amd64 LXD container, so it is also not related to 
armhf being tested inside a container. But it shows the difference between 
armhf vs amd64 container, that on armhf we're missing the DHCPSOLICIT (and 
therefore DHCPREPLY) messages, as can be seen from the dnsmasq log:
  dnsmasq-dhcp[]: DHCPSOLICIT(router_eth42) 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 
  dnsmasq-dhcp[]: DHCPREPLY(router_eth42) 2600::1f 
00:02:00:00:ab:11:57:1e:20:2f:9e:56:5f:34 autopkgtest-lxd-rtypaf

  The issue is most probably the same that causes the currently failing
  netplan.io/ethernets autopkgtest on armhf, if tested against glibc
  2.34-0ubuntu1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1940635/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941962] Re: pulseaudio crashed with SIGSEGV in XFreeGC()

2021-08-28 Thread Apport retracing service
** Tags removed: need-amd64-retrace

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1941962

Title:
  pulseaudio crashed with SIGSEGV in XFreeGC()

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  crash

  ProblemType: Crash
  DistroRelease: Ubuntu 21.10
  Package: pulseaudio 1:15.0+dfsg1-1ubuntu2
  Uname: Linux 5.13.13-xanmod1-cacule x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu68
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  anasc  1719 F pulseaudio
   /dev/snd/pcmC0D0p:   anasc  1719 F...m pulseaudio
  CasperMD5CheckResult: pass
  Date: Sat Aug 28 21:00:59 2021
  ExecutablePath: /usr/bin/pulseaudio
  InstallationDate: Installed on 2021-08-26 (2 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210824)
  ProcCmdline: /usr/bin/pulseaudio --daemonize=no --log-target=journal
  SegvAnalysis:
   Segfault happened at: 0x7fbcc9d6a8a4 :  mov%edx,0x4(%rax)
   PC (0x7fbcc9d6a8a4) ok
   source "%edx" ok
   destination "0x4(%rax)" (0x0004) not located in a known VMA region 
(needed writable region)!
  SegvReason: writing NULL VMA
  Signal: 11
  SourcePackage: pulseaudio
  StacktraceTop:
   XFreeGC () from /lib/x86_64-linux-gnu/libX11.so.6
   XCloseDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
   pa_x11_wrapper_unref () from 
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
   module_x11_publish_LTX_pa__done () from 
/usr/lib/pulse-15.0+dfsg1/modules/module-x11-publish.so
   ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
  Title: pulseaudio crashed with SIGSEGV in XFreeGC()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  dmi.bios.date: 02/05/2021
  dmi.bios.release: 15.14
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.14
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: 86E2
  dmi.board.vendor: HP
  dmi.board.version: 95.36
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.chassis.version: Chassis Version
  dmi.ec.firmware.release: 95.36
  dmi.modalias: 
dmi:bvnInsyde:bvrF.14:bd02/05/2021:br15.14:efr95.36:svnHP:pnHPPavilionLaptop15-cs3xxx:pvrType1ProductConfigId:sku5SU52EA#BH4:rvnHP:rn86E2:rvr95.36:cvnHP:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335KV HP Pavilion
  dmi.product.name: HP Pavilion Laptop 15-cs3xxx
  dmi.product.sku: 5SU52EA#BH4
  dmi.product.version: Type1ProductConfigId
  dmi.sys.vendor: HP
  separator:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1941962/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941962] [NEW] pulseaudio crashed with SIGSEGV in XFreeGC()

2021-08-28 Thread Anas
Public bug reported:

crash

ProblemType: Crash
DistroRelease: Ubuntu 21.10
Package: pulseaudio 1:15.0+dfsg1-1ubuntu2
Uname: Linux 5.13.13-xanmod1-cacule x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu68
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  anasc  1719 F pulseaudio
 /dev/snd/pcmC0D0p:   anasc  1719 F...m pulseaudio
CasperMD5CheckResult: pass
Date: Sat Aug 28 21:00:59 2021
ExecutablePath: /usr/bin/pulseaudio
InstallationDate: Installed on 2021-08-26 (2 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210824)
ProcCmdline: /usr/bin/pulseaudio --daemonize=no --log-target=journal
SegvAnalysis:
 Segfault happened at: 0x7fbcc9d6a8a4 :mov%edx,0x4(%rax)
 PC (0x7fbcc9d6a8a4) ok
 source "%edx" ok
 destination "0x4(%rax)" (0x0004) not located in a known VMA region (needed 
writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: pulseaudio
StacktraceTop:
 XFreeGC () from /lib/x86_64-linux-gnu/libX11.so.6
 XCloseDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
 pa_x11_wrapper_unref () from 
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
 module_x11_publish_LTX_pa__done () from 
/usr/lib/pulse-15.0+dfsg1/modules/module-x11-publish.so
 ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
Title: pulseaudio crashed with SIGSEGV in XFreeGC()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
dmi.bios.date: 02/05/2021
dmi.bios.release: 15.14
dmi.bios.vendor: Insyde
dmi.bios.version: F.14
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 86E2
dmi.board.vendor: HP
dmi.board.version: 95.36
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 95.36
dmi.modalias: 
dmi:bvnInsyde:bvrF.14:bd02/05/2021:br15.14:efr95.36:svnHP:pnHPPavilionLaptop15-cs3xxx:pvrType1ProductConfigId:sku5SU52EA#BH4:rvnHP:rn86E2:rvr95.36:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion Laptop 15-cs3xxx
dmi.product.sku: 5SU52EA#BH4
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP
separator:

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-crash impish wayland-session

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1941962

Title:
  pulseaudio crashed with SIGSEGV in XFreeGC()

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  crash

  ProblemType: Crash
  DistroRelease: Ubuntu 21.10
  Package: pulseaudio 1:15.0+dfsg1-1ubuntu2
  Uname: Linux 5.13.13-xanmod1-cacule x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu68
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  anasc  1719 F pulseaudio
   /dev/snd/pcmC0D0p:   anasc  1719 F...m pulseaudio
  CasperMD5CheckResult: pass
  Date: Sat Aug 28 21:00:59 2021
  ExecutablePath: /usr/bin/pulseaudio
  InstallationDate: Installed on 2021-08-26 (2 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210824)
  ProcCmdline: /usr/bin/pulseaudio --daemonize=no --log-target=journal
  SegvAnalysis:
   Segfault happened at: 0x7fbcc9d6a8a4 :  mov%edx,0x4(%rax)
   PC (0x7fbcc9d6a8a4) ok
   source "%edx" ok
   destination "0x4(%rax)" (0x0004) not located in a known VMA region 
(needed writable region)!
  SegvReason: writing NULL VMA
  Signal: 11
  SourcePackage: pulseaudio
  StacktraceTop:
   XFreeGC () from /lib/x86_64-linux-gnu/libX11.so.6
   XCloseDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
   pa_x11_wrapper_unref () from 
/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
   module_x11_publish_LTX_pa__done () from 
/usr/lib/pulse-15.0+dfsg1/modules/module-x11-publish.so
   ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-15.0.so
  Title: pulseaudio crashed with SIGSEGV in XFreeGC()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  dmi.bios.date: 02/05/2021
  dmi.bios.release: 15.14
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.14
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: 86E2
  dmi.board.vendor: HP
  dmi.board.version: 95.36
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.chassis.version: Chassis Version
  dmi.ec.firmware.release: 95.36
  dmi.modalias: 
dmi:bvnInsyde:bvrF.14:bd02/05/2021:br15.14:efr95.36:svnHP:pnHPPavilionLaptop15-cs3xxx:pvrType1ProductConfigId:sku5SU52EA#BH4:rvnHP:rn86E2:rvr95.36:cvnHP:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335K

[Touch-packages] [Bug 1756547] Re: LP refuses to import plural strings where e.g. msgstr[0] entries in PO file miss %d

2021-08-28 Thread Gunnar Hjalmarsson
Re-opening — see bug #1941954

** Changed in: gnome-shell (Ubuntu)
   Status: Fix Released => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gettext in Ubuntu.
https://bugs.launchpad.net/bugs/1756547

Title:
  LP refuses to import plural strings where e.g. msgstr[0] entries in PO
  file miss %d

Status in Launchpad itself:
  Confirmed
Status in Ubuntu Translations:
  Triaged
Status in gettext package in Ubuntu:
  Confirmed
Status in gnome-shell package in Ubuntu:
  In Progress

Bug description:
  Some strings of GNOME Shell are untranslated in the Czech translation
  on Ubuntu 18.04 although they are translated upstream and when I try
  to manually translate them on launchpad, I get this error: "number of
  format specifications in 'msgid_plural' and 'msgstr[0]' does not
  match".

  The bad strings are:
  %d minute ago
  %d minutes ago

  %d hour ago
  %d hours ago

  %d week ago
  %d weeks ago

  %d month ago
  %d months ago

  %d year ago
  %d years ago

  They seem to be correct, but they are not accepted for some reason.

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1756547/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp