Version: 1:5.2+dfsg-3~bpo10+1

On 2/14/21 4:46 PM, Michael Tokarev wrote:
> Before I was able to hit this issue with almost any invocation of aptitude.
> But in 5.0 or current 5.2 I can't reproduce this issue anymore, now matter
> how I try.

a simple 'aptitude -u' does the job for me :-(

The core file I get inside the chroot is actually from the qemu binary on the 
host,
perhaps this backtrace helps:

Reading symbols from /usr/bin/qemu-aarch64-static...Reading symbols from 
/usr/lib/debug/.build-id/30/efd3930fb9519b21470b113679376f2ffbb41a.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 23784]
[New LWP 23772]
[New LWP 23774]
[New LWP 23777]
[New LWP 23776]
[New LWP 23775]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/qemu-aarch64-static /usr/bin/aptitude -u'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000059a1eb in getgroups (__list=0x7f867be79cc0, __size=65536) at 
/usr/include/x86_64-linux-gnu/bits/unistd.h:275

warning: Source file is more recent than executable.
275       return __getgroups_alias (__size, __list);
[Current thread is 1 (Thread 0x7f867bebb700 (LWP 23784))]
(gdb) bt
#0  0x000000000059a1eb in getgroups (__list=0x7f867be79cc0, __size=65536) at 
/usr/include/x86_64-linux-gnu/bits/unistd.h:275
#1  do_syscall1 (cpu_env=cpu_env@entry=0x1c8d540, num=num@entry=158, 
arg1=arg1@entry=65536, arg2=arg2@entry=365688737808, 
arg3=arg3@entry=365112983552, arg4=arg4@entry=0, arg5=-1, arg6=0, arg8=0, 
arg7=0) at ../../linux-user/syscall.c:11262
#2  0x00000000005a4c73 in do_syscall (cpu_env=cpu_env@entry=0x1c8d540, num=158, 
arg1=65536, arg2=365688737808, arg3=365112983552, arg4=0, arg5=-1, arg6=0, 
arg7=0, arg8=0) at ../../linux-user/syscall.c:13104
#3  0x0000000000421f98 in cpu_loop (env=env@entry=0x1c8d540) at 
../../linux-user/aarch64/cpu_loop.c:90
#4  0x0000000000590073 in clone_func (arg=0x7ffee38be2b0) at 
../../linux-user/syscall.c:6372
#5  0x0000000000728cb7 in start_thread (arg=<optimized out>) at 
pthread_create.c:477
#6  0x00000000007aad0f in clone ()
(gdb) info threads
  Id   Target Id                         Frame
* 1    Thread 0x7f867bebb700 (LWP 23784) 0x000000000059a1eb in getgroups 
(__list=0x7f867be79cc0, __size=65536) at 
/usr/include/x86_64-linux-gnu/bits/unistd.h:275
  2    Thread 0x19c63c0 (LWP 23772)      tc_ptr_to_region_tree 
(p=0x7f867c6c3240 <code_gen_buffer+7619091>) at ../../tcg/tcg.c:418
  3    Thread 0x7f8688812700 (LWP 23774) 0x00000000007a9429 in syscall ()
  4    Thread 0x7f867befc700 (LWP 23777) safe_syscall_base () at 
../../linux-user/host/x86_64/safe-syscall.inc.S:75
  5    Thread 0x7f867bf3d700 (LWP 23776) safe_syscall_base () at 
../../linux-user/host/x86_64/safe-syscall.inc.S:75
  6    Thread 0x7f867bf7e700 (LWP 23775) safe_syscall_base () at 
../../linux-user/host/x86_64/safe-syscall.inc.S:75

Reply via email to