Giter Club home page Giter Club logo

Comments (3)

przemoc avatar przemoc commented on June 12, 2024

Thanks for the report, but repeating these steps does not lead to above mentioned error in my case. I simply get.

opendir failed for /tmp/a: Permission denied

I'll surely investigate it later, but could you provide some info about your setup?

  • What system do you have?
    (uname -a, lsb_release -drc)
  • What gcc version have you used for building metastore?
    (gcc -v)
  • Do you use any custom FLAGS during build?
    (set | grep FLAGS=)
  • What libc implementation and version are you using?
  • What filesystem do you use and how it is mounted?
    (mount | grep $(df /tmp | awk 'NR==2{print$1}'))

from metastore.

dfandrich avatar dfandrich commented on June 12, 2024

I was able to reproduce this using the following steps:

mkdir /tmp/a
touch /tmp/a/foo
setfattr -n user.foo -v foo /tmp/a/foo           
chmod 000 /tmp/a/foo
metastore -s /tmp/a/
#0  0x00007ffff784d627 in raise () from /lib64/libc.so.6
#1  0x00007ffff784edba in abort () from /lib64/libc.so.6
#2  0x00007ffff788c423 in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff7894158 in _int_free () from /lib64/libc.so.6
#4  0x00007ffff7897828 in free () from /lib64/libc.so.6
#5  0x0000000000402c00 in mentry_free (m=0x60b5e0) at ./src/metaentry.c:57
#6  0x0000000000403008 in mentry_create (path=0x7fffffffc860 "/var/tmp/d/foo") at ./src/metaentry.c:282
#7  0x00000000004030cf in mentries_recurse (path=0x1ca7 <error: Cannot access memory at address 0x1ca7>, 
    mhash=0x1ca7, st=0x6) at ./src/metaentry.c:336
#8  0x00000000004031c3 in mentries_recurse (path=0x1ca7 <error: Cannot access memory at address 0x1ca7>, 
    path@entry=0x608020 "/var/tmp/d", mhash=0x1ca7, st=0x6, st@entry=0x606400 <settings>)
    at ./src/metaentry.c:357
#9  0x000000000040329c in mentries_recurse_path (opath=<optimized out>, mhash=0x7fffffffd8d0, 
    st=0x606400 <settings>) at ./src/metaentry.c:372
#10 0x00000000004017ea in main (argc=3, argv=0x7fffffffd9f8) at ./src/metastore.c:522

from metastore.

przemoc avatar przemoc commented on June 12, 2024

Thank you, @dfandrich, for refined reproduction steps.
I'll look into it this week.

from metastore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.