Bug 404865

Summary: YaST2 DNS config aborts with exception
Product: [openSUSE] openSUSE 11.0 Reporter: Erik van Zwol <evanzwol>
Component: YaST2Assignee: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: forgotten_h13THG8RK1, locilka, mmeeks, radioactive73
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority: 600
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs regarding yast2 dns config bug 404865

Description Erik van Zwol 2008-06-29 05:57:06 UTC
on the YaST2->DNS Server->DNS Zones->Edit page, when the 'Records' tab is clicked the following error is shown:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
YaST got signal 6 at YCP file dns-server/dialog-masterzone.ycp:282
/sbin/yast2: line 421:  4511 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

OpenSUSE 11.0
Linux linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux
Comment 1 Cyril Hrubis 2008-06-30 11:12:40 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 2 john hickinbottom 2008-07-12 22:56:56 UTC
Created attachment 227456 [details]
yast2 logs regarding yast2 dns config bug 404865

I've also had this error, reproduced exactly as described.
Here's the xmessage that appears after the yast2 dialog disappears:

terminate called after throwing an instance of 'std::logic_error'
 what():  basic_string::_S_construct NULL not valid
YaST got signal 6 at YCP file dns-server/dialog-masterzone.ycp:282
/sbin/yast2: line 421: 19679 Aborted                 $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
Comment 3 Lukas Ocilka 2008-07-14 09:46:01 UTC
genericfrontend.cc(signal_handler):149 got signal 6 at YCP file dns-server/dialog-masterzone.ycp:282

dialog-masterzone.ycp:282 contains:
    string key = (string)UI::QueryWidget (`id ("ddns_key"), `Value);
Comment 4 Stefan Hundhammer 2008-07-16 16:18:17 UTC
The exception was thrown in the Gtk UI:

2008-07-12 23:38:07 <3> deathawaitsye(19679) [liby2] genericfrontend.cc(log_backtrace):97 Back trace:

   Frame  0: /usr/lib/liby2.so.2  log_backtrace()
   Frame  1: /usr/lib/liby2.so.2  signal_handler(int)
   Frame  2: [0xffffe400]
   Frame  3: [0xffffe430]
   Frame  4: /lib/libc.so.6(gsignal+0x50) [0xb799d900]
   Frame  5: /lib/libc.so.6(abort+0x188) [0xb799f238]
   Frame  6: /usr/lib/libstdc++.so.6  __gnu_cxx::__verbose_terminate_handler()
   Frame  7: /usr/lib/libstdc++.so.6 [0xb7ba5055]
   Frame  8: /usr/lib/libstdc++.so.6 [0xb7ba5092]
   Frame  9: /usr/lib/libstdc++.so.6 [0xb7ba51ca]
   Frame 10: /usr/lib/libstdc++.so.6  std::__throw_logic_error(char const*)
   Frame 11: /usr/lib/libstdc++.so.6 [0xb7b80c6a]
   Frame 12: /usr/lib/libstdc++.so.6  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)
   Frame 13: /usr/lib/YaST2/plugin/libpy2gtk.so.2  YGComboBox::text()
   Frame 14: /usr/lib/libyui.so.3  YComboBox::value()
   Frame 15: /usr/lib/YaST2/plugin/libpy2UI.so.2  YCPPropertyHandler::tryGetComboBoxValue(YWidget*)
   Frame 16: /usr/lib/YaST2/plugin/libpy2UI.so.2  YCPPropertyHandler::getComplexProperty(YWidget*, std::string const&)
   Frame 17: /usr/lib/YaST2/plugin/libpy2UI.so.2  YCP_UI::QueryWidget(YCPValue const&, YCPValue const&)
   Frame 18: /usr/lib/YaST2/plugin/libpy2UI.so.2  YUINamespace::QueryWidget(YCPTerm const&, YCPSymbol const&)
   Frame 19: /usr/lib/YaST2/plugin/libpy2UI.so.2  YUIFunction::evaluateCall_int()
   Frame 20: /usr/lib/YaST2/plugin/libpy2UI.so.2  YCPBuiltinCaller::call()
   Frame 21: /usr/lib/libyui.so.3  YUI::uiThreadMainLoop()
   Frame 22: /usr/lib/libyui.so.3  start_ui_thread(void*)
   Frame 23: /lib/libpthread.so.0 [0xb7d2a175]
   Frame 24: /lib/libc.so.6(clone+0x5e) [0xb7a40dce]

== End of back trace ===
Comment 5 Forgotten User h13THG8RK1 2008-07-16 17:40:56 UTC
The underlying bug should be the same as the following I am setting this a duplicate of. Updates should be there soon. If possible, please test the RPM linked in that report though, and confirm it for us.

*** This bug has been marked as a duplicate of bug 402262 ***
Comment 6 Forgotten User h13THG8RK1 2008-07-22 23:26:00 UTC
*** Bug 406829 has been marked as a duplicate of this bug. ***