[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2020-07-09 Thread Jakub Vaněk
Thank you, I've tested the fix and it mostly works. However, a minor
fixup is needed for flawless switching of this particular modem, see
https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2=2915#p19606

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1866926] Re: Device validation failing when connected to an usb hub

2020-07-04 Thread Jakub Vaněk
Hmmm, the Ubuntu version does depend on Tcl. I think a better solution
would be to go with Jim (as Debian does:
https://packages.debian.org/buster/usb-modeswitch) for both Focal and
Groovy.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1866926

Title:
  Device validation failing when connected to an usb hub

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to Ubuntu focal fossa development branch the usb_modeswitch 
does not seem to work any more on a Toshiba laptop.
  Two modems I have D-Link DWM-156 and Huawei E3372 show up as drives and stay 
like that until I use "Eject" in Gnome or explicitly use usb_modeswitch from 
the terminal.
  I have a strong feeling that it may either be related to Gnome or hardware.
  On another Dell laptop with Kubuntu focal fossa development, both modems 
connect automatically.

  /var/log/usb_modeswitch.log ends with:
  Warning: SCSI attribute "ref" not readable.
  Check class of first interface ...
  Device is in istall mode.
  No access to interface 8. Exit

  Up until and including the "ref" not readable is exactly the same as on 
Kubuntu @ Dell.
  Yet on Kubuntu I get plenty of successful config logs after that and on 
Ubuntu @ Toshiba I don't.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1866926/+subscriptions

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


[Desktop-packages] [Bug 1866926] Re: Device validation failing when connected to an usb hub

2020-07-04 Thread Jakub Vaněk
I'm starting to feel that trying to fix the C rewrite is futile.

On line 392 of usb_modeswitch_dispatcher.c, the iface variable is
overwritten. Unfortunately the value being assigned is not an interface
number, it is rather a USB class number. Fixing this might help with
some part of this, but it also might break something else. I was also
trying to map between the C rewrite and the 2.2.5 version of the tcl
script (as stated in the header of the C version), but it seems that
there are functional differences (for example the if_chk mode seems to
trigger on different ocassions).

I'd vote for going with the Tcl version for Focal as well (I'm ignoring
any existing SRU rules through). The dependency isn't a full Tcl
interpreter, only a small library-based variant of it called Jim
(http://jim.tcl.tk/index.html/doc/www/www/index.html). According to the
package description, the library size is only 100-200 kB, which seems
negligible compared to the current ISO sizes.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1866926

Title:
  Device validation failing when connected to an usb hub

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to Ubuntu focal fossa development branch the usb_modeswitch 
does not seem to work any more on a Toshiba laptop.
  Two modems I have D-Link DWM-156 and Huawei E3372 show up as drives and stay 
like that until I use "Eject" in Gnome or explicitly use usb_modeswitch from 
the terminal.
  I have a strong feeling that it may either be related to Gnome or hardware.
  On another Dell laptop with Kubuntu focal fossa development, both modems 
connect automatically.

  /var/log/usb_modeswitch.log ends with:
  Warning: SCSI attribute "ref" not readable.
  Check class of first interface ...
  Device is in istall mode.
  No access to interface 8. Exit

  Up until and including the "ref" not readable is exactly the same as on 
Kubuntu @ Dell.
  Yet on Kubuntu I get plenty of successful config logs after that and on 
Ubuntu @ Toshiba I don't.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1866926/+subscriptions

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


[Desktop-packages] [Bug 1866926] Re: Device validation failing when connected to an usb hub

2020-07-04 Thread Jakub Vaněk
Hi all,

I'm the one who accidentally introduced the bug when fixing
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763.
I'm sorry for causing the problem, I will try to find a fix that will
work in both scenarios.

Best regards,

Jakub

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1866926

Title:
  Device validation failing when connected to an usb hub

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to Ubuntu focal fossa development branch the usb_modeswitch 
does not seem to work any more on a Toshiba laptop.
  Two modems I have D-Link DWM-156 and Huawei E3372 show up as drives and stay 
like that until I use "Eject" in Gnome or explicitly use usb_modeswitch from 
the terminal.
  I have a strong feeling that it may either be related to Gnome or hardware.
  On another Dell laptop with Kubuntu focal fossa development, both modems 
connect automatically.

  /var/log/usb_modeswitch.log ends with:
  Warning: SCSI attribute "ref" not readable.
  Check class of first interface ...
  Device is in istall mode.
  No access to interface 8. Exit

  Up until and including the "ref" not readable is exactly the same as on 
Kubuntu @ Dell.
  Yet on Kubuntu I get plenty of successful config logs after that and on 
Ubuntu @ Toshiba I don't.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1866926/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
The two patches inside the debdiff fix these bugs:

 * First issue is that usb_modeswitch_dispatcher.c crashes when a device
presented to it has no USB interface 0. This is caused by improper
checking for a NULL pointer returned by a interface-lookup function. It
is fixed by adding a null-check and gracefully exiting the program if
there is no interface 0. This should be consistent with how the upstream
Tcl script handled this.

 * Second issue is that usb_modeswitch_dispatcher.c writes an unexpected
literal "(null)" string to usb_modeswitch command line. This suprisingly
does not cause any malfunction, because the argument is ignored by
usb_modeswitch. The problem is caused by assignment of NULL to a
variable where strdup("") should have been used instead. The problem is
fixed by using strdup, which is consistent with how this was handled in
other cases as well.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
This is a debdiff for Bionic applicable to usb-
modeswitch_2.5.2+repack0-2ubuntu1. I built this in pbuilder and it
builds successfully, and I installed it, the patch works as intended.


** Patch added: "debdiff against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316326/+files/4-2.5.2+repack0-2ubuntu2.debdiff

** Patch removed: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316290/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Patch removed: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316289/+files/bionic.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Information type changed from Public Security to Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
The patch for bionic should be applicable to focal as well (current
development branch; currently reading
https://wiki.ubuntu.com/StableReleaseUpdates ).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Patch added: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316290/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
I am sorry for uploading the patches multiple times, I wanted them to be
clean (i.e. patches ending with .patch, having consistent directory
versions, etc)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Patch removed: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316287/+files/bionic.patch

** Patch added: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316289/+files/bionic.patch

** Patch removed: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316288/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Patch added: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316288/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
** Patch removed: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316282/+files/bionic.patch

** Patch added: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316287/+files/bionic.patch

** Patch removed: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316286/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
I'm sending patch for Xenial.

** Patch added: "debian patch against usb-modeswitch_2.2.5+repack0-1ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316286/+files/xenial.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
Thanks!

I have attached a patch for the Bionic release.

** Patch added: "debian patch against usb-modeswitch_2.5.2+repack0-2ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+attachment/5316282/+files/bionic.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Jakub Vaněk
I have realized that these are two different issues.

1) Ubuntu's version of usb_modeswitch_dispatcher crashes when there is no 
interface 0.
2) All versions exit prematurely (non-Ubuntu versions exit gracefully) and do 
not switch the device.

