Bug 342583

Summary: yast2: configuration of LDAP client causes memory corruption
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: jsuchome, tgoettlicher
Version: Alpha 2   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Error output from terminal
YaST2 logs

Description Casual J. Programmer 2007-11-18 13:39:00 UTC
In openSuSE 10.3.1 when trying to configure LDAP Client an xmessage is triggered
and yast terminates.

As x-terminal content cannot be copied ( at least by me ) I repeated the action from a terminal. Output attached.

cat /etc/SuSE-release
openSUSE 10.3.1 (i586) Alpha0
VERSION = 10.3.1

rpm -qa | grep yast
yast2-backup-2.15.5-0.1
yast2-control-center-qt-2.15.6-9
yast2-gtk-2.15.9-53
yast2-xml-2.15.0-68
yast2-update-2.16.1-7
yast2-pam-2.16.0-16
yast2-fingerprint-reader-2.16.1-13
yast2-installation-2.16.2-8
yast2-iscsi-client-2.16.1-2
yast2-profile-manager-2.16.0-4
yast2-trans-en_US-2.15.5-13
yast2-qt-2.15.16-38
yast2-printer-2.16.4-4
yast2-irda-2.15.1-114
yast2-tftp-server-2.14.0-124
yast2-security-2.15.1-44
autoyast2-2.16.2-5
yast2-online-update-frontend-2.16.4-2
yast2-samba-server-2.16.0-17
yast2-ncurses-2.16.1-6
yast2-slp-2.15.0-51
yast2-control-center-2.15.6-9
yast2-ldap-2.15.1-100
yast2-storage-lib-2.16.5-2
yast2-trans-stats-2.15.0-40
yast2-sound-2.16.1-9
yast2-bluetooth-2.15.4-37
yast2-nfs-client-2.15.0-44
yast2-scanner-2.15.5-62
yast2-x11-2.15.11-48
autoyast2-installation-2.16.2-5
yast2-restore-2.16.0-7
yast2-network-2.16.9-2
yast2-online-update-2.16.4-2
yast2-users-2.16.2-4
yast2-inetd-2.15.1-62
yast2-sudo-2.15.3-108
yast2-trans-de-2.15.28-5
yast2-tv-2.16.0-19
yast2-perl-bindings-2.16.0-21
yast2-transfer-2.14.0-126
yast2-country-2.16.2-3
yast2-storage-2.16.5-2
yast2-ca-management-2.16.3-5
yast2-nfs-server-2.15.4-44
yast2-support-2.15.3-34
yast2-bootloader-2.16.2-8
yast2-control-center-gnome-2.13.2-118
yast2-kerberos-client-2.16.0-15
yast2-tune-2.15.7-42
yast2-samba-client-2.16.1-5
yast2-add-on-2.16.0-13
yast2-registration-2.16.0-6
yast2-dns-server-2.16.0-2
yast2-ldap-server-2.15.5-96
yast2-ftp-server-2.15.9-45
yast2-trans-ru-2.15.25-5
yast2-http-server-2.15.7-49
yast2-schema-2.15.0-152
yast2-theme-openSUSE-2.15.14-24
yast2-pkg-bindings-2.16.3-2
yast2-mouse-2.16.0-5
yast2-firewall-2.15.8-27
yast2-sysconfig-2.15.3-77
yast2-ntp-client-2.16.1-7
yast2-packager-2.16.5-2
yast2-ldap-client-2.16.2-3
yast2-mail-2.15.23-24
yast2-core-2.16.5-2
yast2-hardware-detection-2.15.8-53
yast2-2.16.11-2
yast2-apparmor-2.1-46
yast2-runlevel-2.16.0-7
yast2-nis-client-2.16.0-15
yast2-repair-2.16.2-5
yast2-metapackage-handler-0.7.3-5
yast2-dhcp-server-2.15.5-37
Comment 1 Casual J. Programmer 2007-11-18 13:39:54 UTC
Created attachment 183824 [details]
Error output from terminal
Comment 2 Casual J. Programmer 2007-11-18 13:42:43 UTC
Created attachment 183825 [details]
YaST2 logs
Comment 3 Thomas Göttlicher 2007-11-20 08:58:00 UTC
Reassigning to yast2-ldap-client maintainer.
Comment 4 Jiří Suchomel 2007-11-20 11:45:53 UTC
What is "openSuSE 10.3.1"? Where do you have the media from?
What did you try with ldap-client, did you only start it?
Comment 5 Casual J. Programmer 2007-11-20 13:11:03 UTC
This is a "clean" install from the 10.3 GM DVD plus current updates from factory, as detailed in comment #0 openSuSE 10.3.1 is the information you get, when you cat /etc/SuSE-release

As likewise pointed out in comment #0 I was in the process of configuring the LDAP client, i.e. change the settings according to my needs.
Comment 6 Lukas Ocilka 2007-11-20 13:14:24 UTC
*** Bug 342526 has been marked as a duplicate of this bug. ***
Comment 7 Jiří Suchomel 2007-11-20 13:24:21 UTC
It is not as clear as you think. The fact that you have newer version of some packages doesn't tell anything about how did you install them.

And "process of configuring the LDAP client" might mean several things: that's why I asked when exactly did it happen: when you opened the module? When you clicked on anything?
Comment 8 Jiří Suchomel 2007-11-20 14:04:07 UTC
Reproduced, looks like a problem with a new UI. 
Hint: it crashes in the dialog (yast2 ldap -> "Advanced Configuration") with the tabs.
Comment 9 Katarina Machalkova 2007-11-20 14:17:28 UTC
Mod-ui seems not to be involved in any way, in that case the reporter would have:
yast2-core 2.16.6
yast2-qt 2.16.1
yast2-ncurses 2.16.2

Anyway, it crashes mod-ui as well, but obviously in a different way :)
Comment 10 Casual J. Programmer 2007-11-20 14:41:29 UTC
OK, so here is what I do:

start yast using the Qt GUI ( also using Gnome if that matters )
select network services
select LDAP Client
select Advanced Configuration
select Administration settings
select Configure User Management Settings
that's it. And we get a nice xmessage box containing all the stuff listed in comment #0

HTH
Comment 11 Jiří Suchomel 2007-11-20 20:26:06 UTC
Does it work for you if you remove that HVStretch? For me, it just crashes at another place. But that might be caused by the inconsistence of the factory packages...
Comment 12 Katarina Machalkova 2007-11-21 09:12:13 UTC
With mod-ui and HVStretch removed, it works perfectly for me. Tried repeating steps described in comment #10, and further playing around with advanced configuration, I failed to reproduce the crash.

Comment 13 Katarina Machalkova 2007-11-21 09:13:44 UTC
Back to jsuchome, as it's not UI related
Comment 14 Casual J. Programmer 2007-11-21 09:16:11 UTC
I think you lost me here. What are you referencing with "mod-ui" and "HVStretch" ?
Comment 15 Jiří Suchomel 2007-11-21 09:28:36 UTC
Fixed in yast2-ldap-client-2.16.4
Comment 16 Katarina Machalkova 2007-11-21 10:14:12 UTC
> I think you lost me here. What are you referencing with "mod-ui" and
> "HVStretch" ?

http://lists.opensuse.org/yast-devel/2007-11/msg00058.html
http://lists.opensuse.org/yast-devel/2007-11/msg00068.html
Comment 17 Casual J. Programmer 2007-11-21 10:53:04 UTC
Thank you!