[Aptitude-devel] Bug#849370: aptitude: Aptitude crashes with SIGABRT on install command
Jean-Luc Coulon
jean-luc.coulon at wanadoo.fr
Tue Jan 3 07:49:30 UTC 2017
Hi Manuel,
1 - Happy 2017 for you and your family :)
2 - I've not always the problem, this explains the late answer. I get it
100% with the curses interface, but not with the command line.
3 - Yes this occurs also with 0.8.4-1
4 - I had to rebuild the package because it is supplied stripped (the
dbgsyms package is not supplied in the repositories).
5 - Please find attached the backtrace for "aptitude upgrade"
6 - the same with "aptitude install ssh"
Best regards
Jean-Luc
Le 31/12/2016 à 17:16, Manuel A. Fernandez Montecelo a écrit :
> --args aptitude install pkgs_that_you_want_installed
-------------- next part --------------
Starting program: /usr/bin/aptitude install ssh
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefb00700 (LWP 10942)]
Thread 1 "aptitude" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007ffff556040a in __GI_abort () at abort.c:89
#2 0x0000555555732a45 in subsumes (d2=..., d1=...)
at ../../../../src/generic/apt/apt.cc:1182
#3 or_group_subsumes (d1=..., d2=..., cache=<optimized out>)
at ../../../../src/generic/apt/apt.cc:1205
#4 0x0000555555734b5f in internal_is_interesting_dep (cache=0x555555c41220,
d=...) at ../../../../src/generic/apt/apt.cc:1303
#5 is_interesting_dep (d=..., cache=0x555555c41220)
at ../../../../src/generic/apt/apt.cc:1344
#6 0x00005555557564e0 in aptitude_resolver_version::dep_iterator::applicable (
dep=..., prv=..., prv_open=<optimized out>, cache=<optimized out>)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:283
#7 0x00005555557509ad in aptitude_resolver_version::dep_iterator::applicable (
this=this at entry=0x7fffffffbcf0)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:302
#8 0x0000555555750a98 in aptitude_resolver_version::dep_iterator::normalize (
this=this at entry=0x7fffffffbcf0)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:317
#9 0x0000555555751c5a in aptitude_resolver_version::dep_iterator::operator++ (
this=this at entry=0x7fffffffbcf0)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:529
#10 0x00005555558286c6 in aptitude_universe::dep_iterator::operator++ (
this=0x7fffffffbcc0)
at ../../../../src/generic/apt/aptitude_resolver_universe.h:1246
#11 generic_problem_resolver<aptitude_universe>::generic_problem_resolver (
this=this at entry=0x555556a52070, _step_score=_step_score at entry=-10,
_broken_score=_broken_score at entry=-100,
_unfixed_soft_score=_unfixed_soft_score at entry=-200,
infinity=infinity at entry=1000000,
_full_solution_score=_full_solution_score at entry=50,
_unfixed_soft_cost=..., _future_horizon=50, _initial_state=...,
_universe=...)
at ../../../../src/generic/problemresolver/problemresolver.h:3782
#12 0x00005555558187d4 in aptitude_resolver::aptitude_resolver (
this=0x555556a52070, step_score=-10, broken_score=-100,
unfixed_soft_score=-200, infinity=1000000, resolution_score=50,
unfixed_soft_cost=..., future_horizon=50, _cost_settings=...,
initial_installations=..., cache=0x555555c41220, _policy=0x555555ba6f00)
at ../../../../src/generic/apt/aptitude_resolver.cc:731
#13 0x00005555557a0066 in resolver_manager::create_resolver (
this=this at entry=0x555555c330d0)
at ../../../../src/generic/apt/resolver_manager.cc:968
#14 0x00005555557a1c71 in resolver_manager::maybe_create_resolver (
this=0x555555c330d0, consider_policybroken=<optimized out>)
at ../../../../src/generic/apt/resolver_manager.cc:805
#15 0x000055555569693a in sigc::internal::signal_emit0<void, sigc::nil>::emit (
impl=0x555555c33410) at /usr/include/sigc++-2.0/sigc++/signal.h:798
#16 0x0000555555727443 in sigc::signal0<void, sigc::nil>::emit (
this=0x555555c41380) at /usr/include/sigc++-2.0/sigc++/signal.h:2804
#17 sigc::signal0<void, sigc::nil>::operator() (this=0x555555c41380)
at /usr/include/sigc++-2.0/sigc++/signal.h:2820
#18 aptitudeDepCache::end_action_group (this=0x555555c41220, undo=0x0)
at ../../../../src/generic/apt/aptcache.cc:2336
#19 0x00005555556b12bb in cmdline_do_action (argc=<optimized out>,
argv=<optimized out>, status_fname=<optimized out>,
simulate=<optimized out>, assume_yes=<optimized out>,
download_only=<optimized out>, fix_broken=false, showvers=false,
showdeps=false, showsize=false, showwhy=false, visual_preview=false,
always_prompt=false, resolver_mode=resolver_mode_full,
safe_resolver_show_actions=false, no_new_installs=false,
no_new_upgrades=false, user_tags=std::vector of length 0, capacity 0,
arch_only=false, queue_only=false, verbose=<optimized out>)
at ../../../src/cmdline/cmdline_do_action.cc:249
#20 0x00005555555b4250 in main (argc=3, argv=<optimized out>)
at ../../src/main.cc:1278
-------------- next part --------------
Starting program: /usr/bin/aptitude install pkgs_that_you_want_installed
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef99c700 (LWP 23884)]
[Thread 0x7fffef99c700 (LWP 23884) exited]
[Inferior 1 (process 23860) exited with code 0377]
No stack.
Starting program: /usr/bin/aptitude upgrade
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefb00700 (LWP 25074)]
Thread 1 "aptitude" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
#0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007ffff556040a in __GI_abort () at abort.c:89
#2 0x0000555555732a45 in subsumes (d2=..., d1=...)
at ../../../../src/generic/apt/apt.cc:1182
#3 or_group_subsumes (d1=..., d2=..., cache=<optimized out>)
at ../../../../src/generic/apt/apt.cc:1205
#4 0x0000555555734b5f in internal_is_interesting_dep (cache=0x555555c41220,
d=...) at ../../../../src/generic/apt/apt.cc:1303
#5 is_interesting_dep (d=..., cache=0x555555c41220)
at ../../../../src/generic/apt/apt.cc:1344
#6 0x00005555557564e0 in aptitude_resolver_version::dep_iterator::applicable (
dep=..., prv=..., prv_open=<optimized out>, cache=<optimized out>)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:283
#7 0x00005555557509ad in aptitude_resolver_version::dep_iterator::applicable (
this=this at entry=0x7fffffffbc50)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:302
#8 0x0000555555750a98 in aptitude_resolver_version::dep_iterator::normalize (
this=this at entry=0x7fffffffbc50)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:317
#9 0x0000555555751c5a in aptitude_resolver_version::dep_iterator::operator++ (
this=this at entry=0x7fffffffbc50)
at ../../../../src/generic/apt/aptitude_resolver_universe.cc:529
#10 0x00005555558286c6 in aptitude_universe::dep_iterator::operator++ (
this=0x7fffffffbc20)
at ../../../../src/generic/apt/aptitude_resolver_universe.h:1246
#11 generic_problem_resolver<aptitude_universe>::generic_problem_resolver (
this=this at entry=0x555556a33040, _step_score=_step_score at entry=-10,
_broken_score=_broken_score at entry=-100,
_unfixed_soft_score=_unfixed_soft_score at entry=-200,
infinity=infinity at entry=1000000,
_full_solution_score=_full_solution_score at entry=50,
_unfixed_soft_cost=..., _future_horizon=50, _initial_state=...,
_universe=...)
at ../../../../src/generic/problemresolver/problemresolver.h:3782
#12 0x00005555558187d4 in aptitude_resolver::aptitude_resolver (
this=0x555556a33040, step_score=-10, broken_score=-100,
unfixed_soft_score=-200, infinity=1000000, resolution_score=50,
unfixed_soft_cost=..., future_horizon=50, _cost_settings=...,
initial_installations=..., cache=0x555555c41220, _policy=0x555555ba6f00)
at ../../../../src/generic/apt/aptitude_resolver.cc:731
#13 0x00005555557a0066 in resolver_manager::create_resolver (
this=this at entry=0x555555c330d0)
at ../../../../src/generic/apt/resolver_manager.cc:968
#14 0x00005555557a1c71 in resolver_manager::maybe_create_resolver (
this=0x555555c330d0, consider_policybroken=<optimized out>)
at ../../../../src/generic/apt/resolver_manager.cc:805
#15 0x000055555569693a in sigc::internal::signal_emit0<void, sigc::nil>::emit (
impl=0x555555c33410) at /usr/include/sigc++-2.0/sigc++/signal.h:798
#16 0x0000555555727443 in sigc::signal0<void, sigc::nil>::emit (
this=0x555555c41380) at /usr/include/sigc++-2.0/sigc++/signal.h:2804
#17 sigc::signal0<void, sigc::nil>::operator() (this=0x555555c41380)
at /usr/include/sigc++-2.0/sigc++/signal.h:2820
#18 aptitudeDepCache::end_action_group (this=0x555555c41220, undo=0x0)
at ../../../../src/generic/apt/aptcache.cc:2336
#19 0x0000555555727830 in aptitudeDepCache::mark_all_upgradable (
this=0x555555c41220, with_autoinst=<optimized out>,
ignore_removed=ignore_removed at entry=true, undo=undo at entry=0x0)
at ../../../../src/generic/apt/aptcache.cc:645
#20 0x00005555556b1f2b in cmdline_do_action (argc=1, argv=0x7fffffffe0a0,
status_fname=0x0, simulate=<optimized out>, assume_yes=<optimized out>,
download_only=<optimized out>, fix_broken=false, showvers=false,
showdeps=false, showsize=false, showwhy=false, visual_preview=false,
always_prompt=false, resolver_mode=resolver_mode_safe,
safe_resolver_show_actions=false, no_new_installs=false,
no_new_upgrades=false, user_tags=std::vector of length 0, capacity 0,
arch_only=false, queue_only=false, verbose=0)
at ../../../src/cmdline/cmdline_do_action.cc:221
#21 0x00005555555b4250 in main (argc=2, argv=<optimized out>)
at ../../src/main.cc:1278
More information about the Aptitude-devel
mailing list