Closed Bug 35475 Opened 25 years ago Closed 25 years ago

changing foreground colour of selected text causes crash

Categories

(Core :: DOM: Editor, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 35100

People

(Reporter: lee0, Assigned: cmanske)

Details

(Keywords: crash)

In the html editor, selecting text typed into the main area and then changing the foreground colour causes a crash. Background color, italics, etc., seem just fine though. On occasion, rather than a crash, the main canvas will become unresponsive - typing into it has no effect and no new characters are displayed.
tested it on linux build ID 2000041008 - it crashes all right.. In NewEditorWindow()... WEBSHELL+ = 4 WEBSHELL+ = 5 pref use_custom_colors:false X Pos: 216 Y Pos: 81 X Pos: 216 Y Pos: 81 setColor to: #006600 EditorSelectTextColor: #006600 Program received signal SIGSEGV, Segmentation fault. 0x40d191c9 in NSGetModule () (gdb) bt #0 0x40d191c9 in NSGetModule () #1 0x40d1a060 in NSGetModule () #2 0x40d19de2 in NSGetModule () #3 0x407e244d in NSGetModule () #4 0x407af03d in NSGetModule () #5 0x400656df in js_Invoke () #6 0x4006c262 in js_Interpret () #7 0x4006572a in js_Invoke () #8 0x4006590c in js_InternalInvoke () #9 0x4004d6af in JS_CallFunctionValue () #10 0x401e0c32 in nsJSContext::CallEventHandler () #11 0x40206dd9 in nsJSEventListener::HandleEvent () #12 0x40b7033a in NSGetModule () #13 0x40b707a2 in NSGetModule () #14 0x407bd68c in NSGetModule () #15 0x407bd7a9 in NSGetModule () #16 0x407bd7a9 in NSGetModule () #17 0x407bd7a9 in NSGetModule () #18 0x40b75269 in NSGetModule () #19 0x40b73c1f in NSGetModule () #20 0x40ba8687 in NSGetModule () #21 0x40eb0d18 in NSGetModule () #22 0x40eb0cc0 in NSGetModule () #23 0x40ebe9ba in NSGetModule () ---Type <return> to continue, or q <return> to quit--- #24 0x40eaf87d in NSGetModule () #25 0x4048f00a in nsWidget::DispatchEvent () #26 0x4048ef35 in nsWidget::DispatchWindowEvent () #27 0x4048f090 in nsWidget::DispatchMouseEvent () #28 0x4048fedf in nsWidget::OnButtonReleaseSignal () #29 0x404937ef in nsWindow::HandleGDKEvent () #30 0x40488647 in handle_gdk_event () #31 0x4048853a in handle_gdk_event () #32 0x405eefcb in gdk_event_dispatch () #33 0x4061cf96 in g_main_dispatch () #34 0x4061d561 in g_main_iterate () #35 0x4061d701 in g_main_run () #36 0x405442f9 in gtk_main () #37 0x40481e0a in nsAppShell::Run () #38 0x4042563a in NSGetModule () #39 0x804b20c in JS_PushArguments () #40 0x804b523 in JS_PushArguments () #41 0x40300a1b in __libc_start_main (main=0x804b3a0 <JS_PushArguments+7348>, argc=1, argv=0xbffffa34, init=0x804938c <_init>, fini=0x804c284 <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffa2c) at ../sysdeps/generic/libc-start.c:92 Additional observation: After the app had crashed i continued writing here before exiting gdb, and the text-color popup from composer now stays on top of NS4.7
Confirming (two independent reports). Setting severity to critical, adding crash keyword.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
assigning this to cmanske for debugging
Assignee: beppe → cmanske
Target Milestone: --- → M16
*** This bug has been marked as a duplicate of 35100 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified in 4/12 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.