I changed the line
PATH=/sbin:/usr/sbin:$PATH
to
export PATH=/sbin:/usr/sbin:$PATH
and now it works.
For some reason the PATH variable was not passed to the dispatcher.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
reproduced with alcatel ot-x220s
usb-modeswitch version 1.2.3+repack0-1ubuntu3 (quantal)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip
and of usb_modeswitch skript was
exec 1- 2- 5- 7-
(
. /lib/udev/hotplug.functions
wait_for_file /usr/sbin/usb_modeswitch_dispatcher
exec usb_modeswitch_dispatcher --switch-mode $1 $0 /dev/null 21
exit 0
)
exit 0
became:
exec 1- 2- 5- 7-
(
.
You said correct the search for modprobe to properly figure out
whether it's available from PATH. and looks like now it fails at
strdup(getenv(PATH));
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Same for me, too.
Reproduced in 12.04 with Huawei E1750.
Fix from comment #18 is worked for me, too.
usb-modeswitch version 1.2.0+repack0-1ubuntu1
$ uname -a
Linux io2 3.2.0-11-generic #19-Ubuntu SMP Wed Jan 25 22:03:06 UTC 2012 i686
i686 i386 GNU/Linux
--
You received this bug notification
Same for me: reproduced in 12.04 (with ZTE MF626 it breaks connectivity
through gsm modem) and fix from comment #18 is worked for me.
usb-modeswitch version is 1.2.0+repack0-1ubuntu1
$ uname -a
Linux uanote0106 3.2.0-10-generic #17-Ubuntu SMP Thu Jan 19 19:04:20 UTC 2012
x86_64 x86_64 x86_64
I think this issue has come back to life in 12.04. I updated to pangolin
a week ago, and yesterday, after a dist-upgrade, I started to suffer
this same problem. The solution I posted on #18 solves the problem
again.
My usb-modeswitch version is 1.2.0+repack0-1ubuntu1
--
You received this bug
This bug was fixed in the package usb-modeswitch - 1.1.9-1ubuntu3
---
usb-modeswitch (1.1.9-1ubuntu3) oneiric; urgency=low
* debian/patches/dispatcher-c-rewrite.patch: fix crash in failing to match
devices with config lists before SCSI attributes are checked.
(LP: #824147)
the fix proposed in post #20 fixed the problem for me (ZTE MF180 HDSPA
USBStick) - no more segfaults
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8
I can confirm that fix proposed by ourasi in post #20 works for my
Option GlobeSurfer iCON HSUPA USBStick.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]:
** Branch linked: lp:~mathieu-tl/ubuntu/oneiric/usb-modeswitch/lp824147
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
** Changed in: usb-modeswitch (Ubuntu)
Status: Incomplete = In Progress
** Changed in: usb-modeswitch (Ubuntu)
Assignee: (unassigned) = Mathieu Trudel-Lapierre (mathieu-tl)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
no, this was on 3rd line from the end of /lib/udev/usb_modeswitch,
originally:
exec /usr/sbin/usb_modeswitch_dispatcher $@ 2/dev/null
, now
exec /usr/sbin/usb_modeswitch_dispatcher $@ /dev/null 21
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Hi Mathieu,
I have reported the bug https://bugs.launchpad.net/bugs/827679 , let me
know if you think it's related as Rodrigo pointed and if you want me to
provide some logs for you.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I can confirm, that line
exec /usr/sbin/usb_modeswitch_dispatcher $@ /dev/null 21
in /lib/udev/usb_modeswitch
solved segfault problem with Huawei E367 and Nokia CS-15 modems
tested in Linux Mint 10 and 11
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Well, I'll need to look this up, because I can't comprehend why this
would make it fail ;)
Regardless, it looks correct, so no sense in blocking on that, I'll
prepare an upload.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I just got this on my oneiric machine. My mirror only updates once a day, so I
haven't tried this udev people speak of, but here's what I've found.
Enabling logging in /etc/usb_modeswitch.conf supresses the bug.
Got this with ltrace:
__asprintf_chk(0x608328, 1, 0x405c11, 0x405c47, 0x405c35) = 43
** Attachment added: sr-2-ltrace.log
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+attachment/2289572/+files/sr-2-ltrace.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Here's another run, got the stderr, and ltrace output. If I try to catch
stdout, it looks like it doesn't segfault.
** Attachment added: sr-2-output.log
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+attachment/2289571/+files/sr-2-output.log
--
You received this bug
Got it in gdb:
backtrace full
#0 0x00401d88 in main (argc=optimized out, argv=optimized out) at
usb_modeswitch_dispatcher.c:339
reg = {buffer = 0x0, allocated = 0, used = 0, syntax = 0, fastmap =
0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0,
I'm also affected by this bug. I replaced the line with
exec ltrace /usr/sbin/usb_modeswitch_dispatcher $@
/tmp/ltrace-$(date).txt 21
to avoid name clashes, and, as Mathieu observed, the process exited
normally (meaning that the usb modem got switched, modemmanager
recognized it, and
** Attachment added: ltrace-Wed Aug 17 19:14:30 CEST 2011.txt
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+attachment/2286490/+files/ltrace-Wed%20Aug%2017%2019%3A14%3A30%20CEST%202011.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Well, I won't be able to get anything fixed unless we catch one such
occurrence (with the ltrace log) when the modeswitch application is
crashing (therefore writing its message segfault in syslog). Again, this
one appears to be ending succesfully, so not much to do with it...
Unless I'm missing a
I think that latest udev update solved this problem on oneiric.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
After trying several things out, I realized that only changing the
invocation to:
exec /usr/sbin/usb_modeswitch_dispatcher $@ /dev/null 21
definitely solves the problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
was it still exec tclsh ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
7fff6a785f58 error 4 in
Hasn't this run not crashed? Please make sure you don't re-run usb-
modeswitch before attaching the ltrace log; since it will get
overwritten every time the binary runs. If you run usb-modeswitch once
and it segfaults, copy the file immediately to some other place if you
need a working 3G device
Could you try to modify the file in /lib/udev/usb_modeswitch, and change
the third line from the end to:
exec ltrace /usr/sbin/usb_modeswitch_dispatcher $@ /tmp/ltrace.txt
21
(take a backup of the file first).
Then try to connect the dongle again (without the Mobile Partner of
course); and
** Attachment added: ltrace.txt
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/824147/+attachment/2280937/+files/ltrace.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
I can confirm.
Same segfault happens also with Nokia CS-15 modem and Mobile Partner doesn't
solve that.
E 367 and CS-15 are segaulting also if I install usb-modeswitch 1.1.9 to Mint
10 (with backported libpipeline1).
--
You received this bug notification because you are a member of Ubuntu
Another user from Ubuntu Finland can confirm this bug. He uses Huawei
E367.
** Changed in: usb-modeswitch (Ubuntu)
Status: Incomplete = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
It is management program (and maybe driver) for Huawei E353 stick.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
7fff6a785f58 error 4 in libc-2.13.so[7eff40e29000+195000]
To manage
Hi,
In this kind of case you should also have a crash report under
/var/crash. Could you please verify if there is a file starting in
_usr_sbin_usb_modeswitch_dispatcher_* ? It should contain a crash dump
which will be useful in debugging this problem. If such a file exists,
please use the
Actually, let's give this another shot in case: if you just reconnect
the device, does it then switch properly or is this happening every
single time?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
This happening always if use it without mobile partner. But if I have
mobile partner installed, I can't see this segfault.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
What is this mobile partner?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824147
Title:
usb_modeswitch_[2193]: segfault at 8 ip 7eff40eab681 sp
7fff6a785f58 error 4 in
37 matches
Mail list logo