FS#40243 - [connman] SIGSEGV

Attached to Project: Community Packages
Opened by Hendrik Donner (henny) - Tuesday, 06 May 2014, 16:34 GMT
Last edited by Daniel Wallace (gtmanfred) - Thursday, 12 June 2014, 21:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel Wallace (gtmanfred)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Connman dies with SIGSEGV especially after resume.


Additional info:
* Connman 1.23
* Backtrace:
May 06 18:18:15 elite connmand[5408]: Aborting (signal 11) [/usr/bin/connmand]
May 06 18:18:15 elite connmand[5408]: ++++++++ backtrace ++++++++
May 06 18:18:15 elite connmand[5408]: #0 0x7fd0253addf0 in /usr/lib/libc.so.6
May 06 18:18:15 elite connmand[5408]: #1 0x413a14 in /usr/bin/connmand
May 06 18:18:15 elite connmand[5408]: #2 0x458fbf in connman_inet_is_ipv6_supported() at ??:?
May 06 18:18:15 elite connmand[5408]: #3 0x7fd026508483 in /usr/lib/libglib-2.0.so.0
May 06 18:18:15 elite connmand[5408]: #4 0x7fd026507a65 in /usr/lib/libglib-2.0.so.0
May 06 18:18:15 elite connmand[5408]: #5 0x7fd026507dc8 in /usr/lib/libglib-2.0.so.0
May 06 18:18:15 elite connmand[5408]: #6 0x7fd02650808a in /usr/lib/libglib-2.0.so.0
May 06 18:18:15 elite connmand[5408]: #7 0x40fda5 in /usr/bin/connmand
May 06 18:18:15 elite connmand[5408]: #8 0x7fd02539a000 in /usr/lib/libc.so.6
May 06 18:18:15 elite connmand[5408]: +++++++++++++++++++++++++++
May 06 18:18:15 elite systemd[1]: connman.service: main process exited, code=exited, status=1/FAILURE
May 06 18:18:15 elite systemd[1]: Unit connman.service entered failed state.
May 06 18:18:15 elite systemd[1]: connman.service holdoff time over, scheduling restart.
May 06 18:18:15 elite systemd[1]: Stopping Connection service...
May 06 18:18:15 elite systemd[1]: Starting Connection service...
May 06 18:18:15 elite systemd[1]: Started Connection service.
May 06 18:18:15 elite connmand[7796]: Connection Manager version 1.23



Steps to reproduce:
Just start the connman systemd service. Suspend and resume seems to make it easier to trigger the bug.


Maybe a problem with the libc/libglib version or a bug in connman?
Should i report this upstream?
This task depends upon

Closed by  Daniel Wallace (gtmanfred)
Thursday, 12 June 2014, 21:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.24
Comment by Doug Newgard (Scimmia) - Tuesday, 06 May 2014, 16:59 GMT
Can't reproduce, connmand is running on this machine (x86_64) right now. Looks like this might be ipv6 related?
Comment by Hendrik Donner (henny) - Tuesday, 06 May 2014, 17:08 GMT
Yes the backtrace looks like it could be IPv6 related. Did you try to suspend and resume?
Comment by Doug Newgard (Scimmia) - Tuesday, 06 May 2014, 17:12 GMT
A couple of times, no problem.
Comment by Hendrik Donner (henny) - Tuesday, 06 May 2014, 17:57 GMT
Okay, i rebooted, suspended and resumed two times and waited a while.
Result:
May 06 19:53:52 elite connmand[5315]: eth0 {del} route 2a02:908:fa1a:880:6631:50ff:fe96:9b5e gw :: scope 0 <UNIVERSE>
May 06 19:54:23 elite connmand[5315]: Aborting (signal 11) [/usr/bin/connmand]
May 06 19:54:23 elite connmand[5315]: ++++++++ backtrace ++++++++
May 06 19:54:23 elite connmand[5315]: #0 0x7f513099bdf0 in /usr/lib/libc.so.6
May 06 19:54:23 elite connmand[5315]: #1 0x4384b0 in connman_device_get_ident() at ??:?
May 06 19:54:23 elite connmand[5315]: #2 0x447141 in connman_service_lookup_from_network() at ??:?
May 06 19:54:23 elite connmand[5315]: #3 0x458fa3 in connman_inet_is_ipv6_supported() at ??:?
May 06 19:54:23 elite connmand[5315]: #4 0x7f5131af6483 in /usr/lib/libglib-2.0.so.0
May 06 19:54:23 elite connmand[5315]: #5 0x7f5131af5a65 in /usr/lib/libglib-2.0.so.0
May 06 19:54:23 elite connmand[5315]: #6 0x7f5131af5dc8 in /usr/lib/libglib-2.0.so.0
May 06 19:54:23 elite connmand[5315]: #7 0x7f5131af608a in /usr/lib/libglib-2.0.so.0
May 06 19:54:23 elite connmand[5315]: #8 0x40fda5 in /usr/bin/connmand
May 06 19:54:23 elite connmand[5315]: #9 0x7f5130988000 in /usr/lib/libc.so.6
May 06 19:54:23 elite connmand[5315]: +++++++++++++++++++++++++++
May 06 19:54:23 elite systemd[1]: connman.service: main process exited, code=exited, status=1/FAILURE
May 06 19:54:23 elite systemd[1]: Unit connman.service entered failed state.
May 06 19:54:23 elite systemd[1]: connman.service holdoff time over, scheduling restart.
May 06 19:54:23 elite systemd[1]: Stopping Connection service...
May 06 19:54:23 elite systemd[1]: Starting Connection service...
May 06 19:54:23 elite systemd[1]: Started Connection service.
May 06 19:54:23 elite connmand[5545]: Connection Manager version 1.23

Different backtrace, but looks IPv6 related.
Comment by Daniel Wallace (gtmanfred) - Tuesday, 10 June 2014, 20:28 GMT
Can you check if this is fixed in the new version 1.24?

Thanks
Comment by Hendrik Donner (henny) - Wednesday, 11 June 2014, 20:29 GMT
Looks like it is fixed. No SIGSEV so far.

Loading...