Closed Bug 23297 Opened 25 years ago Closed 25 years ago

[LinuxPPC]fix XPTCall glue

Categories

(Core :: XPConnect, defect, P3)

Other
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: waterson, Assigned: waterson)

Details

Attachments

(1 file)

Land code to fix XPTCall (mostly) for Linux/PPC.
Status: NEW → ASSIGNED
Target Milestone: M13
beard: could you review the attached patch? in general, the C++ routines have
been cleaned up, and the assembly comments are much better. I'm still having
trouble getting past the ArgumentFormatter test in TextXPC, and assume that this
may be a cause of crashes trying to use mailnews (IMAP slams the proxy code,
IIRC). Anyway, this stuff is definitely a step in the right direction.
heh, remind me to remove the printfs() before applying the patch ;-).
Per Franz Sirl's suggestion, I'm going to revert the STUB_ENTRY stuff to
Franz's original patch, which uses the mangled name. Franz made the excellent
point that, although name mangling changes may occur, they will be compile-time
errors, where register scheduling changes (which may stomp our use of r12) are
only detectable at run-time.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
checked in. i'll call myself the reviewer and Franz the submitter. Or vice
versa. beard: lemme know if you've got problems with any of the stuff in there...
Status: RESOLVED → REOPENED
I'm re-opening this because it looks like these changes are implicated in the

missing in-line images.



I've been running Franz Sirl's patches (prior to them being "cleaned up") for

several weeks now.  I have had no problem with in-line images (other than the

generic image problems I've reported).



Earlier in the week, someone (waterson?) reported they were trying the new code

and didn't see any in-line images.  I did a build later the same day and saw them

just fine.



Yesterday, the new XPCOM code went in.  Today I do not see any in-line images.



I do not know how or why a change in the XPCOM code could cause this kind of

problem, but my suspicion immediately falls on the parameter-munging code.  If

the parameters aren't being transcribed correctly, there could be all kinds of

subtle problems.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
greg: do you have a test page that I could go to? most inline images are fine
for me, modulo moderate corruption here and there. The problem i'm having seems
to be more with local images loaded off the hard drive (e.g., back and forward
buttons on the chrome aren't displaying correctly), and my guess is that it has
something to do with the endianness of the codec or something.

also, could you verify that the change did -in fact- cause the problem? you can
do this by reverting the mozilla/xpcom/reflect/xptcall/src/md/unix directory
(e.g., "cvs up -D 'Mon Jan 3 12:00:00 PST 2000'", and then re-applying franz's
original patches he posted in n.p.m.xpcom.

thanks. I'd do this myself, but, I'm not seeing the problem. also, let's file a
new bug for this.
add GregNoel@san.rr.com to cc list: greg, see above...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: