https://bugzilla.novell.com/show_bug.cgi?id=763297
https://bugzilla.novell.com/show_bug.cgi?id=763297#c0
Summary: zypper: Segfault in atomic_exchange_and_add
Classification: openSUSE
Product: openSUSE 12.2
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: libzypp
AssignedTo: zypp-maintainers@forge.provo.novell.com
ReportedBy: burnus@gmx.de
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
After installing some updates, zypper failed as follows. (Zypper itself was not
updated and has version zypper-1.7.2-2.2.x86_64 (Sun May 06 2012); libzypper is
*now* in version "Tue May 08 2012":
…
Installing: libzypp-11.6.0-1.2
..............................................................................................................[done]
…
Installing: libzypp-debuginfo-11.6.0-1.2
....................................................................................................[done]
There are some running programs that use files deleted by recent upgrade. You
may wish to restart some of them. Run 'zypper ps' to list these programs.
zypper> exit
Segmentation fault (core dumped)
Backtrace:
Core was generated by `zypper sh'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002afd75523e4e in atomic_exchange_and_add (dv=-1, pw=0x20000102c488) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:50
warning: Source file is more recent than executable.
50 );
(gdb) bt
#0 0x00002afd75523e4e in atomic_exchange_and_add (dv=-1, pw=0x20000102c488) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:50
#1 release (this=0x20000102c480) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:143
#2 ~shared_count (this=0x240f248, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#3 ~shared_ptr (this=0x240f240, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/shared_ptr.hpp:164
#4 ~RW_pointer (this=0x240f240, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/base/PtrTypes.h:265
#5 zypp::PoolItem::~PoolItem (this=0x240f240, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/PoolItem.cc:224
#6 0x00002afd7536f41c in ~_List_node (this=0x240f230, __in_chrg=<optimized
out>) at /usr/include/c++/4.7/bits/stl_list.h:107
#7 destroyzypp::PoolItem > (__p=0x240f230, this=<optimized
out>) at /usr/include/c++/4.7/ext/new_allocator.h:114
#8 std::_List_basezypp::PoolItem >::_M_clear
(this=0xb01a38) at /usr/include/c++/4.7/bits/list.tcc:76
#9 0x00002afd754a8b11 in ~_List_base (this=0xb01a38, __in_chrg=<optimized
out>) at /usr/include/c++/4.7/bits/stl_list.h:401
#10 ~list (this=0xb01a38, __in_chrg=<optimized out>) at
/usr/include/c++/4.7/bits/stl_list.h:458
#11 zypp::solver::detail::SATResolver::~SATResolver (this=0xb019d0,
__in_chrg=<optimized out>)
at /usr/src/debug/libzypp-11.6.0/zypp/solver/detail/SATResolver.cc:159
#12 0x00002afd754a8bb9 in zypp::solver::detail::SATResolver::~SATResolver
(this=0xb019d0, __in_chrg=<optimized out>)
at /usr/src/debug/libzypp-11.6.0/zypp/solver/detail/SATResolver.cc:162
#13 0x00002afd75492fd8 in zypp::solver::detail::Resolver::~Resolver
(this=0xb01700, __in_chrg=<optimized out>)
at /usr/src/debug/libzypp-11.6.0/zypp/solver/detail/Resolver.cc:103
#14 0x00002afd754932b9 in zypp::solver::detail::Resolver::~Resolver
(this=0xb01700, __in_chrg=<optimized out>)
at /usr/src/debug/libzypp-11.6.0/zypp/solver/detail/Resolver.cc:104
#15 0x00002afd7556717d in ~intrusive_ptr (this=0xb01300, __in_chrg=<optimized
out>) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:96
#16 ~RW_pointer (this=0xb01300, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/base/PtrTypes.h:265
#17 zypp::Resolver::~Resolver (this=0xb012f0, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/Resolver.cc:45
#18 0x00002afd755671b9 in zypp::Resolver::~Resolver (this=0xb012f0,
__in_chrg=<optimized out>)
at /usr/src/debug/libzypp-11.6.0/zypp/Resolver.cc:46
#19 0x00002afd75593f8e in ~intrusive_ptr (this=0xb01328, __in_chrg=<optimized
out>) at /usr/include/boost/smart_ptr/intrusive_ptr.hpp:96
#20 zypp::zypp_detail::ZYppImpl::~ZYppImpl (this=0xb01320, __in_chrg=<optimized
out>)
at /usr/src/debug/libzypp-11.6.0/zypp/zypp_detail/ZYppImpl.cc:55
#21 0x00002afd75591572 in checked_deletezypp::zypp_detail::ZYppImpl
(x=0xb01320) at /usr/include/boost/checked_delete.hpp:34
#22 boost::detail::sp_counted_impl_pzypp::zypp_detail::ZYppImpl::dispose
(this=<optimized out>)
at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#23 0x00002afd7558d119 in release (this=0xb020c0) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#24 ~shared_count (this=0xb02178, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#25 ~shared_ptr (this=0xb02170, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/shared_ptr.hpp:164
#26 ~RW_pointer (this=0xb02170, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/base/PtrTypes.h:265
#27 zypp::ZYpp::~ZYpp (this=0xb02160, __in_chrg=<optimized out>) at
/usr/src/debug/libzypp-11.6.0/zypp/ZYpp.cc:39
#28 0x00002afd7558d159 in zypp::ZYpp::~ZYpp (this=0xb02160,
__in_chrg=<optimized out>) at /usr/src/debug/libzypp-11.6.0/zypp/ZYpp.cc:40
#29 0x00002afd767e6921 in __run_exit_handlers (status=0, listp=0x2afd76b4e5d0,
run_list_atexit=true) at exit.c:78
#30 0x00002afd767e69a5 in __GI_exit (status=<optimized out>) at exit.c:100
#31 0x00002afd767d045c in __libc_start_main (main=0x433280 ,
argc=2, ubp_av=0x7fffa1dbffc8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa1dbffb8)
at libc-start.c:258
#32 0x0000000000434561 in _start () at ../sysdeps/x86_64/elf/start.S:113
--
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.