FS#34931 - [modemmanager] crashes on adding modem

Attached to Project: Arch Linux
Opened by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 13:19 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 25 April 2013, 18:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Segfault always when trying to connect

Additional info:
* package version(s)
modemmanager 0.7.990-3
networkmanager 0.9.8.0-3
* config and/or log files etc.
ModemManager --debug: http://pastebin.com/H7w8Jjak
gdb stacktrace : http://pastebin.com/j540Cqbk

Steps to reproduce:

Enable ModemManager
Insert modem (I use Alcatel x310)
Try to connect via nm-applet
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 25 April 2013, 18:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  modemmanager-0.7.990-4
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 13:31 GMT Comment by phanisvara das (phani00) - Wednesday, 24 April 2013, 15:55 GMT
doesn't happen to me, not anymore since ModemManager 0.7.990-3 (see the bug mentioned above). it seems the crash prior to this version was caused by some strange SMS content stored in the modem. if you have access to a windows machine, perhaps deleting all SMS content might help?
Comment by Anatoly Berbeka (ekzotech) - Wednesday, 24 April 2013, 16:25 GMT
Had some trouble with 3g usb modem 2 days ago.
Today had update networkmanager to 0.9.8.0-3, add ModemManager.service to autostart and have no problem anymore.
Modemmanager 0.7.990-3
Now have some trouble with connetction - it's "freeze" sometimes, but maybe it is an provider problem.
Comment by arie setiawan (arietux) - Wednesday, 24 April 2013, 16:39 GMT
@phanisvara das
it doesn't work at me. i've remove all SMS content in the SIM Card.
before upgrade my archlinux, my modem work properly.

today, if i want to connect my modem, i must stop and start modemmanager again.
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 17:20 GMT
Removed all SMS through old modemmanager and tried again. Same result. Maybe it is not SMS-related crash?
Comment by Jan Alexander Steffens (heftig) - Wednesday, 24 April 2013, 17:33 GMT
Please get a better trace by rebuilding modemmanager with debug flags, as described here:
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Since it's a git package, also remove the #commit=95274bf in order to build the latest revision.

If it still crashes, please take the debug information to a bug upstream:
https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager&component=ModemManager
Also note the revision of ModemManager you built. You can get it by running "git rev-parse HEAD" in the src/ModemManager dir.
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 17:42 GMT
http://pastebin.com/hAegNVpW - full trace (build modemmanager with debug)
http://pastebin.com/iyiyqpLJ - disassembled crash point
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 17:46 GMT
95274bfa2327a5fec59db33ca94463f4f9baff9c - my revision number
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 17:54 GMT
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} --- - small strace info
Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 18:14 GMT Comment by Konstantin (rilian_la_te) - Wednesday, 24 April 2013, 19:09 GMT
dirty workaround (works, but warning removed)
Waiting to adding it to package...
Comment by Konstantin (rilian_la_te) - Thursday, 25 April 2013, 04:56 GMT

Loading...