Bug 343899

Summary: yast2 sw_single when closed via the "close window" button in the window frame throws xmessage
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
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: screenshot of xmessage
yast2 logs
yast2logs
screenshot

Description Casual J. Programmer 2007-11-25 09:42:44 UTC
In openSuSE 10.3.1 closing yast2 sw_single by activating the "close window" button in the window frame causes an xmessage.

For details see the attached screenshot and y2logs.

Alas it doesn't seem to be possible to copy and paste the content from an xmessage ( at least I can't ).
Comment 1 Casual J. Programmer 2007-11-25 09:44:07 UTC
openSUSE 10.3.1 (i586) Alpha0
VERSION = 10.3.1

rpm -qa | grep yast2
yast2-backup-2.15.5-0.1
yast2-gtk-2.15.9-53
yast2-control-center-qt-2.15.6-10
yast2-restore-2.16.0-8
yast2-online-update-frontend-2.16.5-2
yast2-users-2.16.3-3
yast2-http-server-2.15.7-51
yast2-mouse-2.16.0-6
yast2-control-center-gnome-2.13.2-120
yast2-ldap-server-2.15.5-97
yast2-trans-en_US-2.15.5-13
yast2-perl-bindings-2.16.0-22
yast2-sudo-2.15.3-110
yast2-ca-management-2.16.3-6
yast2-security-2.15.1-45
yast2-nfs-server-2.15.4-45
yast2-nis-client-2.16.0-16
yast2-profile-manager-2.16.0-6
yast2-pam-2.16.0-17
yast2-online-update-2.16.5-2
yast2-update-2.16.1-9
yast2-slp-2.15.0-52
yast2-network-2.16.9-3
yast2-samba-server-2.16.0-19
yast2-ldap-2.15.1-100
yast2-trans-stats-2.15.0-40
yast2-trans-de-2.15.28-5
yast2-ncurses-2.16.2-2
yast2-fingerprint-reader-2.16.1-14
yast2-printer-2.16.4-5
yast2-apparmor-2.1-47
yast2-kerberos-client-2.16.0-16
yast2-metapackage-handler-0.7.3-6
yast2-transfer-2.14.0-127
yast2-2.16.11-3
yast2-ftp-server-2.15.9-47
yast2-iscsi-client-2.16.2-2
yast2-dhcp-server-2.15.5-39
yast2-dns-server-2.16.0-4
yast2-samba-client-2.16.1-6
yast2-country-2.16.2-4
yast2-tv-2.16.0-20
yast2-repair-2.16.2-7
yast2-firewall-2.15.8-28
yast2-nfs-client-2.15.0-45
yast2-support-2.15.3-35
yast2-core-2.16.7-2
autoyast2-installation-2.16.2-7
yast2-trans-ru-2.15.25-5
yast2-hardware-detection-2.15.8-54
yast2-add-on-2.16.0-15
yast2-packager-2.16.9-3
yast2-control-center-2.15.6-10
yast2-tune-2.15.7-44
yast2-scanner-2.15.5-63
yast2-theme-openSUSE-2.15.14-25
yast2-mail-2.15.23-26
yast2-registration-2.16.0-8
yast2-pkg-bindings-2.16.4-2
yast2-inetd-2.15.1-64
yast2-runlevel-2.16.0-8
yast2-sysconfig-2.15.3-78
yast2-irda-2.15.1-115
yast2-installation-2.16.2-9
yast2-storage-2.16.5-4
yast2-bluetooth-2.15.4-38
yast2-schema-2.15.0-154
yast2-storage-lib-2.16.5-4
yast2-xml-2.16.0-2
yast2-ldap-client-2.16.4-2
yast2-x11-2.15.11-49
yast2-sound-2.16.1-10
yast2-bootloader-2.16.2-10
yast2-ntp-client-2.16.2-2
yast2-tftp-server-2.14.0-125
yast2-qt-2.16.3-2
autoyast2-2.16.2-7
Comment 2 Casual J. Programmer 2007-11-25 09:44:45 UTC
Created attachment 184620 [details]
screenshot of xmessage
Comment 3 Casual J. Programmer 2007-11-25 09:47:00 UTC
Created attachment 184621 [details]
yast2 logs
Comment 4 Ladislav Slezák 2007-11-26 14:12:31 UTC
Um, "pure virtual method called" doesn't say much. Please start sw_single module in gdb and provide the backtrace (see http://en.opensuse.org/Bugs/YaST#How_can_I_start_YaST_in_debugger_.28gdb.29.3F_How_can_I_create_a_backtrace.3F )
Comment 5 Casual J. Programmer 2007-11-26 15:39:34 UTC
gdb /usr/lib/YaST2/bin/y2base
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run sw_single qt
Starting program: /usr/lib/YaST2/bin/y2base sw_single qt
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb76a39f0 (LWP 4607)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

