Package: aptitude
Version: 0.8.13-8+b1
Followup-For: Bug #1035976
Dear Maintainer,
This is Debian Sid. For a couple of days (but really couple of
weeks; last time I updated it was 2 Sundays ago, the 08th), running
sudo aptitude
locally and then updating the cache gets a SIGSEGV. I made a stack
trace, I hope it helps:
Thread 1 "aptitude" received signal SIGSEGV, Segmentation fault.
0x00007ffff7e031f7 in pkgCache::DepIterator::operator++() () from
/usr/lib/x86_64-linux-gnu/libapt-pkg.so.7.0
(gdb) bt
#0 0x00007ffff7e031f7 in pkgCache::DepIterator::operator++() () from
/usr/lib/x86_64-linux-gnu/libapt-pkg.so.7.0
#1 0x00005555557a0850 in surrounding_or (dep=..., start=..., end=...,
cache=<optimized out>) at ../../../../src/generic/apt/apt.cc:813
#2 0x000055555570caf0 in aptitude_resolver_dep::aptitude_resolver_dep
(this=0x7fffffffcaf0, dep=0x7ffff0baba94, _prv=<optimized out>,
_cache=<optimized out>) at
../../../../src/generic/apt/aptitude_resolver_universe.h:422
#3 0x00005555558b1cf8 in aptitude_resolver_version::dep_iterator::operator*
(this=0x7fffffffcb70) at
../../../../src/generic/apt/aptitude_resolver_universe.h:813
#4 aptitude_universe::dep_iterator::operator* (this=0x7fffffffcb40) at
../../../../src/generic/apt/aptitude_resolver_universe.h:1235
#5 generic_problem_resolver<aptitude_universe>::generic_problem_resolver
(this=this@entry=0x555555c38590, _step_score=_step_score@entry=-10,
_broken_score=_broken_score@entry=-100,
_unfixed_soft_score=_unfixed_soft_score@entry=-200,
infinity=infinity@entry=1000000,
_full_solution_score=_full_solution_score@entry=50, _unfixed_soft_cost=...,
_future_horizon=50, _initial_state=..., _universe=...) at
../../../../src/generic/problemresolver/problemresolver.h:3786
#6 0x000055555589d068 in aptitude_resolver::aptitude_resolver
(this=this@entry=0x555555c38590, step_score=-10,
broken_score=broken_score@entry=-100,
unfixed_soft_score=unfixed_soft_score@entry=-200,
infinity=infinity@entry=1000000, resolution_score=resolution_score@entry=50,
unfixed_soft_cost=..., future_horizon=50, _cost_settings=...,
initial_installations=..., cache=0x555560c0d600, _policy=0x5555597dcc60) at
../../../../src/generic/apt/aptitude_resolver.cc:734
#7 0x0000555555814f9d in resolver_manager::create_resolver
(this=this@entry=0x555555a02c10) at
../../../../src/generic/apt/resolver_manager.cc:968
#8 0x0000555555816434 in resolver_manager::maybe_create_resolver
(this=this@entry=0x555555a02c10,
consider_policybroken=consider_policybroken@entry=false) at
../../../../src/generic/apt/resolver_manager.cc:805
#9 0x0000555555816b44 in resolver_manager::maybe_create_resolver
(this=0x555555a02c10) at ../../../../src/generic/apt/resolver_manager.h:474
#10 resolver_manager::resolver_manager (this=this@entry=0x555555a02c10,
_cache_file=_cache_file@entry=0x555555c18ca0, _initial_installations=...) at
../../../../src/generic/apt/resolver_manager.cc:195
#11 0x00005555557a90f4 in apt_load_cache
(progress_bar=progress_bar@entry=0x555555c18740,
do_initselections=do_initselections@entry=true,
operation_needs_lock=operation_needs_lock@entry=true,
status_fname=status_fname@entry=0x0,
reset_reinstall=reset_reinstall@entry=false)
at ../../../../src/generic/util/immset.h:258
#12 0x00005555557e762f in download_update_manager::finish
(this=this@entry=0x5555597764d0, res=res@entry=pkgAcquire::Continue,
progress=0x555555c18740, k=...) at
../../../../src/generic/apt/download_update_manager.cc:209
#13 0x00005555556fe62d in ui_download_manager::done (this=0x55555a8d8060,
t=<optimized out>, res=pkgAcquire::Continue) at
/usr/include/cwidget/generic/util/ref_ptr.h:159
#14 0x00005555556641bc in sigc::slot2<void, download_thread*,
pkgAcquire::RunResult>::operator() (this=0x7fffffffdb50, _A_a1=@0x7fffffffdb48:
0x555561f1c260, _A_a2=@0x7fffffffdb44: pkgAcquire::Continue) at
/usr/include/sigc++-2.0/sigc++/functors/slot.h:813
#15 (anonymous namespace)::do_download_complete (t=<optimized out>,
res=<optimized out>, continuation=...) at ../../src/download_thread.cc:220
#16 0x0000555555669055 in sigc::pointer_functor3<download_thread*,
pkgAcquire::RunResult, safe_slot2<void, download_thread*,
pkgAcquire::RunResult>, void>::operator() (this=<optimized out>,
_A_a1=<optimized out>, _A_a2=<optimized out>, _A_a3=...)
at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:185
#17 sigc::adaptor_functor<sigc::pointer_functor3<download_thread*,
pkgAcquire::RunResult, safe_slot2<void, download_thread*,
pkgAcquire::RunResult>, void> >::operator()<download_thread*&,
pkgAcquire::RunResult&, safe_slot2<void, download_thread*,
pkgAcquire::RunResult>&> (
this=<optimized out>, _A_arg1=<optimized out>, _A_arg2=<optimized out>,
_A_arg3=...) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:128
#18 sigc::bind_functor<-1, sigc::pointer_functor3<download_thread*,
pkgAcquire::RunResult, safe_slot2<void, download_thread*,
pkgAcquire::RunResult>, void>, download_thread*, pkgAcquire::RunResult,
safe_slot2<void, download_thread*, pkgAcquire::RunResult>, sigc::nil,
sigc::nil, sigc::nil, sigc::nil>::operator() (this=<optimized out>) at
/usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1529
#19 sigc::internal::slot_call0<sigc::bind_functor<-1,
sigc::pointer_functor3<download_thread*, pkgAcquire::RunResult,
safe_slot2<void, download_thread*, pkgAcquire::RunResult>, void>,
download_thread*, pkgAcquire::RunResult, safe_slot2<void, download_thread*,
pkgAcquire::RunResult>, sigc::nil, sigc::nil, sigc::nil, sigc::nil>,
void>::call_it (rep=<optimized out>) at
/usr/include/sigc++-2.0/sigc++/functors/slot.h:136
#20 0x00005555556f9842 in sigc::slot0<void>::operator() (this=0x7fffffffdbd0)
at /usr/include/sigc++-2.0/sigc++/functors/slot.h:540
#21 aptitude::safe_slot_event::dispatch (this=<optimized out>) at
../../src/safe_slot_event.h:40
#22 0x00007ffff7b852f7 in cwidget::toplevel::mainloop() () from
/usr/lib/x86_64-linux-gnu/libcwidget.so.4
#23 0x00005555556e5193 in ui_main () at ../../src/ui.cc:3147
#24 0x000055555561e403 in main (argc=<optimized out>, argv=<optimized out>) at
../../src/main.cc:1427
I have a couple of non official repos (first one IS official :):
mdione@ioniq:~$ ls -l /etc/apt/sources.list.d/*
-rw-r--r-- 1 root root 198 Nov 23 09:41 /etc/apt/sources.list.d/debian.sources
-rw-r--r-- 1 root root 126 Feb 27 21:59
/etc/apt/sources.list.d/extrepo_librewolf.sources
-rw-r--r-- 1 root root 138 Nov 19 20:21 /etc/apt/sources.list.d/grafana.sources
mdione@ioniq:~$ cat /etc/apt/sources.list.d/*
Components: main non-free non-free-firmware contrib
X-Repolib-Name: debian
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Suites: unstable
Types: deb
URIs: https://deb.debian.org/debian/
Components: main
Signed-By: /var/lib/extrepo/keys/librewolf.asc
Suites: librewolf
Types: deb
Uris: https://repo.librewolf.net
Components: main
X-Repolib-Name: grafana
Signed-By: /etc/apt/keyrings/grafana.gpg
Suites: stable
Types: deb
URIs: https://apt.grafana.com
Let me know if I can provide more info.
Cheers,
-- Marcos.
-- Package-specific info:
Terminal: screen.xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.8.13
Compiler: g++ 15.2.0
Compiled against:
apt version 7.0.0
NCurses version 6.6
libsigc++ version: 2.12.1
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.6.20251231
cwidget version: 0.5.18
Apt version: 7.0.0
aptitude linkage:
linux-vdso.so.1 (0x00007fbca176a000)
libapt-pkg.so.7.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.7.0
(0x00007fbca0e00000)
libncursesw.so.6 => /usr/lib/x86_64-linux-gnu/libncursesw.so.6
(0x00007fbca16fa000)
libtinfo.so.6 => /usr/lib/x86_64-linux-gnu/libtinfo.so.6
(0x00007fbca16c4000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0
(0x00007fbca16bb000)
libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4
(0x00007fbca10f8000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
(0x00007fbca0c80000)
libboost_iostreams.so.1.90.0 =>
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.90.0 (0x00007fbca16a1000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30
(0x00007fbca0a00000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fbca0600000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007fbca090a000)
libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007fbca10ca000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007fbca040a000)
libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00007fbca0c60000)
libbz2.so.1.0 => /usr/lib/x86_64-linux-gnu/libbz2.so.1.0
(0x00007fbca168b000)
liblzma.so.5 => /usr/lib/x86_64-linux-gnu/liblzma.so.5
(0x00007fbca08d9000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1
(0x00007fbca08ad000)
libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1
(0x00007fbca0340000)
libudev.so.1 => /usr/lib/x86_64-linux-gnu/libudev.so.1
(0x00007fbca02f8000)
libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0
(0x00007fbca01dd000)
libcrypto.so.3 => /usr/lib/x86_64-linux-gnu/libcrypto.so.3
(0x00007fbc9fa00000)
libxxhash.so.0 => /usr/lib/x86_64-linux-gnu/libxxhash.so.0
(0x00007fbca0899000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbca176c000)
libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1
(0x00007fbca10c0000)
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.18.15+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages aptitude depends on:
ii aptitude-common 0.8.13-8
ii libapt-pkg7.0 3.1.16
ii libboost-iostreams1.90.0 1.90.0-5+b1
ii libc6 2.42-13
ii libcwidget4 0.5.18-6+b3
ii libgcc-s1 16-20260315-1
ii libncursesw6 6.6+20251231-1
ii libsigc++-2.0-0v5 2.12.1-4
ii libsqlite3-0 3.46.1-9+b1
ii libstdc++6 16-20260315-1
ii libtinfo6 6.6+20251231-1
ii libxapian30 1.4.31-2
Versions of packages aptitude recommends:
ii libdpkg-perl 1.23.7
ii sensible-utils 0.0.26
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn aptitude-doc-en | aptitude-doc <none>
pn debtags <none>
ii tasksel 3.87
-- no debconf information