[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
Hi!

Same problem on Ubuntu 14.10 with kernel 3.19.3 (64-bit). All system
packages are up-to-date, and I'm able to switch my device manually, but
automatically doesn't work.


** Attachment added: systemctl_all_grep_usb_modeswitch.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370381/+files/systemctl_all_grep_usb_modeswitch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
** Attachment added: udev_after_manual_switch.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370384/+files/udev_after_manual_switch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
** Attachment added: systemctl_status_service1.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370382/+files/systemctl_status_service1.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
** Attachment added: systemctl_status_service2.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370383/+files/systemctl_status_service2.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
** Attachment added: usb_modeswitch.log
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370388/+files/usb_modeswitch.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Martin Pitt
I found an USB 3G stick and can reproduce this.

** Changed in: usb-modeswitch (Ubuntu)
   Importance: Undecided = Medium

** Changed in: usb-modeswitch (Ubuntu)
   Status: Incomplete = In Progress

** Changed in: usb-modeswitch (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-04-09 Thread Michał Fułat
** Attachment added: udev_before_manual_switch.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370385/+files/udev_before_manual_switch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-13 Thread Muelli
FWIW: I have the same problem.

Running the usb_modeswitch_dispatcher results in the following:

/usr/sbin/usb_modeswitch_dispatcher --switch-systemd %I
*** buffer overflow detected ***: /usr/sbin/usb_modeswitch_dispatcher terminated
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x7879f)[0x7fbac2f0c79f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fbac2fa02fc]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a350)[0x7fbac2f9e350]
/lib/x86_64-linux-gnu/libc.so.6(__stpncpy_chk+0x0)[0x7fbac2f9d7b0]
/usr/sbin/usb_modeswitch_dispatcher[0x401af5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fbac2eb5ec5]
/usr/sbin/usb_modeswitch_dispatcher[0x40310b]
=== Memory map: 
0040-0040a000 r-xp  fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
00609000-0060a000 r--p 9000 fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
0060a000-0060b000 rw-p a000 fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
01278000-01299000 rw-p  00:00 0  [heap]
7fbac2c7e000-7fbac2c94000 r-xp  fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2c94000-7fbac2e93000 ---p 00016000 fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2e93000-7fbac2e94000 rw-p 00015000 fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2e94000-7fbac304e000 r-xp  fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac304e000-7fbac324e000 ---p 001ba000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac324e000-7fbac3252000 r--p 001ba000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac3252000-7fbac3254000 rw-p 001be000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac3254000-7fbac3259000 rw-p  00:00 0 
7fbac3259000-7fbac3266000 r-xp  fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3266000-7fbac3465000 ---p d000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3465000-7fbac3466000 r--p c000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3466000-7fbac3467000 rw-p d000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3467000-7fbac348a000 r-xp  fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac366a000-7fbac366d000 rw-p  00:00 0 
7fbac3686000-7fbac3689000 rw-p  00:00 0 
7fbac3689000-7fbac368a000 r--p 00022000 fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac368a000-7fbac368b000 rw-p 00023000 fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac368b000-7fbac368c000 rw-p  00:00 0 
7fff2c09a000-7fff2c0bb000 rw-p  00:00 0  [stack]
7fff2c13-7fff2c132000 r--p  00:00 0  [vvar]
7fff2c132000-7fff2c134000 r-xp  00:00 0  [vdso]
ff60-ff601000 r-xp  00:00 0  
[vsyscall]
fish: Job 1, “/usr/sbin/usb_modeswitch_dispatcher --switch-systemd %I” 
terminated by signal SIGABRT (Abort)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-13 Thread Martin Pitt
Muelli, did you literally call it with %I? In a unit that gets
replaced with the unescaped instance name, i. e.  something like
3-1.2:1.0. I. e. did you get this backtrace from the journal or so, or
did you call usb_modeswitch_dispatcher on the command line? In that case
it needs a proper argument, not literally %I. Thanks for
investigating!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-13 Thread Muelli
FWIW: I have the same problem.

Running the usb_modeswitch_dispatcher results in the following:

/usr/sbin/usb_modeswitch_dispatcher --switch-systemd %I
*** buffer overflow detected ***: /usr/sbin/usb_modeswitch_dispatcher terminated
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x7879f)[0x7fbac2f0c79f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fbac2fa02fc]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a350)[0x7fbac2f9e350]
/lib/x86_64-linux-gnu/libc.so.6(__stpncpy_chk+0x0)[0x7fbac2f9d7b0]
/usr/sbin/usb_modeswitch_dispatcher[0x401af5]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fbac2eb5ec5]
/usr/sbin/usb_modeswitch_dispatcher[0x40310b]
=== Memory map: 
0040-0040a000 r-xp  fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
00609000-0060a000 r--p 9000 fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
0060a000-0060b000 rw-p a000 fc:01 1058264
/usr/sbin/usb_modeswitch_dispatcher
01278000-01299000 rw-p  00:00 0  [heap]
7fbac2c7e000-7fbac2c94000 r-xp  fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2c94000-7fbac2e93000 ---p 00016000 fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2e93000-7fbac2e94000 rw-p 00015000 fc:01 11796495   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fbac2e94000-7fbac304e000 r-xp  fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac304e000-7fbac324e000 ---p 001ba000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac324e000-7fbac3252000 r--p 001ba000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac3252000-7fbac3254000 rw-p 001be000 fc:01 11800995   
/lib/x86_64-linux-gnu/libc-2.19.so
7fbac3254000-7fbac3259000 rw-p  00:00 0 
7fbac3259000-7fbac3266000 r-xp  fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3266000-7fbac3465000 ---p d000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3465000-7fbac3466000 r--p c000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3466000-7fbac3467000 rw-p d000 fc:01 1057734
/usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0
7fbac3467000-7fbac348a000 r-xp  fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac366a000-7fbac366d000 rw-p  00:00 0 
7fbac3686000-7fbac3689000 rw-p  00:00 0 
7fbac3689000-7fbac368a000 r--p 00022000 fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac368a000-7fbac368b000 rw-p 00023000 fc:01 11800682   
/lib/x86_64-linux-gnu/ld-2.19.so
7fbac368b000-7fbac368c000 rw-p  00:00 0 
7fff2c09a000-7fff2c0bb000 rw-p  00:00 0  [stack]
7fff2c13-7fff2c132000 r--p  00:00 0  [vvar]
7fff2c132000-7fff2c134000 r-xp  00:00 0  [vdso]
ff60-ff601000 r-xp  00:00 0  
[vsyscall]
fish: Job 1, “/usr/sbin/usb_modeswitch_dispatcher --switch-systemd %I” 
terminated by signal SIGABRT (Abort)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-12 Thread Martin Pitt
@OdyX, do you know what's going on here? I'm afraid I'm not familiar
with usb-modeswitch at all..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-12 Thread Martin Pitt
OK, it was a stab in the dark, thanks for trying. I'm afraid I need
someone familiar with usb-modeswitch to explain how this is supposed to
work..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1431179] Re: usb_modeswitch@.service fails sometimes

2015-03-12 Thread Damon Lynch
@pitti command output as requested

** Attachment added: usb_modeswitch_output.txt
   
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4342405/+files/usb_modeswitch_output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431179

Title:
  usb_modeswitch@.service fails sometimes

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs