http://bugzilla.opensuse.org/show_bug.cgi?id=903551
Bug ID: 903551
Summary: zypper: terminate called after throwing an instance of
'std::out_of_range'
Classification: openSUSE
Product: openSUSE Factory
Version: NO 13.2 BUGS!!
Hardware: x86-64
OS: openSUSE 13.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: ma@suse.com
Reporter: mpluskal@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
During zypper dup, when one of repositories had somehow corrupted metadata,
following occured:
Continuing might be risky. Continue anyway? [yes/no] (no): yes
File
'./repodata/f2820a883d58529e0598989d7e177dd2fd1bec288196477ae3a8e6c8b35cd1e8-primary.xml.gz'
not found on medium
'http://download.suse.de/ibs/QA:/Maintenance/openSUSE_Factory/'
Abort, retry, ignore? [a/r/i/? shows all options] (a): i
Retrieving repository 'tools specific to QA Maintenance (no test suites!)
(openSUSE_Factory)' metadata
.......................................................................................................................[error]
Repository 'tools specific to QA Maintenance (no test suites!)
(openSUSE_Factory)' is invalid.
[QA_Maintenance|http://download.suse.de/ibs/QA:/Maintenance/openSUSE_Factory/]
Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid
repository.
...
Retrieving package apparmor-docs-2.9.0-1.1.noarch
(17/500), 0 B ( 0 B unpacked)
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Aborted (core dumped)
bt (from coredump):
#0 0x00007f09eb7600f7 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007f09eb7614ca in __GI_abort () at abort.c:78
#2 0x00007f09ec046145 in __gnu_cxx::__verbose_terminate_handler () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007f09ec0442e6 in __cxxabiv1::__terminate (handler=<optimized out>) at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#4 0x00007f09ec044313 in std::terminate () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#5 0x00007f09ec044532 in __cxxabiv1::__cxa_throw (obj=0x1e10500,
tinfo=0x7f09ec2cd1d0 <typeinfo for std::out_of_range>, dest=0x7f09ec058380
std::out_of_range::~out_of_range())
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:87
#6 0x00007f09ec0956f7 in std::__throw_out_of_range
(__s=__s@entry=0x7f09ecb6bd67 "basic_string::substr") at
../../../../../libstdc++-v3/src/c++11/functexcept.cc:80
#7 0x00007f09ec8a0fa6 in _M_check (__s=0x7f09ecb6bd67 "basic_string::substr",
__pos=1, this=0x7fff03b6d0f0) at /usr/include/c++/4.8/bits/basic_string.h:324
#8 substr (__n=18446744073709551615, __pos=1, this=0x7fff03b6d0f0) at
/usr/include/c++/4.8/bits/basic_string.h:2208
#9 zypp::media::MediaCurl::getFileUrl (this=this@entry=0x1e49d60,
filename_r=...) at /usr/src/debug/libzypp-14.29.4/zypp/media/MediaCurl.cc:854
#10 0x00007f09ec8ac827 in zypp::media::MediaCurl::getFileCopy (this=0x1e49d60,
filename=..., target=...) at
/usr/src/debug/libzypp-14.29.4/zypp/media/MediaCurl.cc:880
#11 0x00007f09ec89f9a1 in zypp::media::MediaCurl::getFile (this=0x1e49d60,
filename=...) at /usr/src/debug/libzypp-14.29.4/zypp/media/MediaCurl.cc:871
#12 0x00007f09ec881b6d in zypp::media::MediaHandler::provideFile
(this=0x1e49d60, filename=...) at
/usr/src/debug/libzypp-14.29.4/zypp/media/MediaHandler.cc:997
#13 0x00007f09ec87aed3 in zypp::media::MediaAccess::provideFile
(this=0x1e35860, filename=...) at
/usr/src/debug/libzypp-14.29.4/zypp/media/MediaAccess.cc:346
#14 0x00007f09ec8c785e in zypp::media::MediaManager::provideFile
(this=this@entry=0x7fff03b6d55e, accessId=accessId@entry=4, filename=...) at
/usr/src/debug/libzypp-14.29.4/zypp/media/MediaManager.cc:693
#15 0x00007f09eca0b250 in operator() (file=..., media=4, this=0x7fff03b6d8f0)
at /usr/src/debug/libzypp-14.29.4/zypp/MediaSetAccess.cc:114
#16
boost::detail::function::void_function_ref_invoker2