Therefore I'd include a fix only for (1) - to make the dispatcher exit
gracefully. This could also pass as a SRU. I believe that this should go
through SRU because a crash message pops out even when the system is
booted from a Bionic live medium, which is a little annoying. However I
have no association to Canonical, so this is not something that I can
affect.

Resolving (2) requires more extensive changes that need to be
discussed/merged in upstream first (it is sort of a new feature), so
this could be integrated in further releases of Debian/Ubuntu.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
Upstream bugreport:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2=2915

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
I have tried installing the package from Buster. That has resolved the
crash - the program ended gracefully. However the underlying problem is
still there - devices without interface 0 will not work. I think this is
present in upstream as well.

USB_ModeSwitch log from Wed Dec 25 16:35:30 CET 2019

Use global config file: /etc/usb_modeswitch.conf
Raw parameters: {--switch-mode} {1-11} 
Use top device dir /sys/bus/usb/devices/1-11
Check class of first interface ...
 No access to interface 0. Exit

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
EDIT: the null-pointer bug only exists in Ubuntu, the interface error
bug may exist in upstream as well.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
Hmmm, it seems that this bug exists *only* in Ubuntu and not in Debian.
Ubuntu source package contains a patch that rewrites the
usb_modeswitch_dispatcher program from Tcl to C. While there must have
been good reasons to do this, there is at least one more bug in the
rewritten version.

On line 422 in file usb_modeswitch_dispatcher.c there is an assignment
of NULL to a char pointer. This pointer is later passed to printf when
forming the usb_modeswitch command. Therefore there should be strdup("")
instead of null pointer, as now usb_modeswitch is launched literally
with "(null)" argument produced by printf.

Would it be possible to remove the rewrite and switch back to Tcl (at
least for new releases of Ubuntu)? It seems that the upstream package
has switched to some lightweight Tcl interpreter (Jim). This could
remove some of the reasons why it had to be rewritten (extra
dependencies, boot time?).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
I think that upgrading the modem firmware (I have Sierra Wireless
EM7305) might help, but that does not fix the underlying bug / broken
assumptions.

** Tags added: bionic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
Ah, it starts to make sense. usb_modeswitch_dispatcher is called
correctly, but it cannot find interface 0 on the device to be switched.
However, dmesg contains warning about the same thing:

[2.369824] usb 1-11: new high-speed USB device number 5 using xhci_hcd
[2.520482] usb 1-11: config 1 has an invalid interface number: 8 but max is 
3
[2.520484] usb 1-11: config 1 has no interface number 1
[2.520915] usb 1-11: config 2 has an invalid interface number: 12 but max 
is 1
[2.520916] usb 1-11: config 2 has an invalid interface number: 13 but max 
is 1
[2.520917] usb 1-11: config 2 has an invalid interface number: 13 but max 
is 1
[2.520918] usb 1-11: config 2 has no interface number 0
[2.520919] usb 1-11: config 2 has no interface number 1
[2.521502] usb 1-11: New USB device found, idVendor=1199, idProduct=9041, 
bcdDevice= 0.06
[2.521503] usb 1-11: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[2.521504] usb 1-11: Product: EM7305
[2.521505] usb 1-11: Manufacturer: Sierra Wireless, Incorporated

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1726229] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in main()

