Giter Site home page Giter Site logo

Comments (6)

BohuTANG avatar BohuTANG commented on May 16, 2024

Hi,can you give the core dump backstack info, i am away from my laptop.
Thanks

from nessdb.

ogoudron avatar ogoudron commented on May 16, 2024

Program received signal SIGSEGV, Segmentation fault.
0x0805114e in level_set_head (level=0x805a130, n=0x0) at engine/level.c:26
26 n->pre = NULL;
(gdb) bt
#0 0x0805114e in level_set_head (level=0x805a130, n=0x0) at engine/level.c:26
#1 0x080516af in _llru_set_node (lru=0x805a100, n=0xe28f978) at engine/llru.c:59
#2 0x0805197e in llru_get (lru=0x805a100, sk=0xbfff7934) at engine/llru.c:127
#3 0x0804f32b in db_get (db=0x8057028, sk=0xbfff7934, sv=0xbfff793c) at engine/db.c:45
#4 0x08049ab2 in read_handler (el=0xb097b00c, fd=169, privdata=0x0, mask=1)
at server/db-server.c:230
#5 0x0804b039 in aeProcessEvents (eventLoop=0xb097b00c, flags=3) at server/ae.c:339
#6 0x0804b33c in aeMain (eventLoop=0xb097b00c) at server/ae.c:384
#7 0x0804a348 in main () at server/db-server.c:384
(gdb)

from nessdb.

BohuTANG avatar BohuTANG commented on May 16, 2024

Hi,ogoudron

Fixup,this push commit is :debb721

But I found memory-leak in 'db-server',debug and try to fix it.

Thanks
BohuTANG

from nessdb.

BohuTANG avatar BohuTANG commented on May 16, 2024

Hey,again
Fixed the memory leak when db-get, get the codes again from 'unstable' branch pls.

Thanks.
BohuTANG

from nessdb.

ogoudron avatar ogoudron commented on May 16, 2024

Thanks again for your reactivity, i will test it today.

from nessdb.

BohuTANG avatar BohuTANG commented on May 16, 2024

If you don't want to data recovery(if server crash) , change to IS_LOG_RECOVERY (0) in 'db-server.c', this is fast for performance.

from nessdb.

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.