Re: [FWD] compiling emacs-bidi,
"Eli Zaretskii" <[email protected]>
| Newsgroups | gmane.emacs.bidi |
|---|---|
| Message-ID | <[email protected]> |
> Date: Fri, 12 Mar 2004 23:12:46 -0800 (PST) > From: rs6233 <[email protected]> > > Dumping under names emacs and emacs-21.3.50.1 > > Program received signal SIGSEGV, Segmentation fault. > 0x00c21dcc in memcpy () from /lib/tls/libc.so.6 > > > > > When I did a backtrace, I got: > > > > #0 0x00c21dcc in memcpy () from /lib/tls/libc.so.6 > #1 0x081547d2 in unexec ( > new_name=0x97877e0 > "/extras/emacs-bidi/emacs-bidi/src/emacs", > old_name=0x978780c > "/extras/emacs-bidi/emacs-bidi/src/temacs", > data_start=135852012, bss_start=0, entry_address=0) at unexelf.c:925 This is where you should start debugging: in frame #1 unexelf.c called memcpy with bad arguments. So the first thing to do is to find which argument is bad, and then try to figure out why. Therefore, please look at line 925 of unexelf.c and print the values of the arguments it passes to memcpy. One or more of them should be wrong (e.g., NULL pointers etc.).