Date: Tue, 18 Jan 2011 19:01:30 -0700 From: Keith Seyffarth <weif@weif.net> To: Chuck Swiger <cswiger@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: use of menus crashes Firefox? Message-ID: <84y66h6491.fsf@maxwell.cjones.org> In-Reply-To: <90697FB1-79FD-4766-A01B-B06672D1EB7C@mac.com> (message from Chuck Swiger on Tue, 18 Jan 2011 16:04:45 -0800) References: <844o957rei.fsf@maxwell.cjones.org> <90697FB1-79FD-4766-A01B-B06672D1EB7C@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Run it under gdb, look at the backtrace. Bad system call implies a > mismatch between your shared libraries and kernel, or maybe you are > loading some plugin or something which has been compiled for a > different version of the platform. Chuck, Thanks for the suggestion. I can't figure out how to get that to work... $ gdb --exec=firefox3 This GDB was configured as "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable format: File format not recognized $ gdb --exec=firefox-bin This GDB was configured as "i386-marcel-freebsd"...firefox-bin: No such file or directory. or $ gdb firefox3 This GDB was configured as "i386-marcel-freebsd"..."/usr/local/bin/firefox3": not in executable format: File format not recognized It doesn't seem that gdb thinks firefox is an executable... I'm not seeing what I'm missing from the man page. I can get it to pick up the process once it is running: $ gdb firefox3 9759 This GDB was configured as "i386-marcel-freebsd"..."/usr/local/bin/firefox3": not in executable format: File format not recognized Attaching to process 9759 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y Abort trap: 6 (core dumped) this results in both Firefox and GDB crashing... $ gdb --core=gdb.core This GDB was configured as "i386-marcel-freebsd". Core was generated by `gdb'. Program terminated with signal 6, Aborted. #0 0x283e8e17 in ?? () So, how do I get FF to run under gdb? or does the above provide enough information to try a fix? Thanks, Keith
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84y66h6491.fsf>