freebsd / pkg

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org
Other
754 stars 281 forks source link

pkg 1.4.0.beta1: assertion failed in pkg_solve_add_request_rule #1077

Closed lifanov closed 9 years ago

lifanov commented 10 years ago

pkg 1.4.0.beta1 exits with signal 6 on "pkg upgrade" (multirepo): Assertion failed: (curvar != NULL), function pkg_solve_add_request_rule, file pkg_solve.c, line 537

Backtrace:

This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `pkg-static'.
Program terminated with signal 6, Aborted.
#0  0x00000000007e2cba in kill ()
(gdb) bt
#0  0x00000000007e2cba in kill ()
#1  0x00000000007e1419 in abort ()
#2  0x00000000007c71fa in __assert ()
#3  0x00000000004aeed2 in pkg_solve_add_request_rule (problem=0x8025081c0,
    var=0x802519d40, req=0x80197ce70, inverse=1) at pkg_solve.c:537
#4  0x00000000004a6098 in pkg_solve_process_universe_variable (
    problem=0x8025081c0, var=0x802519c60) at pkg_solve.c:675
#5  0x00000000004a4918 in pkg_solve_jobs_to_sat (j=0x801155da0)
    at pkg_solve.c:777
#6  0x000000000045ca9d in pkg_jobs_solve (j=0x801155da0) at pkg_jobs.c:1655
#7  0x0000000000419d1f in exec_upgrade (argc=0, argv=0x7fffffffec08)
    at upgrade.c:177
#8  0x0000000000410662 in main (argc=1, argv=0x7fffffffec00) at main.c:822
andrejzverev commented 10 years ago

Can you check same with 36a74460a56a16412ef3b59b3057b822e22b21e2 ?

lifanov commented 10 years ago

I checked, and it fixes my crash. This issue can be closed.

andrejzverev commented 10 years ago

@bapt - it's for b2

andrejzverev commented 9 years ago

Fixed