![](https://seccdn.libravatar.org/avatar/a836ff90f492078f494adcf0c6059fc6.jpg?s=120&d=mm&r=g)
Mihai Moldovan composed on 2023-05-28 18:18 (UTC+0200):
* On 5/28/23 18:01, Felix Miata wrote:
Felix Miata composed on 2023-05-28 03:08 (UTC-0400):
# zypper ref Segmentation fault (core dumped) # gdb zypper ref GNU gdb (GDB; openSUSE Tumbleweed) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>.
For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from zypper... (No debugging symbols found in zypper) /var/cache/zypp/packages/OSS/i586/ref: No such file or directory. Missing separate debuginfos, use: zypper install zypper-debuginfo-1.14.60-1.2.i586 (gdb) run Starting program: /usr/bin/zypper [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0xb5f54b40 (LWP 986)] [Detaching after fork from child process 987] [New Thread 0xb54ffb40 (LWP 989)]
Usage: [...] [Inferior 1 (process 983) exited normally] (gdb)
Now what?
You'd have to "run ref", not just "run". Additional parameters on the command like (like you've given "zypper ref") to gdb are interpreted differently - namely "ref" as the argument to a core dump image. Arguments for the inferior have to be passed to the "run" command.
Thanks! Would what follows be enough new bug report? (gdb) run dup Starting program: /usr/bin/zypper dup [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0xb5f54b40 (LWP 1291)] [Detaching after fork from child process 1292] [Detaching after fork from child process 1294] [Detaching after fork from child process 1296] [Detaching after fork from child process 1298] [Detaching after fork from child process 1300] [Detaching after fork from child process 1302] [Detaching after fork from child process 1304] [Detaching after fork from child process 1312] [Detaching after fork from child process 1314] [Detaching after fork from child process 1316] Thread 1 "Zypp-main" received signal SIGSEGV, Segmentation fault. 0xb48bc70f in ?? () from /lib/libjavascriptcoregtk-4.0.so.18 Missing separate debuginfos, use: zypper install libblkid1-debuginfo-2.38.1-13.1.i586 libffi8-debuginfo-3.4.4-1.7.i586 libgio-2_0-0-debuginfo-2.76.3-1.1.i586 libgmodule-2_0-0-debuginfo-2.76.3-1.1.i586 libgobject-2_0-0-debuginfo-2.76.3-1.1.i586 libicu72-debuginfo-72.1-2.3.i586 liblz4-1-debuginfo-1.9.4-2.3.i586 libproxy1-pacrunner-webkit-debuginfo-0.4.18-1.5.i586 libsystemd0-debuginfo-253.4-2.1.i586 (gdb) bt #0 0xb48bc70f in ?? () from /lib/libjavascriptcoregtk-4.0.so.18 #1 0xb7fd11ab in call_init () from /lib/ld-linux.so.2 #2 0xb7fd129b in _dl_init () from /lib/ld-linux.so.2 #3 0xb7fd7f77 in call_dl_init () from /lib/ld-linux.so.2 #4 0xb7fcd577 in _dl_catch_exception () from /lib/ld-linux.so.2 #5 0xb7fd7f01 in dl_open_worker () from /lib/ld-linux.so.2 #6 0xb7fcd4e1 in _dl_catch_exception () from /lib/ld-linux.so.2 #7 0xb7fd8278 in _dl_open () from /lib/ld-linux.so.2 #8 0xb727fea8 in dlopen_doit () from /lib/libc.so.6 #9 0xb7fcd4e1 in _dl_catch_exception () from /lib/ld-linux.so.2 #10 0xb7fcd605 in _dl_catch_error () from /lib/ld-linux.so.2 #11 0xb727f92a in _dlerror_run () from /lib/libc.so.6 #12 0xb727ff78 in dlopen@GLIBC_2.1 () from /lib/libc.so.6 #13 0xb6f79d6c in libmodman::module_manager::load_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) () from /lib/libproxy.so.1 #14 0xb6f7a37d in libmodman::module_manager::load_dir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) () from /lib/libproxy.so.1 #15 0xb6f7abd7 in px_proxy_factory_new () from /lib/libproxy.so.1 #16 0xb7b846c8 in zypp::media::getProxyFactory () at /usr/src/debug/libzypp-17.31.11/zypp-curl/proxyinfo/proxyinfolibproxy.cc:71 #17 zypp::media::ProxyInfoLibproxy::ProxyInfoLibproxy (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libzypp-17.31.11/zypp-curl/proxyinfo/proxyinfolibproxy.cc:85 #18 0xb7b7f657 in zypp::media::ProxyInfo::ProxyInfo (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libzypp-17.31.11/zypp-curl/proxyinfo.cc:30 #19 0xb7b3f1a0 in internal::fillSettingsSystemProxy (url=..., s=...) at /usr/src/debug/libzypp-17.31.11/zypp-curl/curlhelper.cc:326 #20 0xb799fdf0 in zypp::media::MediaCurl::setupEasy (this=0x786b70) at /usr/src/debug/libzypp-17.31.11/zypp/media/MediaCurl.cc:448 #21 0xb79a854b in zypp::media::MediaMultiCurl::setupEasy (this=0x786b70) at /usr/src/debug/libzypp-17.31.11/zypp/media/MediaMultiCurl.cc:1213 #22 0xb79a2e6e in zypp::media::MediaCurl::attachTo (this=<optimized out>, next=<optimized out>) at /usr/src/debug/libzypp-17.31.11/zypp/media/MediaCurl.cc:677 #23 0xb797c8be in zypp::media::MediaHandler::attach (this=0x786b70, next=false) at /usr/src/debug/libzypp-17.31.11/zypp/media/MediaHandler.cc:646 #24 0xb79b4d26 in zypp::media::MediaManager::attach (this=0xbfffe195, accessId=1) at /usr/src/debug/libzypp-17.31.11/zypp/media/MediaManager.cc:440 #25 0xb7a8e2a7 in zypp::MediaSetAccess::provide(boost::function<void (unsigned int, zypp::OnMediaLocation const&)>, zypp::OnMediaLocation const&, zypp::base::Flags<zypp::MediaSetAccess::ProvideFileOption>) (this=<optimized out>, op=..., resource=..., options=...) at /usr/src/debug/libzypp-17.31.11/zypp/MediaSetAccess.cc:282 #26 0xb7a8e45f in zypp::MediaSetAccess::provideFile (this=0xbfffe5bc, resource=..., options=...) at /usr/include/boost/function/function_template.hpp:573 #27 0xb7a8e741 in zypp::MediaSetAccess::provideOptionalFile (this=0xbfffe5bc, file=..., media_nr=1) at /usr/src/debug/libzypp-17.31.11/zypp/MediaSetAccess.cc:186 #28 0xb79d9549 in zypp::repo::yum::Downloader::status (this=0xbfffe574, media_r=...) at /usr/src/debug/libzypp-17.31.11/zypp/repo/yum/Downloader.cc:208 #29 0xb7acf1f4 in zypp::RepoManager::Impl::checkIfToRefreshMetadata (this=0x7995d0, info=..., url=..., policy=<optimized out>) at /usr/src/debug/libzypp-17.31.11/zypp/RepoManager.cc:1088 #30 0x004e49a7 in refresh_raw_metadata (zypper=..., repo=..., force_download=false) at /usr/src/debug/zypper-1.14.60/src/repos.cc:239 #31 0x004f1b11 in do_init_repos<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > (zypper=..., container=...) at /usr/src/debug/zypper-1.14.60/src/repos.cc:858 #32 0x005057e9 in init_repos<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > (container=..., zypper=...) at /usr/src/debug/zypper-1.14.60/src/repos.cc:958 #33 init_repos (zypper=...) at /usr/src/debug/zypper-1.14.60/src/repos.cc:971 #34 ZypperBaseCommand::defaultSystemSetup (this=0x75bbac, zypper=..., flags_r=...) at /usr/src/debug/zypper-1.14.60/src/commands/basecommand.cc:175 #35 0x00505880 in ZypperBaseCommand::systemSetup (this=0x75bbac, zypper=...) at /usr/src/debug/zypper-1.14.60/src/commands/basecommand.cc:158 #36 0x0050b47d in ZypperBaseCommand::run (this=0x75bbac, zypper=...) at /usr/src/debug/zypper-1.14.60/src/commands/basecommand.cc:259 #37 0x004c0f4b in Zypper::doCommand (this=0x6967a0 <Zypper::instance()::_instance>, cmdArgc=2, cmdArgv=0xbffff234, firstFlag=<optimized out>) at /usr/src/debug/zypper-1.14.60/src/Zypper.cc:674 #38 0x00495047 in Zypper::main (this=0x6967a0 <Zypper::instance()::_instance>, argc=2, argv=0xbffff234) at /usr/src/debug/zypper-1.14.60/src/Zypper.cc:217 #39 0x004939e8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/zypper-1.14.60/src/main.cc:163 (gdb) -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata