Bug#220538: glabels: Segfaults when printing to cups printer

Ramin Motakef Ramin Motakef <ramin@motakef.de>, 220538@bugs.debian.org
Thu, 13 Nov 2003 10:16:54 +0100


Ooops, i think i was to fast with sending a bugreport to glables. It
seems that the segfault occurs with all gnome apps (evolution
gnumeric...)

Also printing works fine on my Notebook, which is some days behind
with updateing. 

Sorry for wasting your time. I will no try to trace down which upgrade
is responsible for the Problem.

Greetings,
Ramin


Anyway, the info you requested:

Andrew Lau <netsnipe@users.sourceforge.net> writes:

> On Thu, Nov 13, 2003 at 07:53:00AM +0100, Ramin Motakef wrote:
>> Package: glabels
>> Version: 1.92.3-1
>> Severity: normal
>> 
>> Glables segfaults when printing to a cups printer. Printing to a
>> ps-file works fine.
>
> Dear Ramin,
>
> Could you please provide us with a backtrace? 



Not sure if this is right as i know next to nothing about C.
This is the output of"gdb /usr/bin/glabels" and type bt after the
segfault:

#0  0x41696dba in ERR_set_implementation () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#1  0x416933c5 in lh_num_items () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#2  0x4161a540 in ?? ()
#3  0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#4  0xbfffcb5c in ?? ()
#5  0x41693348 in lh_num_items () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#6  0x417090c0 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#7  0x0849b318 in ?? ()
#8  0x0849b318 in ?? ()
#9  0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#10 0x0000000a in ?? ()
#11 0x00000001 in ?? ()
#12 0x41696db0 in ERR_set_implementation () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#13 0x08572534 in ?? ()
#14 0x417090c0 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#15 0x416ed069 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#16 0x4170bb10 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#17 0x41693040 in lh_insert () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#18 0x0849b318 in ?? ()
#19 0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#20 0xbfffcb9c in ?? ()
#21 0x41693000 in lh_insert () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#22 0x417090c0 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#23 0x416ed069 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#24 0x0849b318 in ?? ()
#25 0xbfffd128 in ?? ()
#26 0x0000000a in ?? ()
#27 0x00000001 in ?? ()
#28 0x416ed069 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#29 0x14064057 in ?? ()
#30 0x417090c0 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#31 0x416ed069 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#32 0x0849b318 in ?? ()
#33 0x41696b28 in ERR_set_implementation () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#34 0x0849b318 in ?? ()
#35 0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#36 0xbfffcc00 in ?? ()
#37 0x41696b1a in ERR_set_implementation () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#38 0x00000009 in ?? ()
#39 0x00000001 in ?? ()
#40 0x416ed069 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#41 0x00000184 in ?? ()
#42 0x417090c0 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#43 0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#44 0x14000000 in ?? ()
#45 0x416955b5 in ERR_load_strings () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#46 0x00000002 in ?? ()
#47 0x4170b720 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#48 0x0000022a in ?? ()
#49 0x416955d9 in ERR_load_strings () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#50 0x4173a540 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#51 0x416fc088 in rand_ssleay_meth () from /usr/lib/i686/cmov/libcrypto.so.0.9.7


> Does any data reach the
> CUPS server? You can check via looking up /var/log/cups/error_log (you
> may have to turn the debug level up /etc/cups/cupsd.conf to see anything
> meaningful). If it does, please also send the relevant lines. I'm really
> busy right now so I'll get around to trying to reproduce this myself on
> the weekend.

With Loglevel=debug cups shows following output when openning the
print-dialog:

D [13/Nov/2003:09:35:39 +0100] AcceptClient() 5 from localhost:631.
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 POST / HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] ProcessIPPRequest: 5 status_code=1
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 POST / HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] ProcessIPPRequest: 5 status_code=0
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 POST / HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] ProcessIPPRequest: 5 status_code=0
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 GET /printers/fax.ppd HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] SendFile() 5 file=7
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 POST / HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] ProcessIPPRequest: 5 status_code=0
D [13/Nov/2003:09:35:39 +0100] ReadClient() 5 GET /printers/hplj5m.ppd HTTP/1.1
D [13/Nov/2003:09:35:39 +0100] SendFile() 5 file=7

And no further output when i press print :-(




> Thanks in advanced,
> Andrew "Netsnipe" Lau
>