Re: crash-4.0.9 cannot load extensions on i686

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

 



Hi Dave,

I have found that crash-4.0.9 cannot load any extensions on 32-bit hosts, even 
echo.so. Running crash with -d5 on a live 32-bit kernel I can see that it 
fails as

crash> extend extensions/echo.so
extend: ./extensions/echo.so: machine type mismatch: 3
extend: ./extensions/echo.so: not an ELF format object file

        if (!is_shared_object(ext->filename)) {
                error(INFO, "%s: not an ELF format object file\n",


Something is wrong in is_shared_object() logic on IA32. It is interesting that 
there are no problems with crash-4.0.9 and extensions on 64-bit systems. As 
most of us are running 64 bits, this probably explains why nobody reported 
this bug yet.

Regards,
Alex


------------------------------------------------------------------
Alexandre Sidorenko             email: asid@xxxxxx
WTEC Linux			Hewlett-Packard (Canada)
------------------------------------------------------------------
-- 
------------------------------------------------------------------
Alexandre Sidorenko             email: asid@xxxxxx
WTEC Linux			Hewlett-Packard (Canada)
------------------------------------------------------------------

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux