Opened 11 years ago

Closed 11 years ago

#338 closed defect (fixed)

Crash at start-up on linux-x8632

Reported by: stassats Owned by: gb
Priority: major Milestone: IA-32 port
Component: Runtime (threads, GC) Version: trunk
Keywords: Cc:


CCL from trunk crashes on linux-x8632 (2.6.24 kernel, glibc-2.7, Pentim 4 prescott CPU). Here is backtrace:

(#xB7E3CF94) #x1402AD9D : #<Function (:INTERNAL REVIVE-SHARED-LIBRARIES) #x1402AD36> + 103
(#xB7E3CFB0) #x140283FD : #<Function %WALK-SHARED-LIBRARIES #x1402835E> + 159
(#xB7E3CFC4) #x1402A9CD : #<Function REVIVE-SHARED-LIBRARIES #x1402A81E> + 431
(#xB7E3CFE0) #x1402B725 : #<Function REFRESH-EXTERNAL-ENTRYPOINTS #x1402B61E> + 263
(#xB7E3CFE8) #x1480A5ED : #<Function RESTORE-LISP-POINTERS #x1480A5A6> + 71


%eax = 0x00000000
%ecx = 0x00000000
%edx = 0x1490F83E
%ebx = 0xFFFF84B0
%esp = 0xB7DE0F78
%ebp = 0xB7DE0F94
%esi = 0xFFFF84B0
%edi = 0x14026E96
%eip = 0x1402737C
%ebx (arg_z) = -7892
%esi (arg_y) = -7892
%edi (fn) = #<Function SONAME-PTR-FROM-LINK-MAP #x14026E96>
%ecx (temp0) = 0
%edx (temp1) = #<MACPTR #xB7FC8940>

Change History (5)

comment:1 Changed 11 years ago by gb

  • Status changed from new to assigned

Thanks. I'm fairly sure that this is the same thing as was reported in:


I can reproduce this on a 2.6.24 system here.

If it is the same thing, rebooting with "vdso=0" on the (GRUB or equivalent) command line may work around it; the real problem is in trying to determine if a field in a union that can be used as either way is a relative offset or as an absolute address. Linux generally adheres to the ELF spec, but didn't do so in 2.6.23/24 (at least) with regards to the "vdso" library.

comment:2 Changed 11 years ago by gb

I checked in a change (r10881) that seems to fix this on the 2.6.24 system that I have access to (and also checked in an LX86CL that includes that change.)

Does this fix the problem for you ?

comment:3 Changed 11 years ago by stassats

Yes, it does.

comment:4 Changed 11 years ago by stassats

And I also accidentally noticed, that the same issue was on 64-bit 2.6.26 kernel with 32-bit libraries, and now it's gone too.

comment:5 Changed 11 years ago by stassats

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.