2019-12-25 Thread Jakub Vaněk
*** This bug is a duplicate of bug 1676763 ***
https://bugs.launchpad.net/bugs/1676763

I suspect that this bug is a duplicate of #1676763.

** This bug has been marked a duplicate of bug 1676763
   usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1726229

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in main()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Error on boot

  ProblemType: Crash
  DistroRelease: Ubuntu 17.10
  Package: usb-modeswitch 2.5.1+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CrashCounter: 1
  Date: Fri Oct 20 17:53:02 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-10-20 (2 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-mode 3-4
  SegvAnalysis:
   Segfault happened at: 0x7fe7fb81d125 <__strrchr_sse2+37>:movdqu 
(%rdi),%xmm0
   PC (0x7fe7fb81d125) ok
   source "(%rdi)" (0x) not located in a known VMA region (needed 
readable region)!
   destination "%xmm0" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   ?? ()
   __libc_start_main (main=0x560c12a24bb0, argc=3, argv=0x7fffb50bb2c8, 
init=, fini=, rtld_fini=, 
stack_end=0x7fffb50bb2b8) at ../csu/libc-start.c:308
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in __libc_start_main()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1726229/+subscriptions

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


[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-25 Thread Jakub Vaněk
Very similar crash happens to me on Bionic as well. So far it seems to
me that usb_modeswitch_dispatcher is called incorrectly and therefore it
crashes when it eventually encounters a NULL pointer.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1676763

Title:
  usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

Status in usb-modeswitch package in Ubuntu:
  Confirmed

Bug description:
  Description:  Ubuntu Zesty Zapus (development branch)
  Release:  17.04

  usb-modeswitch:
Instalados: 2.4.0+repack0-1ubuntu1
Candidato:  2.4.0+repack0-1ubuntu1
Tabla de versión:
   *** 2.4.0+repack0-1ubuntu1 500
  500 http://es.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
  100 /var/lib/dpkg/status

  
  This error appears just after login.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: usb-modeswitch 2.4.0+repack0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Mar 28 09:40:09 2017
  ExecutablePath: /usr/sbin/usb_modeswitch_dispatcher
  InstallationDate: Installed on 2017-03-24 (3 days ago)
  InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
  ProcCmdline: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd 1-6
  ProcEnviron:
   LANG=es_ES.UTF-8
   PATH=(custom, no user)
  Signal: 11
  SourcePackage: usb-modeswitch
  StacktraceTop:
   strrchr () at ../sysdeps/x86_64/strrchr.S:32
   ?? ()
   __libc_start_main (main=0x555ed4e5f970, argc=3, argv=0x7ffd50b28338, 
init=, fini=, rtld_fini=, 
stack_end=0x7ffd50b28328) at ../csu/libc-start.c:291
   ?? ()
  Title: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1676763/+subscriptions

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


[Desktop-packages] [Bug 1542022] Re: gvfsd-dav crashed with SIGSEGV in strlen()

2017-05-17 Thread Jakub Vaněk
** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1542022

Title:
  gvfsd-dav crashed with SIGSEGV in strlen()

Status in gvfs package in Ubuntu:
  New

Bug description:
  Cannot connect to a WebDAV share.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: gvfs-backends 1.20.3-0ubuntu1.2
  ProcVersionSignature: Ubuntu 3.19.0-49.55~14.04.1-generic 3.19.8-ckt12
  Uname: Linux 3.19.0-49-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  Date: Thu Feb  4 21:30:45 2016
  ExecutablePath: /usr/lib/gvfs/gvfsd-dav
  InstallationDate: Installed on 2015-09-27 (130 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  ProcCmdline: /usr/lib/gvfs/gvfsd-dav --spawner :1.19 /org/gtk/gvfs/exec_spaw/1
  SegvAnalysis:
   Segfault happened at: 0x7f7a259efaea :movdqu (%rax),%xmm12
   PC (0x7f7a259efaea) ok
   source "(%rax)" (0x) not located in a known VMA region (needed 
readable region)!
   destination "%xmm12" ok
   Stack memory exhausted (SP below stack segment)
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: gvfs
  StacktraceTop:
   strlen () at ../sysdeps/x86_64/strlen.S:106
   ?? ()
   ?? ()
   ?? ()
   g_vfs_job_run () from /usr/lib/x86_64-linux-gnu/gvfs/libgvfsdaemon.so
  Title: gvfsd-dav crashed with SIGSEGV in strlen()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm bluetooth cdrom dialout dip disk floppy fuse lpadmin plugdev 
sambashare sudo video wireshark

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

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