Closed
Bug 228280
Opened 21 years ago
Closed 21 years ago
crash when clicking on a radio button
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: hannesw, Assigned: blizzard)
Details
(Keywords: crash, stackwanted)
Attachments
(1 file)
7.77 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031210 My Mozilla 1.6b/CVS trunk build crashes whenever I click on a radio button in any web page. This doesn't happen with the 1.6b build from ftp.mozilla.org, so it definitely has to do with my build options/environment (GTK2, XFT, optimization for i686). My box is an up-to-date SuSE 9.0, the gcc version is gcc (GCC) 3.3.1 (SuSE Linux), I add the contents of the .mozconfig file below. Reproducible: Always Steps to Reproduce: 1. Go to any web page containing a radio button form element 2. Click on a radio button Actual Results: The radio button becomes gray and Mozilla crashes after some fractions of a second # sh # Build configuration script # # See http://www.mozilla.org/build/unix.html for build instructions. # # Options for 'configure' (same as command-line options). ac_add_options --enable-xft ac_add_options --enable-xinerama ac_add_options --enable-default-toolkit=gtk2 ac_add_options --disable-debug ac_add_options --enable-optimize ac_add_options --with-pthreads ac_add_options --enable-crypto ac_add_options --disable-tests ac_add_options --enable-reorder ac_add_options --enable-strip ac_add_options --enable-xterm-updates ac_add_options --enable-cpp-rtti ac_add_options --enable-optimize='-O3 -march=i686 -mcpu=i686' ac_add_options --enable-cpp-exceptions
Comment 1•21 years ago
|
||
can you post a minimal testcase and attach a stack trace via "create a new attachment" by compiling without --disable-debug ?
Keywords: crash,
stackwanted
Reporter | ||
Comment 2•21 years ago
|
||
I recompiled with debug enabled, and the bug has gone. With debug disabled it really happens with every every HTML radio button.
Comment 3•21 years ago
|
||
do you crash with less aggressive compilation flags, I mean removing the lines: ac_add_options --enable-reorder ac_add_options --enable-cpp-rtti ac_add_options --enable-optimize='-O3 -march=i686 -mcpu=i686' ac_add_options --enable-cpp-exceptions You have 2 --enable-optimize lines btw
Comment 4•21 years ago
|
||
You can get a useful stack from an optimized build by adding "-g" to the optimization flags. Over to blizzard, since this sounds like an xft or gtk2 issue.
Assignee: form → blizzard
Component: Layout: Form Controls → GFX: Gtk
Reporter | ||
Comment 5•21 years ago
|
||
Here's a stack trace obtained from gdb. I hope it's useful, I'm not that good at debugging C programs. If it isn't, let me know what to do.
Reporter | ||
Comment 6•21 years ago
|
||
Olivier: I don't crash without the config lines you list. I'll throw some of them back in to find out which one causes the problem.
Reporter | ||
Comment 7•21 years ago
|
||
OK, I found out: the problem comes from the -march=i686 flag. If I change that to -march=i586, the bug has gone. So I guess it isn't a bug after all (but I'm not versed enough in gcc and gtk to tell). Interesting that the problem appears with radio buttons and only radio buttons, though.
Assignee | ||
Comment 8•21 years ago
|
||
Marking worksforme since you're messing with untested compiler options.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•