[New Thread 0xb5a33b90 (LWP 4616)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb4effb90 (LWP 4694)]
[Thread 0xb4effb90 (LWP 4694) exited]
[New Thread 0xb46feb90 (LWP 4695)]
[Thread 0xb46feb90 (LWP 4695) exited]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb5a33b90 (LWP 4616)]
0xffffe410 in __kernel_vsyscall ()
(gdb) 
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb786beb0 in raise () from /lib/libc.so.6
#2  0xb786d808 in abort () from /lib/libc.so.6
#3  0xb7a6d0b8 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0xb7a6a9e5 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb7a6aa22 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb7a6bc55 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7  0xb7ed506f in YUI::uiThreadMainLoop ()
   from /usr/lib/YaST2/plugin/libpy2UI.so.2
#8  0xb7ed50f1 in start_ui_thread () from /usr/lib/YaST2/plugin/libpy2UI.so.2
#9  0xb7bef0a5 in start_thread () from /lib/libpthread.so.0
#10 0xb790ae1e in clone () from /lib/libc.so.6
(gdb) 
Comment 6 Ladislav Slezák 2007-11-26 15:58:54 UTC
#6  0xb7a6bc55 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7  0xb7ed506f in YUI::uiThreadMainLoop ()
   from /usr/lib/YaST2/plugin/libpy2UI.so.2

... so this is from the UI:: name space.
Comment 7 Ladislav Slezák 2007-11-28 12:33:50 UTC
*** Bug 344528 has been marked as a duplicate of this bug. ***
Comment 8 Stefan Hundhammer 2007-12-05 19:55:08 UTC
Fixed now (yast2-qt-2.16.7) along with major changes in the YQDialog and WM_CLOSE handling area.
Comment 9 Casual J. Programmer 2007-12-10 14:11:36 UTC
rpm -qa | grep yast2-qt
yast2-qt-2.16.7-2

