hpcups assert failure: *** glibc detected *** hp-LaserJet-1010: free(): invalid next size (normal): 0x082a6b88 ***

Bug #764654 reported by Pavel Hahin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Incomplete
Undecided
Unassigned
hplip (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: hplip

Unknown problem for me. I surfed in the Internet...

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: hplip-cups 3.11.1-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
AssertionMessage: *** glibc detected *** hp-LaserJet-1010: free(): invalid next size (normal): 0x082a6b88 ***
Date: Mon Apr 18 16:35:56 2011
ExecutablePath: /usr/lib/cups/filter/hpcups
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Lpstat:
 device for hp-LaserJet-1010: hp:/usb/hp_LaserJet_1010?serial=00CNFD785945
 device for hp-LaserJet-1010-2: hp:/usb/hp_LaserJet_1010?serial=00CNFD785945
MachineType: ASUSTeK Computer Inc. K50IJ
Papersize: letter
PpdFiles:
 hp-LaserJet-1010-2: HP LaserJet 1010, hpcups 3.11.1
 hp-LaserJet-1010: HP LaserJet 1010, hpcups 3.11.1
ProcCmdline: hp-LaserJet-1010 9 pmgagin 1 1 PageSize=A4\ job-uuid=urn:uuid:7e843a48-4a72-3eca-4be2-c39e672867c7\ job-originating-host-name=localhost\ time-at-creation=1303133660\ time-at-processing=1303133660\ AP_D_InputSlot=
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=3a4fddd4-a5a7-4403-8ca4-8e40d17cc96f ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: hplip
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/i386-linux-gnu/libc.so.6
 abort () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /lib/i386-linux-gnu/libc.so.6
 ?? () from /lib/i386-linux-gnu/libc.so.6
Title: hpcups assert failure: *** glibc detected *** hp-LaserJet-1010: free(): invalid next size (normal): 0x082a6b88 ***
UpgradeStatus: Upgraded to natty on 2011-03-31 (17 days ago)
UserGroups:

dmi.bios.date: 08/26/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 212
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: K50IJ
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr212:bd08/26/2009:svnASUSTeKComputerInc.:pnK50IJ:pvr1.0:rvnASUSTeKComputerInc.:rnK50IJ:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: K50IJ
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Revision history for this message
Pavel Hahin (p-m-hahin) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __kernel_vsyscall ()
 raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
 abort () at abort.c:92
 __libc_message (do_abort=2, fmt=0x67576c "ce") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
 malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0x82a6b88) at malloc.c:6283

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in hplip (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
visibility: private → public
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can someone at HP look into this problem? Thanks.

Revision history for this message
Suma Byrappa (suma-byrappa) wrote :

Hello,

Thanks for providing so much of information.

I looked at the source corresponding to the address of hpcups function call in the stack trace. The source code around the call looks good, particularly with heap management functions. Neither I see multiple versions of libc loaded. So, could you please provide me the following information for further analysis.

1. The log file /var/log/syslog. You can follow the below steps to get the log file.
     (a) Open the file /etc/cups/cupsd.conf
           1. Set LogLevel to debug and hpLogLevel to 15
           2. Save the changes in the file.
     (b) Run the command : sudo /etc/init.d/cups restart
          If it doesn’t work, please use : su –c “/etc/init.d/cups restart”
     (c) Run your test case
     (d) Find the file /var/log/syslog and send it to us.
2. strace log for "hpcups" process

Also, you may want to try installing HPLIP from http://hplipopensource.com/hplip-web/index.html once.

Regards,
Suma

Revision history for this message
Pavel Hahin (p-m-hahin) wrote : Re: [Bug 764654] Re: hpcups assert failure: *** glibc detected *** hp-LaserJet-1010: free(): invalid next size (normal): 0x082a6b88 ***
Download full text (4.0 KiB)

Hello,

Thanks for help.
I did everything I could.

2011/4/26 Suma Byrappa <email address hidden>

> Hello,
>
> Thanks for providing so much of information.
>
> I looked at the source corresponding to the address of hpcups function
> call in the stack trace. The source code around the call looks good,
> particularly with heap management functions. Neither I see multiple
> versions of libc loaded. So, could you please provide me the following
> information for further analysis.
>
> 1. The log file /var/log/syslog. You can follow the below steps to get the
> log file.
> (a) Open the file /etc/cups/cupsd.conf
> 1. Set LogLevel to debug and hpLogLevel to 15
> 2. Save the changes in the file.
> (b) Run the command : sudo /etc/init.d/cups restart
> If it doesn’t work, please use : su –c “/etc/init.d/cups restart”
> (c) Run your test case
> (d) Find the file /var/log/syslog and send it to us.
> 2. strace log for "hpcups" process
>
> Also, you may want to try installing HPLIP from
> http://hplipopensource.com/hplip-web/index.html once.
>
> Regards,
> Suma
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/764654
>
> Title:
> hpcups assert failure: *** glibc detected *** hp-LaserJet-1010:
> free(): invalid next size (normal): 0x082a6b88 ***
>
> Status in HP Linux Imaging and Printing:
> New
> Status in “hplip” package in Ubuntu:
> New
>
> Bug description:
> Binary package hint: hplip
>
> Unknown problem for me. I surfed in the Internet...
>
> ProblemType: Crash
> DistroRelease: Ubuntu 11.04
> Package: hplip-cups 3.11.1-2ubuntu2
> ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
> Uname: Linux 2.6.38-7-generic i686
> Architecture: i386
> AssertionMessage: *** glibc detected *** hp-LaserJet-1010: free(): invalid
> next size (normal): 0x082a6b88 ***
> Date: Mon Apr 18 16:35:56 2011
> ExecutablePath: /usr/lib/cups/filter/hpcups
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386
> (20101007)
> Lpstat:
> device for hp-LaserJet-1010: hp:/usb/hp_LaserJet_1010?serial=00CNFD785945
> device for hp-LaserJet-1010-2:
> hp:/usb/hp_LaserJet_1010?serial=00CNFD785945
> MachineType: ASUSTeK Computer Inc. K50IJ
> Papersize: letter
> PpdFiles:
> hp-LaserJet-1010-2: HP LaserJet 1010, hpcups 3.11.1
> hp-LaserJet-1010: HP LaserJet 1010, hpcups 3.11.1
> ProcCmdline: hp-LaserJet-1010 9 pmgagin 1 1 PageSize=A4\
> job-uuid=urn:uuid:7e843a48-4a72-3eca-4be2-c39e672867c7\
> job-originating-host-name=localhost\ time-at-creation=1303133660\
> time-at-processing=1303133660\ AP_D_InputSlot=
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic
> root=UUID=3a4fddd4-a5a7-4403-8ca4-8e40d17cc96f ro quiet splash vt.handoff=7
> Signal: 6
> SourcePackage: hplip
> StacktraceTop:
> __kernel_vsyscall ()
> raise () from /lib/i386-linux-gnu/libc.so.6
> abort () from /lib/i386-linux-gnu/libc.so.6
> ?? () from /lib/i386-linux-gnu/libc.so.6
> ?? () from /lib/i386-linux-gnu/libc.so.6
> Title: hpcups assert failure: *** glibc detected *** ...

Read more...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Pavel Hahin, thank you for the syslog, but unfortunately, it does not contain any traces of the bug.

Can you reproduce the bug and then supply the syslog immediately afterwards?

Please supply also the error_log of CUPS, as described in the section "CUPS error_log" on https://wiki.ubuntu.com/DebuggingPrintingProblems and the strace log for "hpcups" process. Thanks.

Changed in hplip:
status: New → Incomplete
Changed in hplip (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for hplip (Ubuntu) because there has been no activity for 60 days.]

Changed in hplip (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.