Greetings,

variable interface is (null). If I execute "export interface=eth0" before
running "udhcpc-script renew" - segmentation fault error doesn't appear.

Best regards,
Vaidotas

2009/11/30 Marcel Holtmann <[email protected]>

> Hi Vaidotas,
>
> > I'm getting the same symptoms as described in this post
> > http://lists.connman.net/pipermail/connman/2009-October/000690.html when
> > using connman with udhcpc. udhcpc-script gives sigsegv error. Here's the
> > backtrace from gdb:
> > #0 0xb7eb2f43 in strlen () from /lib/libc.so.6
> > #1 0xb7fcfd4d in ?? () from /lib/libdbus-1.so.3
> > #2 0xb7fbb9f3 in ?? () from /lib/libdbus-1.so.3
> > #3 0xb7fc093e in dbus_message_iter_append_basic () from
> /lib/libdbus-1.so.3
> > #4 0xb7fc14f8 in dbus_message_append_args_valist () from
> /lib/libdbus-1.so.3
> > #5 0xb7fc15ef in dbus_message_append_args () from /lib/libdbus-1.so.3
> > #6 0x0804897b in main ()
> >
> > Looks like that it crashes when executing command on line 95 of
> > udhcpc-script.c :
> >
> > dbus_message_append_args(msg, DBUS_TYPE_STRING, &interface,
> > DBUS_TYPE_STRING, &address,
> > DBUS_TYPE_STRING, &netmask,
> > DBUS_TYPE_STRING, &broadcast,
> > DBUS_TYPE_STRING, &gateway,
> > DBUS_TYPE_STRING, &dns,
> > DBUS_TYPE_INVALID);
> >
> > It is an embedded system, so most of debug info are not available. What
> > other information is needed for this bug to be resolved?
>
> I assume that one of these values end up being NULL. Can add some debug
> code and figure out which one.
>
> Regards
>
> Marcel
>
>
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
>
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to