Bug 381755

Summary: yast crashes in network setup
Product: [openSUSE] openSUSE 11.0 Reporter: Harald Koenig <koenig>
Component: InstallationAssignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None CC: coolo, kendy, shukera
Version: Beta 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log files

Description Harald Koenig 2008-04-20 20:51:42 UTC
trying a new installation from 64bit DVD5 yast crashes during final system setup after reboot when I tried to click on "network devices" to setup my ethernet card.

after restart, yast offers to start again (because it crashed before) and almost immediately it crashes again :-(

the regular user hasn't been setup yet, so the system isn't really usable.


in case it might  matter: I've selected the "XFCE destop" setup.


from y2log look for

2008-04-20 21:50:01 <3> harald(3565) [liby2] genericfrontend.cc(signal_handler):149 got signal 11 at YCP file Wizard.ycp:301


voila:

2008-04-20 21:49:53 <1> harald(3565) [qt-ui] YQRichText.cc(setValue):81 <li>Firewall is enabled (<a href="firewall--disable_firewall_in_proposal">disable</a>)</li>
2008-04-20 21:49:53 <1> harald(3565) [qt-ui] YQRichText.cc(setValue):81 <li>SSH port is blocked (<a href="firewall--enable_ssh_in_proposal">open</a>)</li>
2008-04-20 21:49:53 <1> harald(3565) [qt-ui] YQRichText.cc(setValue):81 </ul>
2008-04-20 21:49:53 <1> harald(3565) [qt-ui] YQRichText.cc(setValue):81 <h3><a href="lan">Network Interfaces</a></h3><ul><li><p>PRO/Wireless 3945ABG Network Connection<br>Configured with DHCP</p></li><li><p>82573L Gigabit E
thernet Controller<br>Not configured yet.</p></li></ul><h3><a href="dsl">DSL Connections</a></h3><ul><li>Not detected.</li></ul><h3><a href="isdn">ISDN Adapters</a></h3><ul><li>Not detected.</li></ul><h3><a href="modem">Mod
ems</a></h3><ul><li>Not detected.</li></ul><h3><a href="admin_stuff">VNC Remote Administration</a></h3><ul><li>Remote administration is disabled.</li></ul><h3><a href="proxy">Proxy</a></h3><ul><li><p>Proxy is disabled.<br><
/p></li></ul>
2008-04-20 21:50:00 <1> harald(3565) [YCP] clients/inst_proposal.ycp:1164 Proposal - UserInput: 'lan'
2008-04-20 21:50:00 <2> harald(3565) [Parser] network/routines.ycp:78 Warning: Empty function definition
2008-04-20 21:50:01 <2> harald(3565) [Parser] network/widgets.ycp:183 Warning: Format string is not constant, no parameter checking possible
2008-04-20 21:50:01 <2> harald(3565) [Parser] network/lan/address.ycp:79 Warning: Format string is not constant, no parameter checking possible
2008-04-20 21:50:01 <2> harald(3565) [Parser] network/services/host.ycp:39 Warning: Format string is not constant, no parameter checking possible
2008-04-20 21:50:01 <2> harald(3565) [Parser] network/services/host.ycp:356 Warning: Format string is not constant, no parameter checking possible
2008-04-20 21:50:01 <1> harald(3565) [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished
2008-04-20 21:50:01 <1> harald(3565) [Interpreter] network/services/proxy.ycp:148 Calling YaST client lan_proposal (arguments: ["AskUser", $["chosen_id":"lan", "has_next":false]])
2008-04-20 21:50:01 <1> harald(3565) [YCP] clients/lan_proposal.ycp:15 ----------------------------------------
2008-04-20 21:50:01 <1> harald(3565) [YCP] clients/lan_proposal.ycp:16 Lan proposal started
2008-04-20 21:50:01 <1> harald(3565) [YCP] clients/lan_proposal.ycp:17 Arguments: ["AskUser", $["chosen_id":"lan", "has_next":false]]
2008-04-20 21:50:01 <3> harald(3565) [liby2] genericfrontend.cc(signal_handler):149 got signal 11 at YCP file Wizard.ycp:301
2008-04-20 21:50:01 <3> harald(3565) [liby2] genericfrontend.cc(log_stored_debug):73 Liberating suppressed debugging messages:
2008-04-20 21:50:01 <0> harald(3565) [libycp] ExecutionEnvironment.cc(popframe):115 Pop frame 0x23da520
2008-04-20 21:50:01 <0> harald(3565) [liby2] SymbolEntry.cc(setValue):107 SymbolEntry::setValue (Devs@0x7f9250332220 = '$["wlan":$["wlan0":$["BOOTPROTO":"dhcp", "BROADCAST":"", "ETHTOOL_OPTIONS":"", "IFPLUGD_PRIORITY":"10", "IPADDR":"", "MTU":"", "NAME":"PRO/Wireless 3945ABG Network Connection", "NETMASK":"", "NETWORK":"", "REMOTE_IPADDR":"", "STARTMODE":"ifplugd", "USERCONTROL":"yes", "WIRELESS_AP":"", "WIRELESS_AUTH_MODE":"psk", "WIRELESS_BITRATE":"auto", "WIRELESS_CA_CERT":"", "WIRELESS_CHANNEL":"", "WIRELESS_CLIENT_CERT":"", "WIRELESS_CLIENT_KEY":"", "WIRELESS_CLIENT_KEY_PASSWORD":"", "WIRELESS_DEFAULT_KEY":"0", "WIRELESS_EAP_AUTH":"", "WIRELESS_EAP_MODE":"", "WIRELESS_ESSID":"BL", "WIRELESS_FREQUENCY":"", "WIRELESS_KEY":"", "WIRELESS_KEY_0":"", "WIRELESS_KEY_1":"", "WIRELESS_KEY_2":"", "WIRELESS_KEY_3":"", "WIRELESS_KEY_LENGTH":"128", "WIRELESS_MODE":"Managed", "WIRELESS_NICK":"", "WIRELESS_NWID":"", "WIRELESS_PEAP_VERSION":"", "WIRELESS_POWER":"yes", "WIRELESS_WPA_ANONID":"", "WIRELESS_WPA_IDENTITY":"", "WIRELESS_WPA_PASSWORD":"", "WIRELESS_WPA_PSK":"12345678", "_aliases":$[]]]]')
2008-04-20 21:50:01 <0> harald(3565) [YCP] NetworkInterfaces.ycp:942 Devs=$["wlan":$["wlan0":$["BOOTPROTO":"dhcp", "BROADCAST":"", "ETHTOOL_OPTIONS":"", "IFPLUGD_PRIORITY":"10", "IPADDR":"", "MTU":"", "NAME":"PRO/Wireless 3945ABG Network Connection", "NETMASK":"", "NETWORK":"", "REMOTE_IPADDR":"", "STARTMODE":"ifplugd", "USERCONTROL":"yes", "WIRELESS_AP":"", "WIRELESS_AUTH_MODE":"psk", "WIRELESS_BITRATE":"auto", "WIRELESS_CA_CERT":"", "WIRELESS_CHANNEL":"", "WIRELESS_CLIENT_CERT":"", "WIRELESS_CLIENT_KEY":"", "WIRELESS_CLIENT_KEY_PASSWORD":"", "WIRELESS_DEFAULT_KEY":"0", "WIRELESS_EAP_AUTH":"", "WIRELESS_EAP_MODE":"", "WIRELESS_ESSID":"BL", "WIRELESS_FREQUENCY":"", "WIRELESS_KEY":"", "WIRELESS_KEY_0":"", "WIRELESS_KEY_1":"", "WIRELESS_KEY_2":"", "WIRELESS_KEY_3":"", "WIRELESS_KEY_LENGTH":"128", "WIRELESS_MODE":"Managed", "WIRELESS_NICK":"", "WIRELESS_NWID":"", "WIRELESS_PEAP_VERSION":"", "WIRELESS_POWER":"yes", "WIRELESS_WPA_ANONID":"", "WIRELESS_WPA_IDENTITY":"", "WIRELESS_WPA_PASSWORD":"", "WIRELESS_WPA_PSK":"12345678", "_aliases":$[]]]]
2008-04-20 21:50:01 <0> harald(3565) [libycp] ExecutionEnvironment.cc(popframe):115 Pop frame 0x256e180
2008-04-20 21:50:01 <0> harald(3565) [libycp] ExecutionEnvironment.cc(pushframe):105 Push frame Routing::Export ()



need more ?
Comment 1 Martin Mrazik 2008-04-22 13:06:06 UTC
Yes, please. Please attach full y2logs (http://en.opensuse.org/Bugs/YaST).
Comment 2 Harald Koenig 2008-04-22 17:17:07 UTC
Created attachment 209676 [details]
y2log files
Comment 3 Michal Zugec 2008-04-25 15:07:50 UTC
Stefan, it seems (from debuginfo) to some crash caused by Qt :

2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQDialog.cc(chooseParent):118 Adding dialog to mainWinDock
2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQMainWinDock.cc(add):135 Adding dialog 0x1a9dbc0  to mainWinDock
2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQMainWinDock.cc(resizeVisibleChild):98 Resizing child dialog 0x1a9dbc0 to 1400 x 1050
2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQMainWinDock.cc(resizeVisibleChild):91 wizard YWizard "YQWizard "Initializing"" at 0x7c2188 0
2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQMainWinDock.cc(resizeVisibleChild):91 wizard YWizard "untitled YQWizard" at 0x170ca18 1
2008-04-20 21:54:55 <0> harald(3562) [qt-ui] YQMainWinDock.cc(resizeVisibleChild):98 Resizing child dialog 0x1a9dbc0 to 1172 x 1050
2008-04-20 21:54:55 <3> harald(3562) [liby2] genericfrontend.cc(log_stored_debug):75 End of suppressed debugging messages
2008-04-20 21:54:55 <3> harald(3562) [liby2] genericfrontend.cc(log_backtrace):97 Back trace:

   Frame  0: /usr/lib64/liby2.so.2  log_backtrace()
   Frame  1: /usr/lib64/liby2.so.2  signal_handler(int)
   Frame  2: /lib64/libc.so.6 [0x7f94c437c640]
   Frame  3: /usr/lib64/libQtCore.so.4  QObject::objectName() const
   Frame  4: /usr/lib64/YaST2/plugin/libpy2qt.so.2  QY2Styler::renderParent(QWidget*)
   Frame  5: /usr/lib64/YaST2/plugin/libpy2qt.so.2  QY2Styler::updateRendering(QWidget*)
   Frame  6: /usr/lib64/YaST2/plugin/libpy2qt.so.2  QY2Styler::eventFilter(QObject*, QEvent*)
   Frame  7: /usr/lib64/libQtCore.so.4  QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
   Frame  8: /usr/lib64/libQtGui.so.4  QApplicationPrivate::notify_helper(QObject*, QEvent*)
   Frame  9: /usr/lib64/libQtGui.so.4  QApplication::notify(QObject*, QEvent*)
   Frame 10: /usr/lib64/libQtCore.so.4  QCoreApplication::notifyInternal(QObject*, QEvent*)
   Frame 11: /usr/lib64/libQtGui.so.4  QWidgetPrivate::show_helper()
   Frame 12: /usr/lib64/libQtGui.so.4  QWidget::setVisible(bool)
   Frame 13: /usr/lib64/libQtGui.so.4  QWidgetPrivate::showChildren(bool)
   Frame 14: /usr/lib64/libQtGui.so.4  QWidgetPrivate::show_helper()
   Frame 15: /usr/lib64/libQtGui.so.4  QWidget::setVisible(bool)
   Frame 16: /usr/lib64/YaST2/plugin/libpy2qt.so.2  YQDialog::setSize(int, int)
   Frame 17: /usr/lib64/YaST2/plugin/libpy2qt.so.2  YQDialog::resizeEvent(QResizeEvent*)
   Frame 18: /usr/lib64/libQtGui.so.4  QWidget::event(QEvent*)
   Frame 19: /usr/lib64/libQtGui.so.4  QApplicationPrivate::notify_helper(QObject*, QEvent*)
   Frame 20: /usr/lib64/libQtGui.so.4  QApplication::notify(QObject*, QEvent*)
   Frame 21: /usr/lib64/libQtCore.so.4  QCoreApplication::notifyInternal(QObject*, QEvent*)
   Frame 22: /usr/lib64/libQtGui.so.4  QWidgetPrivate::setGeometry_sys(int, int, int, int, bool)
   Frame 23: /usr/lib64/libQtGui.so.4  QWidget::setGeometry(QRect const&)
   Frame 24: /usr/lib64/YaST2/plugin/libpy2qt.so.2  YQMainWinDock::resizeVisibleChild()
   Frame 25: /usr/lib64/YaST2/plugin/libpy2qt.so.2  YQWizard::YQWizard(YWidget*, std::string const&, std::string const&, std::string const&, Y
WizardMode)
   Frame 26: /usr/lib64/YaST2/plugin/libpy2qt.so.2  YQOptionalWidgetFactory::createWizard(YWidget*, std::string const&, std::string const&, st
d::string const&, YWizardMode)
   Frame 27: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YCPDialogParser::parseWizard(YWidget*, YWidgetOpt&, YCPTerm const&, YCPList const&, int)
   Frame 28: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YCPDialogParser::parseWidgetTreeTerm(YWidget*, YWidgetOpt&, YCPTerm const&)
   Frame 29: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YCPDialogParser::parseWidgetTreeTerm(YWidget*, YCPTerm const&)
   Frame 30: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YCP_UI::OpenDialog(YCPTerm const&, YCPTerm const&)
   Frame 31: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YUINamespace::OpenDialog(YCPTerm const&, YCPTerm const&)
   Frame 32: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YUIFunction::evaluateCall_int()
   Frame 33: /usr/lib64/YaST2/plugin/libpy2UI.so.2  YCPBuiltinCaller::call()
   Frame 34: /usr/lib64/libyui.so.3  YUI::uiThreadMainLoop()
   Frame 35: /usr/lib64/libyui.so.3  start_ui_thread(void*)
   Frame 36: /lib64/libpthread.so.0 [0x7f94c5576040]
   Frame 37: /lib64/libc.so.6(clone+0x6d) [0x7f94c441d0ed]
Comment 4 Stefan Hundhammer 2008-04-29 12:28:49 UTC
Segfault when a YQWizard gets resized - possibly an after-effect of the recent YQWizard changes.
Comment 5 Stefan Hundhammer 2008-05-14 16:12:18 UTC
AFAICS this is fixed with Beta3. Please reopen if the problem reappears.
Comment 6 Stefan Hundhammer 2008-05-19 11:02:49 UTC
See also bug #391856 - same backtrace AFAICS
Comment 7 Stefan Hundhammer 2008-06-05 11:42:06 UTC
Reapeared with RC1
Comment 8 Stefan Hundhammer 2008-06-05 11:45:11 UTC
Fixed with yast2-qt-2.16.54:

QY2Styler had stored pointers to widgets in a map even after their lifetime. Ever once in a while a widget got created at the same memory location, and then that styler (the class that makes the installation theme so colorful) had tried to access the child widgets of that new widget, but those pointers were no longer valid -> segfault.

Now correctly unregistering the widgets as they are destroyed.
Comment 9 Stefan Hundhammer 2008-06-05 11:47:18 UTC
*** Bug 391947 has been marked as a duplicate of this bug. ***
Comment 10 Stefan Hundhammer 2008-06-13 14:27:11 UTC
*** Bug 396978 has been marked as a duplicate of this bug. ***