@Till, the error pointed out by valgrind happend when I manually start
cups-browsed at any time during the session, it's not a shutdown problem

==5706== Invalid write of size 8
==5706== at 0x124791: UnknownInlinedFun (string_fortified.h:71)
==5706== by 0x124791: update_cups_queues (cups-browsed.c:7381)

The error basically means that in cups-browsed.c at line 7381 it tries
to incorrect use a variable

the corresponding line in the code is
  memset(deleted_master, 0, sizeof(remote_printer_t));

but it's defined as 
static remote_printer_t *deleted_master = NULL;

but you don't seem to allocate an actual array there where you should?


Let me know if you still need the log but I think the code there is just wrong?


** Changed in: cups-filters (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups-filters in Ubuntu.
https://bugs.launchpad.net/bugs/1857815

Title:
  cups-browsed assert failure: corrupted double-linked list

Status in cups-filters package in Ubuntu:
  New

Bug description:
  Same bug on Focal

  ProblemType: Crash
  DistroRelease: Ubuntu 20.04
  Package: cups-browsed 1.26.0-1
  ProcVersionSignature: Ubuntu 5.4.0-9.12-generic 5.4.3
  Uname: Linux 5.4.0-9-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu15
  Architecture: amd64
  AssertionMessage: corrupted double-linked list
  CupsErrorLog:
   
  Date: Thu Dec 26 08:18:13 2019
  ExecutablePath: /usr/sbin/cups-browsed
  InstallationDate: Installed on 2019-12-12 (17 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191211)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 002: ID 0cf3:e007 Qualcomm Atheros Communications 
   Bus 001 Device 003: ID 1bcf:2c01 Sunplus Innovation Technology Inc. 
Integrated Webcam
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Inspiron 15 7000 Gaming
  Papersize: a4
  ProcAttrCurrent: /usr/sbin/cups-browsed (enforce)
  ProcCmdline: /usr/sbin/cups-browsed
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-9-generic 
root=UUID=ada0b905-9f6f-4911-9311-d1930ae73b8a ro quiet splash vt.handoff=7
  Signal: 6
  SourcePackage: cups-filters
  StacktraceTop:
   __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fa8703a73a5 
"%s\n") at ../sysdeps/posix/libc_fatal.c:181
   malloc_printerr (str=str@entry=0x7fa8703a54d3 "corrupted double-linked 
list") at malloc.c:5332
   unlink_chunk (p=p@entry=0x55c22905f000, av=0x7fa8703d8b80 <main_arena>) at 
malloc.c:1460
   _int_malloc (av=av@entry=0x7fa8703d8b80 <main_arena>, bytes=bytes@entry=184) 
at malloc.c:4041
   __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3428
  Title: cups-browsed assert failure: corrupted double-linked list
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 05/17/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.10.0
  dmi.board.name: 0P84C9
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.10.0:bd05/17/2019:svnDellInc.:pnInspiron157000Gaming:pvr:rvnDellInc.:rn0P84C9:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 15 7000 Gaming
  dmi.product.sku: 0798
  dmi.sys.vendor: Dell Inc.
  separator:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1857815/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to