[2.0 blocker] 'Package Relationships' list: right-clicking first package closes adept

Bug #37948 reported by Chris Branch
14
Affects Status Importance Assigned to Milestone
ept (Ubuntu)
Fix Released
Medium
mornfall

Bug Description

View a package's details to show its relationships (Package Relationships tab is active). Right-click the first package in the list and Adept closes.

This also occurs when you right-click multiple selected packages, when the first package is selected.

Running Adept 1.91 Swarm (beta 2) - Flight 6

Changed in ept:
assignee: nobody → kubuntu-team
Revision history for this message
Gary Coady (garycoady) wrote :

I can also see this problem:
In the console, the error is
terminate called after throwing an instance of 'std::bad_cast'
  what(): St8bad_cast

Changed in ept:
status: Unconfirmed → Confirmed
Revision history for this message
Gary Coady (garycoady) wrote :
Download full text (3.9 KiB)

Here's a backtrace:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232849216 (LWP 7273)]
[KCrash handler]
#6 0xffffe410 in __kernel_vsyscall ()
#7 0xb76309a1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb76322b9 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb780fc84 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0xb780d915 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#11 0xb780d94a in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb780da7e in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x0809882e in aptFront::utils::MultiTypeImpl<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>, aptFront::cache::entity::Base, 0>::initFromBase (this=0xbfb0cb18, i=0x9031b98) at multitype.h:79
#14 0x080e791f in PackageT (this=0xbfb0cb18, i=@0xbfb0cabc) at package.h:116
#15 0x080fb54b in aptFront::utils::CastedRange<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>, aptFront::cache::entity::Entity>::current (this=0x9031b88) at range.h:231
#16 0x080fa3a8 in aptFront::utils::Range<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer> >::operator* (this=0xbfb0cb6c)
    at range.h:140
#17 0x080fd0db in aptFront::actor::Implementation<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>, aptFront::actor::FromMember<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer> >, aptFront::actor::FromMemberUnconditional<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer> > >::possibleOnRange (
    this=0x90313a8, r=@0xbfb0cb6c) at actor.h:72
#18 0x080e9fa2 in aptFront::actor::Base<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer> >::possible (this=0x90313a8,
    r=@0xbfb0cbac) at actor.h:54
#19 0x080ea017 in aptFront::actor::Actor<aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer> >::possible (this=0xbfb0cc3c,
    r=@0xbfb0cc28) at actor.h:119
#20 0x080e309f in ept::Lister::contextMenu (this=0x855d950, it=0x85a9600,
    pt=@0xbfb0ce1c)
    at /home/gary/sources/ept-1.91ubuntu3/./ept/libept/lister.cpp:425
#21 0x081284c6 in ept::Lister::qt_invoke (this=0x855d950, _id=127,
    _o=0xbfb0cd20) at lister.moc.cpp:208
#22 0xb6efde29 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb72a80a8 in QListView::contextMenuRequested ()
   from /usr/lib/libqt-mt.so.3
#24 0xb6ff739b in QListView::contentsContextMenuEvent ()
   from /usr/lib/libqt-mt.so.3
#25 0xb7032a9c in QScrollView::viewportContextMenuEvent ()
   from /usr/lib/libqt-mt.so.3
#26 0xb7035181 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#27 0xb6ff95f9 in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#28 0xb6efaf72 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#29 0xb6efaff0 in QObject::event () from /usr/lib/libqt-mt.so.3
#30 0xb6f3851a in QWidget::event () from /usr/lib/libqt-mt.so.3
#31 0xb6e93dc6 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#32 ...

Read more...

Revision history for this message
mornfall (mornfall) wrote :

ACK, i can reproduce and i know why it happens, Just need to fix. Not completely sure how yet, but i will think of something :).

Revision history for this message
mornfall (mornfall) wrote :

Fixed in svn.

Changed in ept:
assignee: kubuntu-team → me-mornfall
status: Confirmed → Fix Committed
mornfall (mornfall)
Changed in ept:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.