Peter Kümmel wrote: > Abdelrazak Younes wrote: >> Peter Kümmel wrote: >>> My build with msvc crashes on startup here: >>> >>> Buffer * BufferView::buffer() const >>> { >>> return pimpl_->buffer_; >>> } >>> >>> This is my first build since two weeks, so >>> is this a known problem? >> This is weird... I don't see this with msvc2005. Backtrace? >> >> Abdel.
Seems the problem is not new, see FIXME comment: int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int view_id) { size_t const id = max_wa_id_; ++max_wa_id_; GuiView * view = views_[view_id].get(); work_areas_[id].reset(new GuiWorkArea(w, h, *view)); // FIXME BufferView creation should be independant of WorkArea creation buffer_views_[id].reset(new BufferView(view)); work_areas_[id]->setBufferView(buffer_views_[id].get()); view->setWorkArea(work_areas_[id].get()); in the ctor of GuiWorkArea setFocus is used which results in the usage of BufferView & WorkArea::bufferView() { return *buffer_view_; } but no WorkArea has been constructed at this time. Peter