[haiku-bugs] Re: [Haiku] #7038: Network Settings fails on VirtualBox

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 Dec 2010 11:29:01 -0000

#7038: Network Settings fails on VirtualBox
-----------------------------+---------------------------------------------
  Reporter:  yahd            |        Owner:  axeld
      Type:  bug             |       Status:  new
  Priority:  normal          |    Milestone:  R1
 Component:                  |      Version:  R1/Development
  Preferences/Network        |     Keywords:  Network, VirtualBox, Ethernet
Resolution:                  |  Has a Patch:  0
Blocked By:                  |     Blocking:
  Platform:  x86             |
-----------------------------+---------------------------------------------
Changes (by diver):

 * owner:  nobody => axeld
 * component:  Network & Internet => Preferences/Network


Comment:

 I can reproduce it in VirtualBox 3.0.12 when I disable network adapter or
 if I switch to an unsupported one (e.g. PCnet based). When network card is
 detected Network preflet doesn't crash. So it seems that absence of NIC is
 not handled properly.
 {{{
 Thread 224 caused an exception: Segment violation
 [...]
 [Switching to team /boot/system/preferences/Network (224) thread Network
 (224)]
 0x00209022 in EthernetSettingsView::_ShowConfiguration ()
 (gdb) bt
 #0  0x00209022 in EthernetSettingsView::_ShowConfiguration ()
 #1  0x00209900 in EthernetSettingsView::AttachedToWindow ()
 #2  0x0038b8aa in BView::_Attach () from /boot/system/lib/libbe.so
 #3  0x003929aa in BView::_AddChild () from /boot/system/lib/libbe.so
 #4  0x0032784e in BLayout::AddItem () from /boot/system/lib/libbe.so
 #5  0x0032179f in BGroupLayout::AddItem () from /boot/system/lib/libbe.so
 #6  0x003279e3 in BLayout::AddView () from /boot/system/lib/libbe.so
 #7  0x003217e9 in BGroupLayout::AddView () from /boot/system/lib/libbe.so
 #8  0x00326ad8 in BLayout::AddView () from /boot/system/lib/libbe.so
 #9  0x0032180c in BGroupLayout::AddView () from /boot/system/lib/libbe.so
 #10 0x00207edc in NetworkWindow::NetworkWindow ()
 #11 0x00207c45 in NetworkApp::ReadyToRun ()
 #12 0x002d08f9 in BApplication::DispatchMessage ()
    from /boot/system/lib/libbe.so
 #13 0x002db2c4 in BLooper::task_looper () from /boot/system/lib/libbe.so
 #14 0x002d0eb4 in BApplication::Run () from /boot/system/lib/libbe.so
 #15 0x00207d81 in main ()
 (gdb)
 }}}
 BTW: Several network drivers somehow appeared in Preferences -> Network
 component in Trac.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7038#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: