indicator-session sporadically segfaults if used with winbind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-session (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
when looking into our pc pool with 44 machines, in around 2-5 sessions the System Menu is missing after a crash of indicator-
There are arround 100 ubuntu machines for students with 32000 real users from an active directory. The users cannot see any users real name.
I wasn't able to find the right debug symbols, but in the disassembly it looks like a crash in service.c:321 .
In the attached crash dump the instruction pointer points to 0x4120a0 in memory, which should be the get_current_
static const char *
get_current_
{
GHashTableIter iter;
gpointer key, value;
/* is it the guest? */
if (indicator_
return _("Guest");
/* is it a user? */
g_hash_
while (g_hash_
{
Indicator
if (user->
return get_user_label (user);
}
return "";
}
The strange thing is: before inserting into the hashmap, every user is checked to be != NULL. So maybe I guessed the wrong function, or there are threading issues.
Disassembly:
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
=> 0x00000000004120a0 <+1515>: movzx edx,BYTE PTR [r13+0x0]
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
0x0000000000
Some command output:
$> lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Package version:
$> dpkg -l | grep indicator-session
ii indicator-session 12.10.5+
~$> gsettings list-recursively com.canonical.
com.canonical.
com.canonical.
com.canonical.
com.canonical.
com.canonical.
com.canonical.
~$> wbinfo -u | wc -l
127390
iw18ejyg@cip-54-54: ~$> python -c 'print(
pwd.struct_
Related branches
Changed in indicator-session (Ubuntu): | |
status: | Incomplete → New |
Changed in indicator-session (Ubuntu Trusty): | |
importance: | Undecided → High |
using another machine with the same package selection, home directory, user id, but user information with real name from ldap+kerberos, I never observed this crash.