Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253419 - net-print/foomatic-db-engine foomatic-combo-xml fails with glibc error
Summary: net-print/foomatic-db-engine foomatic-combo-xml fails with glibc error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 06:25 UTC by Bob Johnson
Modified: 2011-06-01 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Johnson 2009-01-02 06:25:24 UTC
Attempting to compile a PPD file for the currently stable x86 version of foomatic generates a glibc backtrace and the PPD file is not generated. 

Reproducible: Always

Steps to Reproduce:
1.foomatic-compiledb Brother-PT-1500PC
2.glibc error
3.

Actual Results:  
foomatic-compiledb Brother-PT-1500PC

Generating Foomatic PPD files ...

Storing files in directory /usr/portage/net-print/foomatic-db-engine/ppd.
*** glibc detected *** /usr/bin/foomatic-combo-xml: free(): invalid next size (normal): 0x0818ac40 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e19a00]
/lib/libc.so.6(cfree+0x89)[0xb7e1b6f9]
/usr/bin/foomatic-combo-xml[0x804dad8]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7dc9fdc]
/usr/bin/foomatic-combo-xml[0x80488f1]
======= Memory map: ========
08048000-08050000 r-xp 00000000 08:02 3523421    /usr/bin/foomatic-combo-xml
08050000-08051000 r--p 00007000 08:02 3523421    /usr/bin/foomatic-combo-xml
08051000-08052000 rw-p 00008000 08:02 3523421    /usr/bin/foomatic-combo-xml
08052000-081c6000 rw-p 08052000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7db3000-b7db4000 rw-p b7db3000 00:00 0
b7db4000-b7ede000 r-xp 00000000 08:02 3402384    /lib/libc-2.6.1.so
b7ede000-b7ee0000 r--p 0012a000 08:02 3402384    /lib/libc-2.6.1.so
b7ee0000-b7ee1000 rw-p 0012c000 08:02 3402384    /lib/libc-2.6.1.so
b7ee1000-b7ee5000 rw-p b7ee1000 00:00 0
b7f00000-b7f09000 r-xp 00000000 08:02 3501327    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f09000-b7f0a000 r--p 00008000 08:02 3501327    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f0a000-b7f0b000 rw-p 00009000 08:02 3501327    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7f0b000-b7f0c000 rw-p b7f0b000 00:00 0
b7f0c000-b7f26000 r-xp 00000000 08:02 3402376    /lib/ld-2.6.1.so
b7f26000-b7f27000 r--p 00019000 08:02 3402376    /lib/ld-2.6.1.so
b7f27000-b7f28000 rw-p 0001a000 08:02 3402376    /lib/ld-2.6.1.so
bf912000-bfa28000 rw-p bfeea000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Entity: line 8679: parser error : Extra content at the end of the document
  </printer>
            ^
Monitor process 2572
Done.
Monitor process 2566
Done.



The easiest resolution is probably to implement http://bugs.gentoo.org/show_bug.cgi?id=186730
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-06-01 22:37:32 UTC
> The easiest resolution is probably to implement
> http://bugs.gentoo.org/show_bug.cgi?id=186730

Has been done in the meantime.