bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ghostpcl crash on ia64


From: De Leeuw Guy
Subject: ghostpcl crash on ia64
Date: Tue, 22 Nov 2005 15:10:42 +0100
User-agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322)

Hello all,

I try to compile ghostpcl on a RHEL3 on ia64.
I receive a segfault :
Can you help me ?
Thanks in advance,

Guy

here a backtrace :

address@hidden:tools# pwd
/home/guy/Cfg/src/ghostpcl/ghostpcl_1.41/tools
address@hidden:tools# gdb ../main/obj/pcl6
GNU gdb Red Hat Linux (6.3.0.0-1.62rh)
Copyright 2004 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 "ia64-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) set args -dTextAlphaBits=4 owl.pcl tiger.px3
(gdb) run
Starting program: /home/guy/Cfg/src/ghostpcl/ghostpcl_1.41/main/obj/pcl6 -dTextAlphaBits=4 owl.pcl tiger.px3
[Thread debugging using libthread_db enabled]
[New Thread 2305843009215032752 (LWP 25989)]
FAIL freeing wild pointer freed address 9d5f0 not found

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2305843009215032752 (LWP 25989)]
0x200000000051bb30 in free () from /lib/tls/libc.so.6.1
(gdb) bt full
#0 0x200000000051bb30 in free () from /lib/tls/libc.so.6.1
No symbol table info available.
#1 0x400000000067cb70 in pl_free_object (mem=0x6000000000078428, ptr=0x600000000009d600, cname=0x4000000000777e68 "gp_enumerate_close(work)") at ../pl/plalloc.c:336
bptr = (byte *) 0x600000000009d600 "fonts"
header_size = 16
#2 0x400000000000fd50 in gp_enumerate_files_close (pfen=0x600000000009d520) at ../gs/src/gp_unifs.c:424
mem = (gs_memory_t *) 0x6000000000078428
#3 0x400000000000e9c0 in gp_enumerate_files_next (mem=0x6000000000078428, pfen=0x600000000009d520, ptr=0x60000fffffff8dc0 "", maxlen=256) at ../gs/src/gp_unifs.c:277
de = (const dir_entry *) 0x0
work = 0x600000000009d600 "fonts"
worklen = 5
pattern = 0x600000000009d5b0 "fonts/*"
pathead = 7
len = 0
stbuf = {st_dev = 6917529027641574440, st_ino = 6917529027641726448, st_nlink = 4611686018435218728, st_mode = 648720, st_uid = 1610612736, st_gid = 0, pad0 = 1610612736, st_rdev = 6917529027641085953, st_size = 6917529027641574440, st_atim = {tv_sec = 4097, tv_nsec = 6917529027641520176}, st_mtim = { tv_sec = 4611686018435218728, tv_nsec = 17665200488456}, st_ctim = {tv_sec = 6917529027641726448, tv_nsec = 6917529027641726464}, st_blksize = 65554, st_blocks = 6917529027641726464, __unused = {30064775215, 6917529027641726469, 6917529027641726469}} #4 0x4000000000696aa0 in pjl_check_font_path (path_list=0x600000000009c0b2 "fonts/;/windows/system/;/windows/fonts/;/win95/fonts/;/winnt/fonts/", mem=0x6000000000078428)
at ../pl/pjparse.c:339
fe = (file_enum *) 0x600000000009d520
tmp_path = "fonts/\000/windows/system/;/windows/fonts/;/win95/fonts/;/winnt/fonts/", '\0' <repeats 189 times>
tmp_pathp = 0x60000fffffff8b70 "fonts/"
pattern = "*"
tmp_path_and_pattern = "fonts/*", '\0' <repeats 250 times>
dirname = 0x60000fffffff8b70 "fonts/"
fontfilename = '\0' <repeats 720 times>, "\001", '\0' <repeats 16 times>, "rD\000\000\000\000 ([\024\000\000\000\000 ", '\0' <repeats 32 times>, "\001", '\0' <repeats 15 times>, "X}D\000\000\000\000 ([\024\000\000\000\000 ž¿D\000\000\000\000 ([\024\000\000\000\000 ", '\0' <repeats 32 times>, "\001", '\0' <repeats 15 times>, "\230pD\000\000\000\000 ([\024\000\000\000\000 \000rD\000\000\000\000 ", '\0' <repeats 13 times>, "(kî\034\000\001", '\0' <repeats 12 times>, "\200\t\000\001\000\000\000\000\000²æ\016\000\000\000\000\000>\000\001\000\000\000\000\000\200M\031ñÿ'kî\022\000\001\000\000\000\000"... #5 0x4000000000696d50 in pjl_reset_fontsource_fontnumbers (pst=0x6000000000094650) at ../pl/pjparse.c:375
default_font_number = "0"
mem = (gs_memory_t *) 0x6000000000078428
i = 0
#6 0x400000000069c610 in pjl_process_init (mem=0x6000000000078428) at ../pl/pjparse.c:1270
pjlstate = (pjl_parser_state_t *) 0x6000000000094650
pjl_env = (pjl_envir_var_t *) 0x6000000000094740
pjl_def = (pjl_envir_var_t *) 0x60000000000979c0
pjl_fontenv = (pjl_fontsource_t *) 0x600000000009ac40
pjl_fontdef = (pjl_fontsource_t *) 0x600000000009c0b0
---Type <return> to continue, or q <return> to quit---
#7 0x400000000069d980 in pjl_impl_allocate_interp_instance (instance=0x60000fffffff9de8, interp=0x6000000000094560, mem=0x6000000000078428) at ../pl/pjparsei.c:93
pjli = (pjl_interp_instance_t *) 0x60000000000945c0
pjls = (pjl_parser_state *) 0x6000000000078428
#8 0x40000000006796a0 in pl_allocate_interp_instance (instance=0x60000fffffff9de8, interp=0x6000000000094560, mem=0x6000000000078428) at ../pl/pltop.c:61
pli = (pl_interp_instance_t *) 0x6000000000079370
code = 492584
#9 0x400000000076f690 in pl_main (argc=4, argv=0x60000fffffffab58) at ../pl/plmain.c:246
mem = (gs_memory_t *) 0x6000000000078428
pjl_mem = (gs_memory_t *) 0x6000000000078428
inst = {memory = 0x6000000000078428, device_memory = 0x0, base_time = {0, 5859372}, error_report = -1, pause = 1, print_page_count = 0, first_page = 1, last_page = 2147483647, device = 0x0, implementation = 0x0, page_count = 0, saved_hwres = 0, hwres = {0, 0}, viewer = 0, mem_cleanup = 1,
pcl_personality = "PCL\000\000"}
args = {expand_ats = 1, arg_fopen = @0x40000000007cfcb0: 0x4000000000773270 <pl_main_arg_fopen>, fopen_data = 0x0, argp = 0x60000fffffffab60, argn = 3,
depth = 0,
cstr = '\0' <repeats 1304 times>, "p\230ÿÿÿ\017\000`\220Û\003\000\000\000\000 \000\000\000\000\000\000\000\000?\003p\002L\200\t\000\220Û\003\000\000\000\000 ", '\0' <repeats 16 times>, "\200\233ÿÿÿ\017\000``\226\001\000\000\000\000 ð9\000\000\000\000\000 ", '\0' <repeats 32 times>, "Y,\000\000\000\000\000ÀÿÿÿÿÿÿÿÿkdYV\231\232eV\b\006\000\200ÿ\017\000`\000\000\000\000\000\000\000\000 \230ÿÿÿ\017\000`", '\0' <repeats 544 times>, "Àšÿÿÿ\017\000`Èšÿÿÿ\017\000`ð\232\003\000\000\000\000 \220šÿÿÿ\017\000`Ðâ\003\000\000\000\000 ", sources = {{is_file = 1448698987, u = {s = {chars = 0x0, memory = 0xc0000000000013ab, str = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 96656, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0}, file = 0x0}}, {is_file = 0, u = {s = {chars = 0x0, memory = 0x0, str = 0x0},
file = 0x0}}}}
arg = 0x0
err_buf = '\0' <repeats 96 times>, " Þ\003\000\000\000\000 ", '\0' <repeats 151 times>
pjl_interp = (pl_interp_t *) 0x6000000000094560
pjl_instance = (pl_interp_instance_t *) 0x0
universe = {mem = 0x0, pdl_implementation = 0x0, pdl_instance_array = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2000000000145b28, 0x200000000003de20, 0x0 <repeats 32 times>, 0x1, 0x200000000003de20, 0x0, 0x0, 0x0, 0x0, 0x2000000000145b28, 0x200000000003de20, 0x0 <repeats 32 times>, 0x2000000000145b28, 0x0 <repeats 17 times>}, pdl_interp_array = {0x0 <repeats 14 times>, 0x20000000001456b0, 0x2000000000145b28, 0x0 <repeats 30 times>, 0x2000000000144920, 0x2000000000145b28, 0x0 <repeats 30 times>, 0x2000000000145b28, 0x0 <repeats 21 times>}, curr_implementation = 0x0, curr_instance = 0x0, curr_device = 0x0}
curr_instance = (pl_interp_instance_t *) 0x0
params = {procs = 0x60000000000699c0, memory = 0x6000000000078428, persistent_keys = 0, head = 0x0, target = 0x0, count = 0, any_requested = 0,
coll_type = gs_param_collection_dict_any}
#10 0x40000000007767f0 in main (argc=4, argv=0x60000fffffffab58) at ../pl/plmain.c:1229
No locals.
(gdb)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]