Here is the core dump with backtrace:
$ gdb -c core /usr/sbin/cupsd
Reading symbols from /usr/sbin/cupsd...
(No debugging symbols found in /usr/sbin/cupsd)
[New LWP 15514]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `cupsd -f -c /etc/cups/cupsd.conf'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) backtrace
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ff44c736535 in __GI_abort () at abort.c:79
#2 0x00007ff44c79d726 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ff44c8c3952 "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ff44c7a459a in malloc_printerr (str=str@entry=0x7ff44c8c1a9b
"free(): invalid pointer") at malloc.c:5352
#4 0x00007ff44c7a63cc in _int_free (av=<optimized out>, p=<optimized out>,
have_lock=<optimized out>) at malloc.c:4181
#5 0x00007ff44c9a78be in ?? () from /usr/lib/x86_64-linux-gnu/libcups.so.2
#6 0x00007ff44c9a7828 in ippDelete () from
/usr/lib/x86_64-linux-gnu/libcups.so.2
#7 0x000056032e311964 in ?? ()
#8 0x000056032e34baa7 in ?? ()
#9 0x000056032e309310 in ?? ()
#10 0x00007ff44c737b6b in __libc_start_main (main=0x56032e308940, argc=4,
argv=0x7fffb6f84b28, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffb6f84b18) at
../csu/libc-start.c:308
#11 0x000056032e30a5fa in ?? ()
(gdb) quit
** Attachment added: "core dumped with manual invocation"
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1826648/+attachment/5259490/+files/core
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1826648
Title:
cupds crashes with core dump
Status in cups package in Ubuntu:
New
Bug description:
At home my cupsd daemon crashes all the time.
Sometimes I'm able to print a few pages but in most cases it ends-up
restarting and sending tons of crap to my printer resulting in
multiple wasted pages with non-sense characters printed on it.
I ended-up manually creating a core dump by launching it from root with:
# cupsd -f -c /etc/cups/cupsd.conf
(will attach core in post)
I tried using the default drivers for my printer then using the
Samsung provided ones with same result. My printer is a Samsung
C460W.
Here is the systemd status:
$ sudo systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset:
enabled)
Active: failed (Result: core-dump) since Sat 2019-04-27 09:49:09 EDT;
12min ago
Docs: man:cupsd(8)
Process: 15292 ExecStart=/usr/sbin/cupsd -l (code=dumped, signal=ABRT)
Main PID: 15292 (code=dumped, signal=ABRT)
avr 27 09:49:01 eclipse systemd[1]: Started CUPS Scheduler.
avr 27 09:49:02 eclipse cupsd[15292]: free(): invalid pointer
avr 27 09:49:02 eclipse systemd[1]: cups.service: Main process exited,
code=dumped, status=6/ABRT
avr 27 09:49:09 eclipse systemd[1]: cups.service: Failed with result
'core-dump'.
avr 27 09:49:09 eclipse systemd[1]: Stopped CUPS Scheduler.
I wasn't able to find the core dump it refers to so that's why I
ended-up generating one by invoking cupsd manually then launching
ubuntu-bug against the cups package.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: cups 2.2.10-4
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
Date: Sat Apr 27 09:54:21 2019
InstallationDate: Installed on 2019-04-05 (21 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64
(20190210)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Bad
file descriptor
MachineType: LENOVO 20L6SF1000
Papersize: letter
PpdFiles:
Samsung_C460_Series_th0ma7_print_: Samsung C460 Series PS
Samsung-C460: Samsung C460 Series PS
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.0.0-13-generic
root=UUID=f575ceec-b2a1-4507-ae3b-8487236a2c54 ro rootflags=subvol=@ quiet
splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: Upgraded to disco on 2019-04-05 (21 days ago)
dmi.bios.date: 02/20/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: N24ET48W (1.23 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20L6SF1000
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias:
dmi:bvnLENOVO:bvrN24ET48W(1.23):bd02/20/2019:svnLENOVO:pn20L6SF1000:pvrThinkPadT480:rvnLENOVO:rn20L6SF1000:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T480
dmi.product.name: 20L6SF1000
dmi.product.sku: LENOVO_MT_20L6_BU_Think_FM_ThinkPad T480
dmi.product.version: ThinkPad T480
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1826648/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp