segfault on example_03
- From: gnome-print ballen fastmail fm
- To: gnome-print-list gnome org
- Subject: segfault on example_03
- Date: Fri Mar 21 11:43:00 2003
Hi,
I'm writing an application that will use libgnomeprint. I was going
through the examples in libbgnomeprintui/examples. Example_01.c worked
fine, but when I ran example_03.c it segfaulted. I ran within gdb and got
the following. Any ideas as to what might be wrong?
Thanks,
Bill
[bill localhost examples]$ gdb example_03
GNU gdb Red Hat Linux (5.3post-0.20021129.7rh)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program:
/v73/usr/local/src/other/libgnomeprintui-2.2.1/examples/example_03
Program received signal SIGSEGV, Segmentation fault.
0x407cb68a in ERR_reason_error_string () from /lib/libcrypto.so.4
(gdb) where
#0 0x407cb68a in ERR_reason_error_string () from /lib/libcrypto.so.4
#1 0x407c7dae in lh_insert () from /lib/libcrypto.so.4
#2 0x407ca58b in ERR_set_implementation () from /lib/libcrypto.so.4
#3 0x407cac23 in ERR_load_ERR_strings () from /lib/libcrypto.so.4
#4 0x40b10f53 in ERR_load_SSL_strings () from /lib/libssl.so.4
#5 0x40b0821e in SSL_load_error_strings () from /lib/libssl.so.4
#6 0x40715f7e in httpInitialize () from /usr/lib/libcups.so.2
#7 0x407161a8 in httpConnectEncrypt () from /usr/lib/libcups.so.2
#8 0x40724354 in cupsPrintFiles () from /usr/lib/libcups.so.2
#9 0x40723cd4 in cupsPrintFiles () from /usr/lib/libcups.so.2
#10 0x40723c73 in cupsPrintFile () from /usr/lib/libcups.so.2
#11 0x40018164 in gp_transport_cups_get_type ()
from /usr/lib/libgnomeprint/2.2.1.1/modules/libgnomeprintcups.so
from /usr/lib/libgnomeprint/2.2.1.1/modules/libgnomeprintcups.so
#12 0x4004f86e in gnome_print_transport_close () from
/usr/lib/libgnomeprint-2-2.so.0
#13 0x400471c5 in gnome_print_ps2_get_type () from
/usr/lib/libgnomeprint-2-2.so.0
#14 0x40039488 in gnome_print_context_close () from
/usr/lib/libgnomeprint-2-2.so.0
#15 0x4004dfd3 in gnome_print_frgba_get_type () from
/usr/lib/libgnomeprint-2-2.so.0
#16 0x40039488 in gnome_print_context_close () from
/usr/lib/libgnomeprint-2-2.so.0
#17 0x40044f90 in gnome_print_multipage_finish_page () from
/usr/lib/libgnomeprint-2-2.so.0
#18 0x40039488 in gnome_print_context_close () from
/usr/lib/libgnomeprint-2-2.so.0
#19 0x4004212a in gnome_print_job_print () from
/usr/lib/libgnomeprint-2-2.so.0
#20 0x08048b1b in my_print () at example_03.c:66
#21 0x08048b72 in main (argc=1, argv=0xbffff774) at example_03.c:77
#22 0x420154a0 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]