[Crash-utility] ANN: Pykdump - Python scripting for Crash

Dave Anderson anderson at redhat.com
Tue Dec 12 21:39:32 UTC 2006


Alex Sidorenko wrote:

> Hi Dave,
>
> sorry for mischief - I joined the mailing-list today using my short email
> address <asid at hp.com>, but sent email from another mailer which was
> configured to use my long email address, <alexandre.sidorenko at hp.com>.
>
> I posted again, this time using <asid at hp.com>
>
> BTW - would it be possible to change in crash sourcefile extensions.c the way
> you do dlopen:
>
>         ext->handle = dlopen(ext->filename, RTLD_NOW);
>
> adding RTLD_GLOBAL flag, i.e.
>
>         ext->handle = dlopen(ext->filename, RTLD_NOW|RTLD_GLOBAL);
>
> Python is usually shipped with extensions built as dynamically-loadable
> modules, so we need RTLD_GLOBAL to make this work ('extend' loads Python
> extension, it loads another extension...)
>
> Without this, I need to patch extensions.c myself every time I compile the new
> version of crash from sources.
>
> Regards,
> Alex
>

No problem -- I've queued it for the next release...

Thanks,
  Dave


>
> ------------------------------------------------------------------
> Alexandre Sidorenko             email: alexs at hplinux.canada.hp.com
> Global Solutions Engineering:   Unix Networking
> Hewlett-Packard (Canada)
> ------------------------------------------------------------------




More information about the Crash-utility mailing list