GithubHelp home page GithubHelp logo

leveldb's People

Contributors

greyblake avatar peterschols avatar s0kil avatar twisterghost avatar veelenga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

leveldb's Issues

Invalid Access To Memory

After putting 60 entries into the database... every 20 entries have a different key schema, e.g.
1st 20: "messages/year/month/index"
2nd 20: "locations/year/month/index"
3rd 20: "something/someone/anyone/index"

When I use the iterator to seek out "messages"... I print out the messages keyed entries correctly and goes on to print the other entries which aren't related to messages... the whole time iterator.valid? happens to be true. After printing the said entries, it adds the following:

Invalid memory access (signal 11) at address 0x18
[0x430906] ???
[0x426280] __crystal_sigfault_handler +32
[0x7f13536a1390] ???
[0x7f1353e60184] ???
[0x7f1353e4750a] ???
[0x7f1353e39c3d] leveldb_iter_key +13
[0x40eef0] __crystal_main +15296
[0x411828] main +40
[0x7f1352c84830] __libc_start_main +240
[0x40b259] _start +41
[0x0] ???

This is the iterator part of my code

while iterator.valid?
  iterator.next
  puts "#{iterator.key} - #{iterator.value}"
end

iterator.destroy

Can't resolve 0.2.0

The readme suggests using 0.2.0 in the shard.yml, but that version can't be resolved currently.

Is This Project Dead?

An old issue was opened as far back as January this year, not even a comment on the issue by the maintainers.

Can't resolve 0.2.0 when installing with the README.md's instruction... if you happen to remove the version part you get this error for version 0.1.0

Error in src/testlevel.cr:4: while requiring "leveldb"

require "leveldb"
^

in lib/leveldb/src/leveldb.cr:1: while requiring "./leveldb/*"

require "./leveldb/*"
^

Syntax error in lib/leveldb/src/leveldb/db.cr:9: unexpected token: as

      @err_ptr = pointerof(@err_address) as Pointer(UInt64)

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.