Hi Daniel,

On Thu, Oct 14, 2010 at 9:19 AM, Daniel Wagner <[email protected]> wrote:
> Samuel here is the log and the description I did:
>
>  - started up connman
>  - started ofono
>  - ofono/test/enter-pin
>  - connected to ethernet (using carrick)
>  - connected to vodafone (using carrick)
>
>  connman connected then successfuly to vodafone
>
>  after a while connman crased. I didn't do anyhting with connman or ofono.
>
>
> [w...@candlejack src]$ sudo ./connmand  -n -d
> connmand[10359]: Enabling DNS server 192.168.100.4
> connmand[10359]: src/ondemand.c:ondemand_default_changed() service 0x91aec0
> connmand[10359]: src/wpad.c:__connman_wpad_stop() service 0x91c1b0
> connmand[10359]: src/notifier.c:__connman_notifier_disconnect() type 6
> connmand[10359]: src/notifier.c:technology_connected() type 6 connected 0
> connmand[10359]: src/profile.c:__connman_profile_changed()
> connmand[10359]: src/service.c:__connman_service_lookup_from_network() 
> network 0x924000
> connmand[10359]: src/service.c:__connman_service_lookup_from_network() 
> network 0x928c10
> connmand[10359]: src/connection.c:find_active_gateway()
> connmand[10359]: src/element.c:connman_element_update() element 0x932cf0 name 
> connection
> connmand[10359]: src/connection.c:connection_remove() gateway (null)
> connmand[10359]: src/element.c:connman_element_unref() element 0x932cf0 name 
> connection refcount 1
> connmand[10359]: src/element.c:remove_element() element 0x92ea80 name ipv4
> connmand[10359]: src/ipv4.c:ipv4_remove() element 0x92ea80 name ipv4
> connmand[10359]: src/timeserver.c:connman_timeserver_remove() server (null)
> connmand[10359]: src/ipv4.c:ipv4_remove() address (null)
> connmand[10359]: src/ipv4.c:ipv4_remove() netmask (null)
> connmand[10359]: src/ipv4.c:ipv4_remove() broadcast (null)
> connmand[10359]: Aborting (signal 11)
> connmand[10359]: ++++++++ backtrace ++++++++
> connmand[10359]: [0]: /lib64/libpthread.so.0() [0x3efc20f0f0]
> connmand[10359]: [1]: /lib64/libc.so.6(inet_network+0x19) [0x3efbaf7af9]
> connmand[10359]: [2]: ./connmand() [0x442103]
> connmand[10359]: [3]: ./connmand() [0x445f19]
> connmand[10359]: [4]: ./connmand() [0x42a869]
> connmand[10359]: [5]: /lib64/libglib-2.0.so.0() [0x3efde44187]
> connmand[10359]: [6]: /lib64/libglib-2.0.so.0() [0x3efde44141]
> connmand[10359]: [7]: /lib64/libglib-2.0.so.0(g_node_traverse+0x211) 
> [0x3efde44cc1]
> connmand[10359]: [8]: ./connmand(connman_element_unregister_children+0x97) 
> [0x42aac1]
> connmand[10359]: [9]: ./connmand() [0x42f87f]
> connmand[10359]: [10]: ./connmand(connman_network_set_connected+0x101) 
> [0x42fa00]
> connmand[10359]: [11]: ./connmand() [0x420fa9]
> connmand[10359]: [12]: ./connmand() [0x421158]
> connmand[10359]: [13]: ./connmand() [0x40c8e8]
> connmand[10359]: [14]: ./connmand() [0x40cd27]
> connmand[10359]: [15]: /lib64/libdbus-1.so.3(dbus_connection_dispatch+0x336) 
> [0x3f01a109d6]
> connmand[10359]: [16]: ./connmand() [0x40b4ea]
> connmand[10359]: [17]: /lib64/libglib-2.0.so.0() [0x3efde3994b]
> connmand[10359]: [18]: /lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e) 
> [0x3efde3923e]
> connmand[10359]: [19]: /lib64/libglib-2.0.so.0() [0x3efde3cc28]
> connmand[10359]: [20]: /lib64/libglib-2.0.so.0(g_main_loop_run+0x1a5) 
> [0x3efde3d075]
> connmand[10359]: [21]: ./connmand() [0x4265c3]
> connmand[10359]: [22]: /lib64/libc.so.6(__libc_start_main+0xfd) [0x3efba1eb1d]
> connmand[10359]: [23]: ./connmand() [0x40b3b9]
> connmand[10359]: +++++++++++++++++++++++++++
>
>
>> -------- backtrace --------
>> [0]: __connman_ipconfig_netmask_prefix_len() [ipconfig.c:121]
>> [1]: ipv4_remove() [ipv4.c:164]
>> [2]: remove_element() [element.c:1153]
>> [3]: connman_element_unregister_children() [element.c:1224]
>> [4]: set_connected() [network.c:946]
>> [5]: connman_network_set_connected() [network.c:999]
>> [6]: set_connected() [ofono.c:1498]
>> [7]: context_changed() [ofono.c:1545]
>> [8]: signal_filter() [watch.c:403]
>> [9]: message_filter() [watch.c:530]
>> [10]: message_dispatch() [mainloop.c:80]
>> [11]: main() [main.c:260]
>> [12]: _start() [dbus.c:0]
>> ---------------------------
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
>

Last mail was too long, sorry :-)

This is probably happening when a null netmask send to
__connman_ipconfig_netmask_prefix_len, crashing at inet_network with
null parameter.
I will reproduce the crash and send a fix asap.

Regards,

Cristiano Fernandes
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to