Printing most international sites crashes mozilla

VERIFIED FIXED

Status

()

Core
Printing: Output
P3
major
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: moshev, Assigned: dcone (gone))

Tracking

({crash})

Trunk
x86
Linux
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
When trying to print (both file and printer) most international sites
either cause a crash or produce only partial .ps files
(tested with 2000060409)
Examples are: 
http://www.rambler.ru
http://top100.rambler.ru/top100/Education/index.shtml.ru
http://www.walla.co.il
and so on.

Backtrace from gdb looks like:

Document http://www.walla.co.il/ loaded successfully

PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
top 0.500000 bottom 0.000000 left 0.500000 right 0.000000

PreWidth = 8.270000 PreHeight = 11.690000

Width = 595 Height = 841
dpi 72.000000 top 36 bottom 0 left 36 right 0

Program received signal SIGSEGV, Segmentation fault.
0x40f155bc in ?? () from /home/dwnl/mozilla/package/components/libraptorhtml.so
(gdb) bt
#0  0x40f155bc in ?? () from
/home/dwnl/mozilla/package/components/libraptorhtml.so
#1  0x40efe244 in ?? () from
/home/dwnl/mozilla/package/components/libraptorhtml.so
#2  0x40efef0f in ?? () from
/home/dwnl/mozilla/package/components/libraptorhtml.so
#3  0x40efee05 in ?? () from
/home/dwnl/mozilla/package/components/libraptorhtml.so
#4  0x400b1a2b in ?? () from /home/dwnl/mozilla/package/libxpcom.so
#5  0x400b1966 in ?? () from /home/dwnl/mozilla/package/libxpcom.so
#6  0x400b263d in ?? () from /home/dwnl/mozilla/package/libxpcom.so
#7  0x405b54af in ?? () from
/home/dwnl/mozilla/package/components/libwidget_gtk.so
#8  0x405b526d in ?? () from
/home/dwnl/mozilla/package/components/libwidget_gtk.so
#9  0x4075fcf9 in ?? () from /usr/lib/libglib-1.2.so.0
(gdb) 


With strace it looks like:
read(8, "\241 \272=/\0@\2\304\0\0\0\303\0\0\0<\266\232\222p\36\5"..., 224) = 224
writev(8, [{"<\2\2\0\"\n@\0027\0\6\0_\n@\2e\0@\2\4\0\1\0\300\300\300"..., 1796},
{"\302\0#\0\303\0#\0\303\0#\0\303\0\"\0\304\0\"\0\304\0\""..., 276}], 2) = 2072
writev(8, [{"<\2\2\0005\n@\0027\0\6\0|\n@\2e\0@\2\4\0\1\0\314\314\231"...,
2040}, {"^\0\0\0J\0\0\0\221\0@\2", 12}], 2) = 2052
gettimeofday({960237320, 567005}, NULL) = 0
ioctl(8, FIONREAD, [0])                 = 0
write(8, ">\2\7\0\222\0@\2e\0@\2\214\n@\2\0\0\0\0^\0J\0\20\0\f\0"..., 1152) =
1152
gettimeofday({960237320, 582397}, NULL) = 0
read(6, "\372", 1)                      = 1
brk(0x8a2d000)                          = 0x8a2d000
read(6, "\372", 1)                      = 1
write(7, "\372", 1)                     = 1
gettimeofday({960237320, 583627}, NULL) = 0
brk(0x8a30000)                          = 0x8a30000
gettimeofday({960237320, 584069}, NULL) = 0
write(7, "\372", 1)                     = 1
read(6, "\372", 1)                      = 1
gettimeofday({960237320, 603478}, NULL) = 0
kill(12506, SIGRT_0)                    = 0
kill(12506, SIGRT_0)                    = 0
write(7, "\372", 1)                     = 1
gettimeofday({960237320, 604937}, NULL) = 0
gettimeofday({960237320, 605097}, NULL) = 0
poll([{fd=8, events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}, {fd=14,
events=POLLIN}], 3, 0) = 1
read(6, "\372", 1)                      = 1
gettimeofday({960237320, 605504}, NULL) = 0
write(7, "\372", 1)                     = 1
gettimeofday({960237320, 620415}, NULL) = 0
gettimeofday({960237320, 620521}, NULL) = 0
gettimeofday({960237320, 624358}, NULL) = 0
read(6, "\372", 1)                      = 1
gettimeofday({960237320, 624668}, NULL) = 0
write(8, "<\2\2\0|\n@\0027\0\6\0\230\n@\2e\0@\2\4\0\1\0\300\300\300"..., 2044) =
2044
gettimeofday({960237320, 626008}, NULL) = 0
read(6, "\372", 1)                      = 1
read(6, "\372", 1)                      = 1
gettimeofday({960237320, 628103}, NULL) = 0
kill(12510, SIGRT_0)                    = 0
kill(12510, SIGRT_0)                    = 0
read(6, "\372", 1)                      = 1
gettimeofday({960237320, 628917}, NULL) = 0
write(8, "\f\2\5\0?\0@\2\3\0\6\0\0\0\0\0\0\0\0\0\f\0\5\0\34\1@\2"..., 76) = 76
read(8, 0xbfffd5dc, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
read(8, "\1\1\t?\0\0\0\0l1\300\1\16\0>\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(8, "\f\2\5\0Q\3@\2\3\0\6\0\267\3\0\0\7\2\0\0(\0\4\0\35\1@\2"..., 36) = 36
read(8, 0xbfffd5e8, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
read(8, "\1\1\v?\0\0\0\0l1\300\1\16\0>\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(8, "\f\2\5\0Q\3@\2\3\0\6\0\267\3\0\0\7\2\0\0(\0\4\0\35\1@\2"..., 36) = 36
read(8, 0xbfffd4ec, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
read(8, "\1\1\r?\0\0\0\0l1\300\1\16\0>\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(8, "\f\2\5\0b\3@\2\3\0\6\0\241\1\0\0I\2\0\0(\0\4\0\35\1@\2"..., 36) = 36
read(8, 0xbfffd4f8, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
read(8, "\1\1\17?\0\0\0\0l1\300\1\16\0>\1\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
gettimeofday({960237320, 690782}, NULL) = 0
gettimeofday({960237320, 690916}, NULL) = 0
poll([{fd=8, events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}, {fd=14,
events=POLLIN}], 3, 0) = 1
read(6, "\372", 1)                      = 1
write(1, "\nPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP"..., 40
PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
) = 40
write(1, "top 0.500000 bottom 0.000000 lef"..., 58top 0.500000 bottom 0.000000
left 0.500000 right 0.000000
) = 58
open("/home/dwnl/mozilla/package/mozilla.ps", O_WRONLY|O_CREAT|O_TRUNC, 0666) =
5
write(1, "\nPreWidth = 8.270000 PreHeight ="..., 43
PreWidth = 8.270000 PreHeight = 11.690000
) = 43
write(1, "\nWidth = 595 Height = 841\n", 26
Width = 595 Height = 841
) = 26
write(1, "dpi 72.000000 top 36 bottom 0 le"..., 46dpi 72.000000 top 36 bottom 0
left 36 right 0) = 46
fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40189000
write(5, "%!PS-Adobe-3.0\n%%BoundingBox: 36"..., 4096) = 4096
write(5, "rall\n\t/Encoding isolatin1encodin"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Comment 1

18 years ago
Adding crash to keyword field.
Keywords: crash
(Assignee)

Comment 2

18 years ago
Fixed.. this was the same problem as 38768.. I just confirmed this works now.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 3

18 years ago
verified (2000071208)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.