Closed
Bug 460034
Opened 16 years ago
Closed 16 years ago
Cannot run a gcc 4.3 based build : buffer overflow detected error message on start.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: fredbezies, Unassigned)
Details
Attachments
(1 file)
11.45 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b2pre) Gecko/20081015 Firefox/3.1b2pre Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b2pre) Gecko/20081015 Firefox/3.1b2pre While I was testing Ubuntu Intrepid Ibex (8.10) beta up-to-date in a virtual machine, I wanted to build mozilla firefox trunk code using gcc 4.3. Build process ran flawlessly, but I cannot get the build to run. Every single time, I have a crash log, beginning this way : fred@ubuntu:~/mozilla/src/objdir-fx/dist/firefox$ *** buffer overflow detected ***: ./firefox-bin terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x37)[0x7f925e59e887] /lib/libc.so.6[0x7f925e59c750] /lib/libc.so.6[0x7f925e59ce0b] ./libxul.so(XRE_GetBinaryPath+0x4d)[0x7f9262d1ee6f] ./firefox-bin[0x401b1e] /lib/libc.so.6(__libc_start_main+0xe6)[0x7f925e4bd466] ./firefox-bin[0x401979] I tried with a gcc 4.2 version, and firefox started. Reproducible: Always Steps to Reproduce: 1.Use a gcc 4.3 enabled distro 2.Grab trunk code 3.Build it 4.Try to launch Firefox Actual Results: Buffer overflow error. Expected Results: Running ? I don't find a lot of bug related to gcc 4.3 and running process, besides bug #362462.
Reporter | ||
Comment 1•16 years ago
|
||
Here is the crash log I have every single time. And gcc info : gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu10' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) I know that Intrepid Ibex is not stable, but nearly all majors distro will soon use gcc 4.3 as main gcc version.
Attachment #343227 -
Attachment mime type: application/octet-stream → text/plain
can you rebuild gecko w/ --without-lame-distro-flags --enable-debugger-info-modules --disable-strip --disable-optimize?
Reporter | ||
Comment 3•16 years ago
|
||
I will do it as soon as possible. But not before tomorrow at least. If it could help, I use the simplest .mozconfig you could find. No special options at all. But the strange point is that gcc 4.2 works flawlessly.
Reporter | ||
Comment 4•16 years ago
|
||
It runs. Very weird. Here is the .mozconfig I used : # # See http://www.mozilla.org/build/ for build instructions. # . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-fx # Options for 'configure' (same as command-line options). ac_add_options --disable-optimize ac_add_options --disable-strip ac_add_options --enable-debugger-info-modules ac_add_options --without-lame-distro-flags
Reporter | ||
Comment 5•16 years ago
|
||
Looks like it was a gcc bug. As Ubuntu Intrepid Ibex will be released in 48 hours, gcc version is now working. Closing as invalid. Not a mozilla bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•