Open Source Content Management Framework

"Memory access error" when running midgard-schema

  1. "Memory access error" when running midgard-schema

    Tue March 25 2008 18:25:00 UTC
    Hi!

    I'm trying to create some new DB tables ATM, but I'm having problems (as
    usual...). midgard-schema always returns "Speicherzugriffsfehler" which
    would be something like memory access error in English. I have
    TableCreate and TableUpdate set to true, the credentials in the conf
    file for mysql and midgard users are correct as well. When I set the log
    level to debug, I get the following output:

    # midgard-schema midgard
    midgard-core (pid:8787):(debug): query=SELECT admingroup FROM sitegroup
    WHERE id=0
    midgard-core (pid:8787):(debug): query=SELECT person.id,person.password
    FROM person,member WHERE person.username='admin' AND person.sitegroup=0
    AND member.uid = person.id AND member.gid=0 AND person.metadata_deleted=0
    midgard-core (pid:8787):(info): Authentication type: NORMAL
    midgard-core (pid:8787):(debug): query=SELECT gid FROM member WHERE
    uid=1 AND sitegroup in (0, 0) AND metadata_deleted=0 ORDER BY gid DESC
    Schema (pid:8787):(m): Type midgard_language
    Speicherzugriffsfehler

    The midgard_language table looks normal (or at least like it does in
    other databases), so I'm out of ideas for the moment. If someone has a
    hint, please let me know!


    Bye,

    Andreas
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  2. Piotr Pokora

    Re: [midgard-user] "Memory access error" when running midgard-schema

    Tue March 25 2008 18:34:45 UTC
    Andreas Flack writes:
    > Hi!

    Hi!

    > I'm trying to create some new DB tables ATM, but I'm having problems (as
    > usual...). midgard-schema always returns "Speicherzugriffsfehler" which
    > would be something like memory access error in English.

    Issue is reproducable on some 64 bit systems :/

    > The midgard_language table looks normal (or at least like it does in
    > other databases), so I'm out of ideas for the moment. If someone has a
    > hint, please let me know!

    Only recompile midgard-core, as patch has been applied when 1.8.7 was
    released.

    http://trac.midgard-project.org/changeset?new=branches%2Fbranch-1-8%2Fsrc%2Fcore%2Fmidgard%4015747&old=branches%2Fbranch-1-8%2Fsrc%2Fcore%2Fmidgard%4015542

    Piotras
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  3. Re: [midgard-user] "Memory access error" when running midgard-schema

    Tue March 25 2008 19:21:14 UTC
    Piotr Pokora schrieb:
    > Andreas Flack writes:
    >> Hi!
    >
    > Hi!
    >
    >> I'm trying to create some new DB tables ATM, but I'm having problems (as
    >> usual...). midgard-schema always returns "Speicherzugriffsfehler" which
    >> would be something like memory access error in English.
    >
    > Issue is reproducable on some 64 bit systems :/
    >
    >> The midgard_language table looks normal (or at least like it does in
    >> other databases), so I'm out of ideas for the moment. If someone has a
    >> hint, please let me know!
    >
    > Only recompile midgard-core, as patch has been applied when 1.8.7 was
    > released.
    >

    worked like a charm, thanks!


    Bye,

    Andreas

    > http://trac.midgard-project.org/changeset?new=branches%2Fbranch-1-8%2Fsrc%2Fcore%2Fmidgard%4015747&old=branches%2Fbranch-1-8%2Fsrc%2Fcore%2Fmidgard%4015542
    >
    > Piotras
    > _______________________________________________
    > user mailing list
    > user@lists.midgard-project.org
    > http://lists.midgard-project.org/mailman/listinfo/user

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
Designed by Nemein, hosted by Anykey