[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-21 Thread Launchpad Bug Tracker
This bug was fixed in the package apt - 1.9.3

---
apt (1.9.3) experimental; urgency=medium

  * Fix segfault in pkgAcquire::Enqueue() with Acquire::Queue-Mode=access
(LP: #1839714)
  * test: Use valgrind to ensure Acquire::Queue-Mode=access does not crash
  * Add initial support for package patterns (patterns on versions WIP)

 -- Julian Andres Klode   Mon, 19 Aug 2019 16:21:20
+0200

** Changed in: apt (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-15 Thread shemgp
Thanks for fixing the issue. I can confirm that with commit 7c724251 apt
update works in my system now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-15 Thread Julian Andres Klode
Thanks. I could reproduce the issue - it turns out to be a bug that only
happens for Acquire::Queue-Mode=access - which is not the default and
did not have any test case.

I have a fix pending for it in:
 https://salsa.debian.org/apt-team/apt/merge_requests/73

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-15 Thread Julian Andres Klode
** Changed in: apt (Ubuntu)
   Status: New => Fix Committed

** Changed in: apt (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-14 Thread shemgp
Here's the backtrace:
0x77dc4310 in pkgAcquire::Enqueue (this=0x7fffdf20, Item=...) at 
../apt-pkg/acquire.cc:339
warning: Source file is more recent than executable.
339if (Config->LocalOnly == true 
(gdb) bt
#0  0x77dc4310 in pkgAcquire::Enqueue (this=0x7fffdf20, Item=...) 
at ../apt-pkg/acquire.cc:339
#1  0x77d874e4 in pkgAcquire::Item::QueueURI (this=, 
Item=...) at ../apt-pkg/acquire-item.cc:403
#2  0x77d98a1b in pkgAcqMetaIndex::pkgAcqMetaIndex(pkgAcquire*, 
pkgAcqMetaClearSig*, IndexTarget const&, IndexTarget const&) ()
at ../apt-pkg/acquire-item.cc:2075
#3  0x77d98dde in pkgAcqMetaClearSig::pkgAcqMetaClearSig(pkgAcquire*, 
IndexTarget const&, IndexTarget const&, IndexTarget const&, metaIndex*) ()
at ../apt-pkg/acquire-item.cc:1886
#4  0x77e2e0d3 in debReleaseIndex::GetIndexes (this=, 
Owner=0x7fffdf20, GetAll=@0x7fffdeec: false)
at /usr/include/c++/9/ext/new_allocator.h:80
#5  0x77e9fd19 in pkgSourceList::GetIndexes 
(this=this@entry=0x5557bd40, Owner=Owner@entry=0x7fffdf20, 
GetAll=, GetAll@entry=false)
at ../apt-pkg/sourcelist.cc:487
#6  0x77eacced in ListUpdate (Stat=..., List=..., 
PulseInterval=PulseInterval@entry=0) at ../apt-pkg/update.cc:34
#7  0x77f584ca in DoUpdate (CmdL=...) at 
../apt-private/private-update.cc:72
#8  0x77defa4f in CommandLine::DispatchArg 
(this=this@entry=0x7fffe430, Map=, 
NoMatch=NoMatch@entry=true)
at ../apt-pkg/contrib/cmndline.cc:369
#9  0x77f1f7b7 in DispatchCommandLine (CmdL=..., Cmds=std::vector of 
length 31, capacity 32 = {...}) at /usr/include/c++/9/bits/stl_iterator.h:806
#10 0x63ea in main (argc=2, argv=0x7fffe588) at 
../cmdline/apt.cc:120

Diffing the 1.9.1 and 1.9.2 acquire shows that pkgAcquire::QueueName was
changed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-14 Thread Julian Andres Klode
If you could obtain a backtrack, that would be super useful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839714] Re: Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

2019-08-14 Thread shemgp
Replacing acquire.cc from 1.9.1 fixes the crash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839714

Title:
  Segmentation fault when running apt update using libapt-pkg5.90_1.9.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1839714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs