Displaying 3 results from an estimated 3 matches for "old_iface".
2018 Feb 22
0
Auth SEGV on sparc64, alignment problem?
...rote:
>
> Fancy, while not fun. :-) But thanks, that does work. Doing that, n?ing over calls to strcmp, it failed:
>
> passdbs_init () at passdb.c:313
> 313 passdb_register_module(&passdb_ldap);
> (gdb)
> passdb_register_module (iface=0x280120) at passdb.c:33
> 33 old_iface = passdb_interface_find(iface->name);
> (gdb)
> passdb_interface_find (name=0x16fe60 "ldap") at passdb.c:20
> 20 array_foreach(&passdb_interfaces, ifaces) {
> (gdb)
> 21 struct passdb_module_interface *iface = *ifaces;
> (gdb)
> 23 if (strcmp(iface->nam...
2018 Feb 22
2
Auth SEGV on sparc64, alignment problem?
Fancy, while not fun. :-) But thanks, that does work. Doing that, n?ing over calls to strcmp, it failed:
passdbs_init () at passdb.c:313
313 passdb_register_module(&passdb_ldap);
(gdb)
passdb_register_module (iface=0x280120) at passdb.c:33
33 old_iface = passdb_interface_find(iface->name);
(gdb)
passdb_interface_find (name=0x16fe60 "ldap") at passdb.c:20
20 array_foreach(&passdb_interfaces, ifaces) {
(gdb)
21 struct passdb_module_interface *iface = *ifaces;
(gdb)
23 if (strcmp(iface->name, name) == 0)
(gdb) n
20 array...
2018 Feb 22
2
Auth SEGV on sparc64, alignment problem?
Sadly, that doesn?t help either. Over the past day, I?ve built and installed a different branch of the OS (stable/11, instead of release/11.1), to see if a new compiler/libc might change things. Sadly, it does not.
In the same situation now, auth fails immediately with signal 11. Running gdb on auth (from build dir, compiled -g -O2) shows something similar.
- Chris
# gdb