crash if i enter text or paste text or select text in embedded editor

RESOLVED EXPIRED

Status

()

--
critical
RESOLVED EXPIRED
15 years ago
13 years ago

People

(Reporter: dima, Assigned: mozeditor)

Tracking

({crash})

Trunk
x86
FreeBSD
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119

I think it is becouse of Gtk2. The problem appeared with 1.5, present in 1.6 and
Mozilla 1.4 was fine. Here is backtrace from debugger

Program received signal SIGABRT, Aborted.
0x28813e78 in kill () from /usr/lib/libc_r.so.4

(gdb) bt
#0  0x28813e78 in kill () from /usr/lib/libc_r.so.4
#1  0x2886b2b8 in abort () from /usr/lib/libc_r.so.4
#2  0x287cd373 in __default_terminate () from /usr/lib/libstdc++.so.3
#3  0x287cd381 in __terminate () from /usr/lib/libstdc++.so.3
#4  0x8054668 in __pure_virtual ()
#5  0x28febf56 in nsRange::GetNodeLength () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#6  0x28fec981 in nsRange::SetStart () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#7  0x2900a5c9 in nsTypedSelection::SetOriginalAnchorPoint () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#8  0x29009fd6 in nsTypedSelection::Collapse () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#9  0x29dfcd44 in nsHTMLEditRules::ConfirmSelectionInBody () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#10 0x29dd8d22 in nsHTMLEditRules::BeforeEdit () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#11 0x29dc227e in nsHTMLEditor::StartOperation () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#12 0x29e3b0dc in nsPlaintextEditor::InsertText () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#13 0x29e395b4 in nsPlaintextEditor::TypedText () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#14 0x29daf842 in nsHTMLEditor::TypedText () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#15 0x29daf74d in nsHTMLEditor::HandleKeyPress () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#16 0x29e44e34 in nsTextEditorKeyListener::KeyPress () from
/usr/X11R6/lib/mozilla-gtk2/components/libeditor.so
#17 0x2903b05f in ImageEvent::~ImageEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#18 0x2903e373 in nsEventListenerManager::HandleEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#19 0x28fbb582 in nsDocument::HandleDOMEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#20 0x28fdd994 in nsGenericElement::HandleDOMEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#21 0x28ea30de in PresShell::HandleEventInternal () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#22 0x28ea2c50 in PresShell::HandleEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#23 0x291a70b0 in nsViewManager::HandleEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#24 0x2919efb4 in nsView::HandleEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#25 0x291a67b7 in nsViewManager::DispatchEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#26 0x2919e9f9 in nsSVGAtoms::AddRefAtoms () from
/usr/X11R6/lib/mozilla-gtk2/components/libgklayout.so
#27 0x295d8347 in nsCommonWidget::DispatchEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#28 0x295d081f in nsWindow::OnKeyPressEvent () from
/usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#29 0x295d45c6 in nsWindow::DragInProgress () from
/usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#30 0x2820ac36 in gtk_propagate_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#31 0x285e59dd in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.200
#32 0x285f8bb8 in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.200
#33 0x285f74b4 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.200
#34 0x285f76d9 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.200
#35 0x282c9f73 in gtk_widget_send_expose () from
/usr/X11R6/lib/libgtk-x11-2.0.so.200
#36 0x282c9aca in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#37 0x282d51f4 in gtk_window_reshow_with_initial_size () from
/usr/X11R6/lib/libgtk-x11-2.0.so.200
#38 0x2820ac36 in gtk_propagate_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#39 0x285e5dbd in g_type_class_meta_marshal () from
/usr/local/lib/libgobject-2.0.so.200
#40 0x285e59dd in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.200
#41 0x285f8fb3 in signal_emit_unlocked_R () from
/usr/local/lib/libgobject-2.0.so.200
#42 0x285f74b4 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.200
#43 0x285f76d9 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.200
#44 0x282c9f73 in gtk_widget_send_expose () from
/usr/X11R6/lib/libgtk-x11-2.0.so.200
#45 0x282c9aca in gtk_widget_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#46 0x2820aaba in gtk_propagate_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#47 0x28209aa6 in gtk_main_do_event () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#48 0x283a028d in gdk_add_client_message_filter () from
/usr/X11R6/lib/libgdk-x11-2.0.so.200
#49 0x286368fb in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.200
#50 0x286376e3 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.200
#51 0x28637aae in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.200
#52 0x28638173 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.200
#53 0x2820917f in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.200
#54 0x295d67a7 in nsAppShell::Run () from
/usr/X11R6/lib/mozilla-gtk2/components/libwidget_gtk2.so
#55 0x295380e1 in nsAppShellService::Run () from
/usr/X11R6/lib/mozilla-gtk2/components/libnsappshell.so
#56 0x8055f21 in nsGetServiceByContractID::operator() ()
#57 0x80549d8 in main ()
#58 0x80545a5 in _start ()


Here is ldd
bash-2.02$ ldd mozilla-bin
mozilla-bin:
        libmozjs.so => not found (0x0)
        libplds4.so => /usr/local/lib/libplds4.so (0x280a3000)
        libplc4.so => /usr/local/lib/libplc4.so (0x280ce000)
        libnspr4.so => /usr/local/lib/libnspr4.so (0x280fa000)
        libgtk-x11-2.0.so.200 => /usr/X11R6/lib/libgtk-x11-2.0.so.200 (0x2812f000)
        libgdk-x11-2.0.so.200 => /usr/X11R6/lib/libgdk-x11-2.0.so.200 (0x28346000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x283ab000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x283af000)
        libatk-1.0.so.400 => /usr/local/lib/libatk-1.0.so.400 (0x283b7000)
        libgdk_pixbuf-2.0.so.200 => /usr/X11R6/lib/libgdk_pixbuf-2.0.so.200
(0x283cf000)
        libpangoxft-1.0.so.200 => /usr/X11R6/lib/libpangoxft-1.0.so.200 (0x283e2000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28401000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28412000)
        libz.so.2 => /usr/lib/libz.so.2 (0x28477000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28486000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2848e000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x2849c000)
        libpangox-1.0.so.200 => /usr/X11R6/lib/libpangox-1.0.so.200 (0x284c2000)
       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x284ce000)
        libpango-1.0.so.200 => /usr/X11R6/lib/libpango-1.0.so.200 (0x2858a000)
        libgobject-2.0.so.200 => /usr/local/lib/libgobject-2.0.so.200 (0x285bb000)
        libgmodule-2.0.so.200 => /usr/local/lib/libgmodule-2.0.so.200 (0x285f1000)
        libglib-2.0.so.200 => /usr/local/lib/libglib-2.0.so.200 (0x285f5000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2865a000)
        libm.so.2 => /usr/lib/libm.so.2 (0x28749000)
        libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28766000)
        libc_r.so.4 => /usr/lib/libc_r.so.4 (0x287b1000)
        libintl.so.5 => /usr/local/lib/libintl.so.5 (0x28872000)
        libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x2887b000)
        libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28897000)




Reproducible: Always

Steps to Reproduce:
1. go to the URL
2. Try to use editor
3.

Actual Results:  
crash

Expected Results:  
allow to edit text in embedded editor

I have gtk-2.2.4_1 installed from ports

FreeBSD rux 4.9-STABLE FreeBSD 4.9-STABLE #9: Fri Dec 26 12:14:33 MSK 2003    
root@rux:/usr/src/sys/compile/RUX40  i386

Updated

15 years ago
Keywords: crash

Comment 1

15 years ago
Is there any other URL to test this ?
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.