On Fri, Jan 21, 2011 at 11:29 AM, Marcel Holtmann <[email protected]> wrote:
[...]
>> It seems that in src/voicecall.c/append_voicecall_properties "name"
>> points to garbage as commenting the line:
>> ofono_dbus_dict_append(dict, "Name", DBUS_TYPE_STRING, &name);
>> fixes the problem.
>
> can you print the content of name and call->name fields as part of a
> debug statement. I like to see what is in there.
>
> At least the pointer should be valid since it pointers to call->name
> array. Maybe the content is just not UTF-8 string.
ofono_dbus_dict_append(dict, "LineIdentification",
DBUS_TYPE_STRING, &callerid);
DBG("name %s call->name %s", name, call->name);
ofono_dbus_dict_append(dict, "Name", DBUS_TYPE_STRING, &name);
ofonod[5771]: src/voicecall.c:ofono_voicecall_notify() Did not find a
call with id: 1
ofonod[5771]: src/voicecall.c:append_voicecall_properties() name ��+@
call->name ��+@
ofonod[5771]: System bus has disconnected!
Niko
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono