Closed Bug 461456 Opened 17 years ago Closed 17 years ago

Adobe Plugin crashes Firefox when using object with URL that doesn't contain ".pdf"

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 434593

People

(Reporter: twologic, Unassigned)

References

()

Details

(Keywords: crash)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3 This may concern the Adobe Acrobat plugin more than Firefox, but still I'm reporting this here because there seems to be other issues related to the plugin. I'm using an object tag to embed a PDF file into a web page. This PDF is dynamically generated so the URL in the "data" attribute is not simply a reference to the file on a server. More specifically, the URL contains only a path portion without a file part: http://server/foo/bar/?param=value URLs of this form crash Firefox on Windows and dont display anything on Ubuntu. We've created a test case to see what URLs actually crash firefox, and it seems to be any URL that does not contain a file part that as a ".pdf" extension. We've created a servlet that sends a PDF, whatever request it receives. If the URL is of the form: http://server/foo/bar.pdf?param=value, everything works as expected. Any other URL form that does not contain bar.pdf will crash. Reproducible: Always Steps to Reproduce: 1. Use an object tag with data="http://server/foo/bar" type="application/pdf" Actual Results: Ubuntu: firefox displays nothing (the object tag seems to be 1x1 pixel) Windows: firefox crashes Expected Results: PDF displayed inline
Which content type does the server send for the file ? For the windows crash see http://developer.mozilla.org/En/How_to_get_a_stacktrace_for_a_bug_report
The content type is "application/pdf". The submitted Crash ID is: 1d4bfd4a-a208-11dd-a23a-001cc45a2c28
0 @0x640061 1 user32.dll UserCallWinProcCheckWow 2 user32.dll CallWindowProcAorW 3 user32.dll CallWindowProcA 4 nppdf32.dll nppdf32.dll@0x6e90 5 user32.dll InternalCallWinProc 6 user32.dll UserCallWinProcCheckWow 7 user32.dll DispatchClientMessage 8 user32.dll __fnDWORD 9 ntdll.dll KiUserCallbackDispatcher 10 nppdf32.dll nppdf32.dll@0x6d86 11 user32.dll DispatchMessageW 12 xul.dll nsAppShell::ProcessNextNativeEvent mozilla/widget/src/windows/nsAppShell.cpp:148 13 nspr4.dll PR_IntervalNow mozilla/nsprpub/pr/src/misc/prinrval.c:77
Severity: normal → critical
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Whiteboard: crash
Another submitted crash report: e94f0b9e-aa1b-11dd-8891-001a4bd43ef6 public pdf file demonstrating this: http://www.ti.com/litv/pdf/swrz005 Using Adobe version 9.0.0 ( also seen on 7.0 )
After reading the comments in bug 444930, I have disabled the "download embedded 0.5" addon and the problem has gone.
This is a duplicate of 434593 (although the steps are different).
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.