[Linux-cluster] segment fault

Patrick Caulfield pcaulfie at redhat.com
Fri Jun 25 10:18:25 UTC 2004


On Fri, Jun 25, 2004 at 06:07:07PM +0800, hv wrote:
>    Hi,everyone:
>          I got a segment fault when I run acucobol on a gfs filesystem.My
>    system is redhat AS3,kernel is 2.6.7. The LVM2,GFS all are from CVS.My
>    host is Dell 6650,EMC CX200.
>          When I run vutil or runcbl on these GFS file system,This oops is
>     
>     
>    Could any one help me?

Try this patch to the kernel:

===== cluster/dlm/queries.c 1.12 vs edited =====
--- 1.12/cluster/dlm/queries.c  Sat Jun 19 06:31:56 2004
+++ edited/cluster/dlm/queries.c        Fri Jun 25 11:14:22 2004
@@ -49,7 +49,7 @@
        int status = -EINVAL;
        gd_lkb_t *target_lkb;
        gd_lkb_t *query_lkb = NULL;     /* Our temporary LKB */
-       gd_ls_t  *ls = (gd_ls_t *) lockspace;
+       gd_ls_t  *ls = (gd_ls_t *) find_lockspace_by_local_id(lockspace);
 
 
        if (!qinfo)


-- 

patrick




More information about the Linux-cluster mailing list