Open GoogleCodeExporter opened 9 years ago
Interesting configure check :-)
I would presume that the purple_core_get_ui() call is returning null and that
g_str_equal() doesn't play nice with nulls?
There's a purple string comparison function that's supposed to handle nulls
better that I might switch to using. I guess this should also be reported to
the pidgin-sipe guys too :-)
Original comment by eionrobb
on 19 May 2014 at 7:11
I cannot judge the stuff pidgin-sipe is doing - I'm merely a user.
I DO find this 'test program' a little weird, but I'm not sure if they can take
the blame here: Any purple-using program (without a UI?) would probably
segfault as long as pidgin-opensteamworks is available.
Note that in cases like these (and I'd say that's a valid use for libpurple,
even if the sample program is trivial) there is NO UI at all.
You're the C guy. Can you check what pruple_core_get_ui() returns in the sample
I pasted (see gist, including the compilation command specific for my Arch
installation)? I'd guess that it _doesn't_ return null but some weird number
(see pidgin ticket I linked to) and that leads to the sigsev. I'd be
disappointed if a simple null would cause this problem. But as I said: You're
the expert :) My C knowledge is a 1-2 on a scale from 1 to 10, tops, and my
investigations would probably look more like butchering. Plus, I don't know why
you need the UI detection (i.e. why the dependency, why is this the way to go
to detect whether gnome-keyring is required etc) at all.
Thanks for investigating!
Original comment by benjamin.podszun@gmail.com
on 20 May 2014 at 5:21
Original issue reported on code.google.com by
benjamin.podszun@gmail.com
on 19 May 2014 at 3:33