Re: use of menus crashes Firefox?
- From: Keith Seyffarth <weif@xxxxxxxx>
- Date: Tue, 18 Jan 2011 19:01:30 -0700
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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: use of menus crashes Firefox?
- From: Chuck Swiger
- Re: use of menus crashes Firefox?
- References:
- Re: use of menus crashes Firefox?
- From: Keith Seyffarth
- Re: use of menus crashes Firefox?
- From: Chuck Swiger
- Re: use of menus crashes Firefox?
- Prev by Date: Re: rusage and pthreads
- Next by Date: Re: use of menus crashes Firefox?
- Previous by thread: Re: use of menus crashes Firefox?
- Next by thread: Re: use of menus crashes Firefox?
- Index(es):
Relevant Pages
|