still has it :-(
Comment 10 Casual J. Programmer 2008-01-05 23:43:25 UTC
This is still not fixed:

pure virtual method called
terminate called without an active exception
YaST got signal 6 at YCP file /usr/share/YaST2/clients/sw_single.ycp:481
/sbin/yast2: line 420: 10545 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2QT_ARGS

Now at:

Notebook: Fujitsu Siemens Amilo Si 1520
Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express
Monitor:  QUANTADISPLAY LCD Monitor 1280x800@60Hz
Wireless: Intel PRO/Wireless 3945ABG Network Connection
Sound:    82801G (ICH7 Family) High Definition Audio Controller
Desktop:  gnome2-SuSE-10.3-136
YaST GUI: yast2-qt-2.16.12-7
OS:       openSUSE 11.0 (i586) Alpha0 VERSION = 11.0
Kernel:   2.6.24-rc6-git7-2-default

rpm -qa | grep yast | sort

autoyast2-2.16.3-3
autoyast2-installation-2.16.3-3
yast2-2.16.18-7
yast2-add-on-2.16.0-27
yast2-add-on-creator-2.16.3-7
yast2-apparmor-2.1-59
yast2-autofs-2.15.3-3
yast2-backup-2.16.1-8
yast2-bluetooth-2.15.4-46
yast2-bootloader-2.16.3-8
yast2-ca-management-2.16.4-7
yast2-control-center-2.16.0-10
yast2-control-center-gnome-2.13.2-134
yast2-control-center-qt-2.16.0-10
yast2-core-2.16.17-5
yast2-core-devel-2.16.17-5
yast2-country-2.16.5-6
yast2-country-data-2.16.5-6
yast2-devel-doc-2.16.18-7
yast2-devtools-2.16.3-6
yast2-dhcp-server-2.15.5-51
yast2-dirinstall-2.16.0-17
yast2-dns-server-2.16.1-7
yast2-drbd-2.13.1-82
yast2-firewall-2.15.8-39
yast2-firstboot-2.16.2-20
yast2-ftp-server-2.15.9-59
yast2-gtk-2.15.9-53
yast2-hardware-detection-2.16.0-12
yast2-http-server-2.15.9-8
yast2-inetd-2.15.1-76
yast2-installation-2.16.8-6
yast2-instserver-2.15.4-73
yast2-iscsi-client-2.16.2-13
yast2-iscsi-server-2.14.3-119
yast2-isns-1.0.4-38
yast2-kdump-2.16.8-8
yast2-kerberos-client-2.16.1-7
yast2-kerberos-server-2.16.0-15
yast2-ldap-2.15.1-112
yast2-ldap-client-2.16.5-7
yast2-ldap-server-2.15.5-108
yast2-mail-2.15.24-3
yast2-mail-plugins-2.15.24-3
yast2-mcs-plugin-0.1.0-68
yast2-metapackage-handler-0.7.3-17
yast2-mouse-2.16.0-17
yast2-multipath-2.13.0-117
yast2-ncurses-2.16.7-7
yast2-network-2.16.17-7
yast2-network-devel-doc-2.16.17-7
yast2-nfs-client-2.15.0-56
yast2-nfs-server-2.15.5-2
yast2-nis-client-2.16.0-27
yast2-nis-server-2.16.0-35
yast2-nis-server-devel-doc-2.16.0-35
yast2-ntp-client-2.16.2-13
yast2-online-update-2.16.6-8
yast2-online-update-frontend-2.16.6-8
yast2-packager-2.16.12-7
yast2-pam-2.16.0-28
yast2-perl-bindings-2.16.0-33
yast2-pkg-bindings-2.16.7-6
yast2-pkg-bindings-devel-doc-2.16.7-6
yast2-printer-2.16.6-11
yast2-printer-devel-doc-2.16.6-11
yast2-product-creator-2.16.6-9
yast2-profile-manager-2.16.0-18
yast2-python-bindings-2.16.2-8
yast2-qt-2.16.12-7
yast2-registration-2.16.0-19
yast2-repair-2.16.2-19
yast2-restore-2.16.0-19
yast2-ruby-bindings-0.2.0-33
yast2-runlevel-2.16.0-19
yast2-samba-client-2.16.1-17
yast2-samba-server-2.16.0-31
yast2-scanner-2.15.5-74
yast2-schema-2.15.0-156
yast2-security-2.15.1-56
yast2-slide-show-SuSELinux-2.15.16-2
yast2-slp-2.15.0-63
yast2-slp-server-2.15.0-74
yast2-sound-2.16.1-21
yast2-squid-2.16.0-27
yast2-sshd-2.16.0-13
yast2-storage-2.16.7-7
yast2-storage-devel-2.16.7-7
yast2-storage-evms-2.16.7-7
yast2-storage-lib-2.16.7-7
yast2-sudo-2.15.3-122
yast2-support-2.15.3-46
yast2-sysconfig-2.15.3-89
yast2-tftp-server-2.14.0-136
yast2-theme-openSUSE-2.16.3-5
yast2-trans-de-2.15.29-3
yast2-trans-en_US-2.15.5-20
yast2-transfer-2.16.0-8
yast2-trans-ru-2.15.26-3
yast2-trans-stats-2.15.0-47
yast2-tune-2.15.7-56
yast2-update-2.16.1-15
yast2-update-FACTORY-2.16.1-15
yast2-users-2.16.5-7
yast2-x11-2.15.11-62
yast2-xml-2.16.0-13


Comment 11 Casual J. Programmer 2008-01-05 23:52:11 UTC
Created attachment 189456 [details]
yast2logs
Comment 12 Cristian Rodriguez 2008-01-06 22:33:27 UTC
seeing this one as well..
Comment 13 Cristian Rodriguez 2008-01-06 22:36:48 UTC
Created attachment 189482 [details]
screenshot
Comment 14 Casual J. Programmer 2008-01-23 12:43:49 UTC
Doesn't seem to happen any longer.

rpm -qa | grep yast2-qt
yast2-qt-2.16.17-6
Comment 15 Stefan Hundhammer 2008-02-29 16:39:19 UTC
Works nicely now.