https://bugzilla.novell.com/show_bug.cgi?id=871361
https://bugzilla.novell.com/show_bug.cgi?id=871361#c3
Bernhard Voelker changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mail@bernhard-voelker.de
--- Comment #3 from Bernhard Voelker 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::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", ,
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", ,
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
::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.