Bug 3945 - connman-properties gives segfault
Summary: connman-properties gives segfault
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Mihai Prica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-27 12:44 UTC by Stoicescu Cornel
Modified: 2013-09-02 10:29 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-02-27 12:44:32 UTC
branch: master
commit: 7d22ef28e64de06b6238d0ef9b664c0bee6efa46

Steps to reproduce:

Boot core-image-sato-sugarbay
1. open connman-properties
2. set Ethernet to Manual IP address
3. Set System Configuration to offline-mode
4. Set Wired Network to enabled
5. Set Ethernet to DHCP
6. set System Configuration to online-mode
7. go to Ethernet tab

*Notice connman-properties window closes.

*dmesg output: segfault at 0 ip 00007f00a5f18f37 sp 00007fff5a913fe8 error 4 in libc-2.17.so[7f00a5df6000+1a7000

*Note that when altering these actions a little(messing around inside connman-properties) the system would get in a state where user could not change the IP address anymore, even after restarting the system. I could not get a 100% reproducible scenario though.
Comment 1 Emilia Ciobanu 2013-04-12 13:50:16 UTC
The scenario fails only in networks that don't have a DHCP server configured.
Comment 2 Emilia Ciobanu 2013-04-12 13:50:42 UTC
Put into standby since we are considering changing the connman-UI for Yocto 1.5 Release.
Comment 3 Cristian Iorga 2013-04-30 06:57:49 UTC
Investigation in progress.
Comment 4 Cristian Iorga 2013-04-30 07:15:40 UTC
Hi Cornel,

Please clarify this:
At step 2 (during the reproducing procedure) do you enter valid info for manual IP address setup or you just leave the settings blank and hit apply?

Thanks,
Cristian
Comment 5 Stoicescu Cornel 2013-04-30 08:03:48 UTC
Please set valid data to reproduce. I did not test with invalid data.
Comment 6 Emilia Ciobanu 2013-05-23 08:57:45 UTC
Opened bug https://bugs.meego.com/show_bug.cgi?id=26008.
Comment 7 Emilia Ciobanu 2013-05-23 09:00:30 UTC
Closed bug https://bugs.meego.com/show_bug.cgi?id=26008.

Waiting for patch to be merged to upstream master.
Comment 8 Mihai Prica 2013-09-02 10:29:54 UTC
Fixed with commit 19154592630c87b03a53bd7b95232cc875f67188
Link: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=19154592630c87b03a53bd7b95232cc875f67188