[haiku-bugs] Re: [Haiku] #8311: Switcher crashing (layout related), not compiling (was: Switcher crashing (layout related))

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Thu, 16 Feb 2012 17:12:29 -0000

#8311: Switcher crashing (layout related), not compiling
----------------------------+----------------------------
   Reporter:  humdinger     |      Owner:  nobody
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Applications  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by humdinger):

 Since it may be that the Switcher I'm using was built from an older
 revision, I wanted to build it from the current source revision. I get
 this, however:
 {{{

 /HiQ-Data/source/haiku/src/apps/switcher/GroupListView.cpp: In method
 `void GroupListView::SetModel(GroupListModel *)':
 /HiQ-Data/source/haiku/src/apps/switcher/GroupListView.cpp:111: cannot
 allocate an object of type `RendererLayoutItem'
 /HiQ-Data/source/haiku/src/apps/switcher/GroupListView.cpp:111:   since
 the following virtual functions are abstract:
 /HiQ-Data/source/haiku/headers/os/interface/Layout.h:80:        void
 BLayout::DoLayout()
 /HiQ-Data/source/haiku/src/apps/switcher/GroupListView.cpp:127: cannot
 allocate an object of type `RendererLayoutItem'
 /HiQ-Data/source/haiku/src/apps/switcher/GroupListView.cpp:127:   since
 type `RendererLayoutItem' has abstract virtual functions
 }}}
 Funny, now, after the initial crash, restarting Switcher often has it in a
 working state. At least when using the app-switcher at the top/bottom of
 the screen. If you invoke Switcher at the left/right border - for inter-
 app-window-switching - it crashes like this:
 {{{

 Thread 4289 caused an exception: Segment violation
 [...]
 [Switching to team /HiQ-Data/3rd party apps/Switcher (4289) thread
 Switcher (4289)]
 0x003c18b7 in BView::AddChild () from /boot/system/lib/libbe.so
 (gdb) bt
 #0  0x003c18b7 in BView::AddChild () from /boot/system/lib/libbe.so
 #1  0x0020e318 in GroupListView::SetModel ()
 #2  0x0020e0a9 in GroupListView::GroupListView ()
 #3  0x00211e40 in WindowsView::WindowsView ()
 #4  0x00211049 in PanelWindow::_ViewFor ()
 #5  0x00210e28 in PanelWindow::PanelWindow ()
 #6  0x002118f8 in Switcher::MessageReceived ()
 #7  0x002f72d7 in BLooper::DispatchMessage () from
 /boot/system/lib/libbe.so
 #8  0x002edd51 in BApplication::DispatchMessage ()
    from /boot/system/lib/libbe.so
 #9  0x002f8c45 in BLooper::task_looper () from /boot/system/lib/libbe.so
 #10 0x002ec871 in BApplication::Run () from /boot/system/lib/libbe.so
 #11 0x00211a0f in main ()
 }}}

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #8311: Switcher crashing (layout related), not compiling (was: Switcher crashing (layout related)) - humdinger