hurd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs + glibc binary compatibility


From: Marcus Brinkmann
Subject: emacs + glibc binary compatibility
Date: Sun, 28 Apr 2002 07:48:46 -0400
User-agent: Mutt/1.3.25i

Hi,

emacs needs to be recompiled with every glibc recompilation.
Somehow glibc is not binary compatible to emacs across
recompilation.  Given the weird malloc+dump to executable
procedure emacs uses, this is not too surprising.

Here is a backtrace, have you any idea?

Thanks,
Marcus

Program received signal SIGSEGV, Segmentation fault.
0x012f7ba8 in strfnames () from /lib/debug/libc.so.0.3
(gdb) bt
#0  0x012f7ba8 in strfnames () from /lib/debug/libc.so.0.3
#1  0x01377d2d in free_atfork (mem=0xd1f93a7, caller=0x83e95d8)
    at ../mach/lock-intern.h:86
#2  0x013752e6 in chunk_alloc (ar_ptr=0x1442540, nb=40008) at
malloc.c:2593
#3  0x01374c7a in __libc_malloc (bytes=40000) at malloc.c:2810
#4  0x0811a60c in re_compile_pattern ()
#5  0x01374bed in __libc_malloc (bytes=40000) at malloc.c:2797
#6  0x0811a27f in re_compile_pattern ()
#7  0x080508ad in XMapRaised ()
#8  0x080511ac in XMapRaised ()
#9  0x08050e66 in XMapRaised ()
#10 0x08050e30 in XMapRaised ()
#11 0x08057742 in XMapRaised ()
#12 0x080d5ed5 in abort ()
#13 0x0131ddb6 in __libc_start_main (main=0x80d5744 <abort+1312>, argc=1,
    ubp_av=0x1023c00, init=0x804d6d0 <_init>, fini=0x81739f8 <_fini>,
    rtld_fini=0xb440 <_dl_fini>, stack_end=0x1023bfc)
    at ../sysdeps/generic/libc-start.c:129
(gdb) info reg
eax            0x2a410  173072
ecx            0xcccccccd       -858993459
edx            0x0      0
ebx            0xccccccc        214748364
esp            0x1023938        0x1023938
ebp            0x1023978        0x1023978
esi            0x2a000  172032
edi            0x8419000        138514432
eip            0x12f7ba8        0x12f7ba8
eflags         0x10202  66050
cs             0x17     23
ss             0x1f     31
ds             0x1f     31
es             0x1f     31
fs             0x1f     31
gs             0x1f     31
fctrl          0x0      0
fstat          0x0      0
ftag           0x0      0
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
(gdb) (gdb) x/20i $pc
0x12f7ba8 <strfnames+113512>:   jmp    *0x464(%ebx)
0x12f7bae <strfnames+113518>:   push   $0x8b0
0x12f7bb3 <strfnames+113523>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7bb8 <strfnames+113528>:   jmp    *0x468(%ebx)
0x12f7bbe <strfnames+113534>:   push   $0x8b8
0x12f7bc3 <strfnames+113539>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7bc8 <strfnames+113544>:   jmp    *0x46c(%ebx)
0x12f7bce <strfnames+113550>:   push   $0x8c0
0x12f7bd3 <strfnames+113555>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7bd8 <strfnames+113560>:   jmp    *0x470(%ebx)
0x12f7bde <strfnames+113566>:   push   $0x8c8
0x12f7be3 <strfnames+113571>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7be8 <strfnames+113576>:   jmp    *0x474(%ebx)
0x12f7bee <strfnames+113582>:   push   $0x8d0
0x12f7bf3 <strfnames+113587>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7bf8 <strfnames+113592>:   jmp    *0x478(%ebx)
0x12f7bfe <strfnames+113598>:   push   $0x8d8
0x12f7c03 <strfnames+113603>:   jmp    0x12f6a38 <strfnames+109048>
0x12f7c08 <strfnames+113608>:   jmp    *0x47c(%ebx)
0x12f7c0e <strfnames+113614>:   push   $0x8e0
(gdb) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]