[Bug 871361] New: zypper, segfault after two times ctrl-c
https://bugzilla.novell.com/show_bug.cgi?id=871361 https://bugzilla.novell.com/show_bug.cgi?id=871361#c0 Summary: zypper, segfault after two times ctrl-c Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sweet_f_a@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 When trying to interrupt "zypper install" it always asks stupid question if I really want to abort... Thats why I press ctrl-c two times, but this segfaults: $ zypper in -d google-earth-stable Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: google-earth-stable 1 new package to install. Overall download size: 30.4 MiB. Download only. Continue? [y/n/? shows all options] (y): y Retrieving package google-earth-stable-6.0.3.2197-0.x86_64 (1/1), 30.4 MiB ( 92.1 MiB unpacked) Retrieving: google-earth-stable-6.0.3.2197-0.x86_64.rpm <3%>====================================================================================================================[\ (1001.7 KiB/s)] ^C^C OK OK! Exiting immediately... Segmentation fault (core dumped) (gdb) bt #0 0x0000000000520ad3 in typeinfo for zypp::ProgressReport () #1 0x00007f526da12dde in ?? () from /usr/lib64/libzypp.so.1306 #2 0x00007f526d9abde4 in zypp::media::MediaCurl::progressCallback(void*, double, double, double, double) () from /usr/lib64/libzypp.so.1306 #3 0x00007f526bbd0399 in ?? () from /usr/lib64/libcurl.so.4 #4 0x00007f526bbd0804 in ?? () from /usr/lib64/libcurl.so.4 #5 0x00007f526bbe6e58 in ?? () from /usr/lib64/libcurl.so.4 #6 0x00007f526bbf9c04 in curl_multi_remove_handle () from /usr/lib64/libcurl.so.4 #7 0x00007f526bbdf74a in ?? () from /usr/lib64/libcurl.so.4 #8 0x00007f526bbf255a in curl_easy_cleanup () from /usr/lib64/libcurl.so.4 #9 0x00007f526d9abc31 in zypp::media::MediaCurl::disconnectFrom() () from /usr/lib64/libzypp.so.1306 #10 0x00007f526d989a49 in zypp::media::MediaHandler::disconnect() () from /usr/lib64/libzypp.so.1306 #11 0x00007f526d99032e in zypp::media::MediaHandler::release(std::string const&) () from /usr/lib64/libzypp.so.1306 #12 0x00007f526d985047 in zypp::media::MediaAccess::close() () from /usr/lib64/libzypp.so.1306 #13 0x00007f526d9853c7 in zypp::media::MediaAccess::~MediaAccess() () from /usr/lib64/libzypp.so.1306 #14 0x00007f526d9853e9 in zypp::media::MediaAccess::~MediaAccess() () from /usr/lib64/libzypp.so.1306 #15 0x00007f526d9cf856 in ?? () from /usr/lib64/libzypp.so.1306 #16 0x00007f526d9d75ea in ?? () from /usr/lib64/libzypp.so.1306 #17 0x00007f526d9d7489 in ?? () from /usr/lib64/libzypp.so.1306 #18 0x00007f526c65b75f in __cxa_finalize (d=0x7f526df18ae0) at cxa_finalize.c:56 #19 0x00007f526d94b9f3 in ?? () from /usr/lib64/libzypp.so.1306 #20 0x00007fffd276ed10 in ?? () #21 0x00007f526df30e6a in _dl_fini () at dl-fini.c:252 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871361 https://bugzilla.novell.com/show_bug.cgi?id=871361#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |ma@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871361 https://bugzilla.novell.com/show_bug.cgi?id=871361#c2 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low --- Comment #2 from Michael Andres <ma@suse.com> 2014-04-02 15:13:02 CEST --- Looks like curl triggers a final progressCallback while cleaning up. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=871361 https://bugzilla.novell.com/show_bug.cgi?id=871361#c3 Bernhard Voelker <mail@bernhard-voelker.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@bernhard-voelker.de --- Comment #3 from Bernhard Voelker <mail@bernhard-voelker.de> 2014-09-12 08:11:44 UTC --- I think the second CTRL-C should probably be blocked. BTW: there is a second thread, so here's e.g. a backtrace of a CTRL-C + CTRL-C'ed 'zypper up': (gdb) bt #0 0x00007fd4f8fc67eb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib64/libstdc++.so.6 #1 0x00007fd4f9a39c66 in zypp::repo::RepoInfoBase::alias() const () from /usr/lib64/libzypp.so.1306 #2 0x0000000000448e69 in Zypper::cleanup() () #3 0x0000000000434a2c in signal_handler(int) () #4 <signal handler called> #5 0x00007fd4f871cb3d in poll () at ../sysdeps/unix/syscall-template.S:81 #6 0x00007fd4f33c5c90 in send_dg (resplen2=0x0, anssizp2=0x0, ansp2=0x0, anscp=0x7fd4f14ab0f0, gotsomewhere=<synthetic pointer>, v_circuit=<synthetic pointer>, ns=0, terrno=0x7fd4f14a9fe8, anssizp=0x7fd4f14aa120, ansp=0x7fd4f14a9fd8, buflen2=0, buf2=0x0, buflen=39, buf=0x7fd4f14aa150 "^\226\001", statp=0x7fd4f14acdb8) at res_send.c:1059 #7 __libc_res_nsend (statp=statp@entry=0x7fd4f14acdb8, buf=buf@entry=0x7fd4f14aa150 "^\226\001", buflen=39, buf2=buf2@entry=0x0, buflen2=buflen2@entry=0, ans=ans@entry=0x7fd4f14aacb0 "", anssiz=anssiz@entry=1024, ansp=ansp@entry=0x7fd4f14ab0f0, ansp2=ansp2@entry=0x0, nansp2=nansp2@entry=0x0, resplen2=resplen2@entry=0x0) at res_send.c:556 #8 0x00007fd4f33c3ce5 in __GI___libc_res_nquery (statp=statp@entry=0x7fd4f14acdb8, name=0x1ce8400 "download.opensuse.org", class=class@entry=1, type=type@entry=1, answer=answer@entry=0x7fd4f14aacb0 "", anslen=anslen@entry=1024, answerp=answerp@entry=0x7fd4f14ab0f0, answerp2=answerp2@entry=0x0, nanswerp2=nanswerp2@entry=0x0, resplen2=resplen2@entry=0x0) at res_query.c:226 #9 0x00007fd4f33c430f in __libc_res_nquerydomain (statp=statp@entry=0x7fd4f14acdb8, name=name@entry=0x1ce8400 "download.opensuse.org", domain=domain@entry=0x0, class=class@entry=1, type=type@entry=1, answer=answer@entry=0x7fd4f14aacb0 "", anslen=anslen@entry=1024, answerp=answerp@entry=0x7fd4f14ab0f0, answerp2=answerp2@entry=0x0, nanswerp2=nanswerp2@entry=0x0, resplen2=resplen2@entry=0x0) at res_query.c:582 #10 0x00007fd4f33c490f in __GI___libc_res_nsearch (statp=0x7fd4f14acdb8, name=name@entry=0x1ce8400 "download.opensuse.org", class=class@entry=1, type=type@entry=1, answer=answer@entry=0x7fd4f14aacb0 "", anslen=anslen@entry=1024, answerp=answerp@entry=0x7fd4f14ab0f0, answerp2=answerp2@entry=0x0, nanswerp2=nanswerp2@entry=0x0, resplen2=resplen2@entry=0x0) at res_query.c:378 #11 0x00007fd4f06976d2 in __GI__nss_dns_gethostbyname3_r (name=0x1ce8400 "download.opensuse.org", af=af@entry=2, result=0x7fd4f14abb30, buffer=buffer@entry=0x7fd4f14ab5a0 "\n\245", <incomplete sequence \310>, buflen=buflen@entry=1064, errnop=0x7fd4f14abb10, h_errnop=h_errnop@entry=0x7fd4f14abb14, ttlp=ttlp@entry=0x0, canonp=canonp@entry=0x0) at nss_dns/dns-host.c:192 #12 0x00007fd4f0697984 in _nss_dns_gethostbyname2_r (name=<optimized out>, af=af@entry=2, result=<optimized out>, buffer=buffer@entry=0x7fd4f14ab5a0 "\n\245", <incomplete sequence \310>, buflen=buflen@entry=1064, errnop=<optimized out>, h_errnop=0x7fd4f14abb14) at nss_dns/dns-host.c:257 #13 0x00007fd4f8710472 in gaih_inet (name=<optimized out>, name@entry=0x1ce8400 "download.opensuse.org", service=service@entry=0x7fd4f14abc30, req=req@entry=0x1ce63b0, pai=pai@entry=0x7fd4f14abc18, naddrs=naddrs@entry=0x7fd4f14abc14, usable_ipv6=<optimized out>) at ../sysdeps/posix/getaddrinfo.c:977 #14 0x00007fd4f871263a in __GI_getaddrinfo (name=0x1ce8400 "download.opensuse.org", service=0x7fd4f14abdb0 "80", hints=0x1ce63b0, pai=0x7fd4f14abd68) at ../sysdeps/posix/getaddrinfo.c:2495 #15 0x00007fd4f7c222d4 in ?? () from /usr/lib64/libcurl.so.4 #16 0x00007fd4f7c2d6a4 in ?? () from /usr/lib64/libcurl.so.4 #17 0x00007fd4f7c2b2fb in ?? () from /usr/lib64/libcurl.so.4 #18 0x00007fd4f84280db in start_thread (arg=0x7fd4f14ac700) at pthread_create.c:309 #19 0x00007fd4f872590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) i threads Id Target Id Frame 2 Thread 0x7fd4fa123840 (LWP 25675) 0x00007fd4f8429502 in pthread_join (threadid=140552558003968, thread_return=0x0) at pthread_join.c:92 * 1 Thread 0x7fd4f14ac700 (LWP 25677) 0x00007fd4f8fc67eb in std::basic_string<char, std::char_traits<char>, std::allocator<char>
::basic_string(std::string const&) () from /usr/lib64/libstdc++.so.6
(gdb) t 2 [Switching to thread 2 (Thread 0x7fd4fa123840 (LWP 25675))] #0 0x00007fd4f8429502 in pthread_join (threadid=140552558003968, thread_return=0x0) at pthread_join.c:92 92 pthread_join.c: No such file or directory. (gdb) bt #0 0x00007fd4f8429502 in pthread_join (threadid=140552558003968, thread_return=0x0) at pthread_join.c:92 #1 0x00007fd4f7c2b3be in ?? () from /usr/lib64/libcurl.so.4 #2 0x00007fd4f7c2d750 in ?? () from /usr/lib64/libcurl.so.4 #3 0x00007fd4f7c01df7 in ?? () from /usr/lib64/libcurl.so.4 #4 0x00007fd4f7c14bf4 in curl_multi_remove_handle () from /usr/lib64/libcurl.so.4 #5 0x00007fd4f7bfa74a in ?? () from /usr/lib64/libcurl.so.4 #6 0x00007fd4f7c0d54a in curl_easy_cleanup () from /usr/lib64/libcurl.so.4 #7 0x00007fd4f99c6fd1 in zypp::media::MediaCurl::disconnectFrom() () from /usr/lib64/libzypp.so.1306 #8 0x00007fd4f99a4de9 in zypp::media::MediaHandler::disconnect() () from /usr/lib64/libzypp.so.1306 #9 0x00007fd4f99ab6ce in zypp::media::MediaHandler::release(std::string const&) () from /usr/lib64/libzypp.so.1306 #10 0x00007fd4f99a03e7 in zypp::media::MediaAccess::close() () from /usr/lib64/libzypp.so.1306 #11 0x00007fd4f99a0767 in zypp::media::MediaAccess::~MediaAccess() () from /usr/lib64/libzypp.so.1306 #12 0x00007fd4f99a0789 in zypp::media::MediaAccess::~MediaAccess() () from /usr/lib64/libzypp.so.1306 #13 0x00007fd4f99eb016 in ?? () from /usr/lib64/libzypp.so.1306 #14 0x00007fd4f99f2daa in ?? () from /usr/lib64/libzypp.so.1306 #15 0x00007fd4f99f2c49 in ?? () from /usr/lib64/libzypp.so.1306 #16 0x00007fd4f867675f in __cxa_finalize (d=0x7fd4f9f33b00) at cxa_finalize.c:56 #17 0x00007fd4f9966d93 in ?? () from /usr/lib64/libzypp.so.1306 #18 0x00007fff085b6890 in ?? () #19 0x00007fd4f9f4be6a in _dl_fini () at dl-fini.c:252 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com