[Bug 153710] Re: adept_batch crashes if target package does not exist
adept (2.1.3ubuntu21) hardy; urgency=low * Added kubuntu_29_batch_check_pkgname.diff Closes LP: #153710 -- Anthony Mercatante [EMAIL PROTECTED] Mon, 19 Nov 2007 21:04:54 +0100 ** Changed in: adept (Ubuntu) Status: In Progress = Fix Released -- adept_batch crashes if target package does not exist https://bugs.launchpad.net/bugs/153710 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 153710] Re: adept_batch crashes if target package does not exist
** Changed in: adept (Ubuntu) Status: Confirmed = In Progress -- adept_batch crashes if target package does not exist https://bugs.launchpad.net/bugs/153710 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 153710] Re: adept_batch crashes if target package does not exist
Here, have a patch. This was being caused by markInstall and markRemove being called on invalid packages. The simple fix is to add a conditional around the calls to markInstall and markRemove to determine whether or not the package is valid so that the mark* methods aren't being called on invalid packages. In this fix, if package ABC123 isn't found, a dialog pops up informing the user of the problem and then exits. ** Attachment added: batch_invalid_package_crash_fix.diff http://launchpadlibrarian.net/10215566/batch_invalid_package_crash_fix.diff -- adept_batch crashes if target package does not exist https://bugs.launchpad.net/bugs/153710 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 153710] Re: adept_batch crashes if target package does not exist
$ sudo adept_batch install blablatoto kapture::PkgSystem::PkgSystem() terminate called after throwing an instance of 'std::out_of_range' what(): Tried to use invalid Entity KCrash: Application 'adept_batch' crashing... [EMAIL PROTECTED]:~$ sudo adept_batch install blablatoto kapture::PkgSystem::PkgSystem() terminate called after throwing an instance of 'std::out_of_range' what(): Tried to use invalid Entity KCrash: Application 'adept_batch' crashing... and from the crash handler: This backtrace appears to be of no use. This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash. (no debugging symbols found) Using host libthread_db library /lib/tls/i686/cmov/libthread_db.so.1. -- adept_batch crashes if target package does not exist https://bugs.launchpad.net/bugs/153710 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 153710] Re: adept_batch crashes if target package does not exist
This thing doesn't do much in the way of useful dumps here, so I'll put up the output I'm getting. [EMAIL PROTECTED]:~$ sudo adept-batch install blablatoto [sudo] password for manchicken: sudo: adept-batch: command not found [EMAIL PROTECTED]:~$ sudo adept_batch install blablatoto X Error: BadDevice, invalid or uninitialized input device 158 Major opcode: 146 Minor opcode: 3 Resource id: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 158 Major opcode: 146 Minor opcode: 3 Resource id: 0x0 Failed to open device kapture::PkgSystem::PkgSystem() terminate called after throwing an instance of 'std::out_of_range' what(): Tried to use invalid Entity KCrash: Application 'adept_batch' crashing... ** Changed in: adept (Ubuntu) Importance: Undecided = Medium Assignee: (unassigned) = Michael D. Stemle, Jr. (manchicken) Status: New = Confirmed -- adept_batch crashes if target package does not exist https://bugs.launchpad.net/bugs/153710 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs