Giter VIP home page Giter VIP logo

Comments (5)

syndtr avatar syndtr commented on June 4, 2024

@marcopeereboom Could you please verify whether a8b53bf fixes this or not?

from goleveldb.

marcopeereboom avatar marcopeereboom commented on June 4, 2024

I have not observed this issue again.

from goleveldb.

marcopeereboom avatar marcopeereboom commented on June 4, 2024

Not fixed yet :(

Here is a trace using go version go1.1.1 openbsd/amd64
unexpected fault address 0xc209f00000
fatal error: fault
[signal 0xb code=0x1 addr=0xc209f00000 pc=0x671524]

goroutine 12 [running]:
[fp=0x200c566a8] runtime.throw(0xd07d5c)
/usr/local/go/src/pkg/runtime/panic.c:473 +0x67
[fp=0x200c566c0] runtime.sigpanic()
/usr/local/go/src/pkg/runtime/os_openbsd.c:235 +0xe7
[fp=0x200c568b8] github.com/syndtr/goleveldb/leveldb.(_version).release_NB(0xc2005619a0)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/version.go:73 +0x314
[fp=0x200c568c8] github.com/syndtr/goleveldb/leveldb.(_session).setVersion(0xc200183480, 0xc2036042a0)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/session_util.go:69 +0x68
[fp=0x200c56908] github.com/syndtr/goleveldb/leveldb.(_session).commit(0xc200183480, 0xc20531c280, 0x0, 0x0)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/session.go:166 +0xda
[fp=0x200c56948] github.com/syndtr/goleveldb/leveldb.func·015(0x0, 0x0)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:381 +0x8e
[fp=0x200c569e8] github.com/syndtr/goleveldb/leveldb.(_DB).transact(0xc200172600, 0x200c56e18)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:136 +0xab
[fp=0x200c56e68] github.com/syndtr/goleveldb/leveldb.(_DB).doCompaction(0xc200172600, 0xc200561c40, 0x200c56f00)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:382 +0xd88
[fp=0x200c56fb0] github.com/syndtr/goleveldb/leveldb.(_DB).compaction(0xc200172600)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:459 +0x181
[fp=0x200c56fb8] runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1223
created by github.com/syndtr/goleveldb/leveldb.openDB
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db.go:72 +0x1de

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc200985d38)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_WaitGroup).Wait(0xc2002dc568)
/usr/local/go/src/pkg/sync/waitgroup.go:109 +0xf2
main.(_server).WaitForShutdown(0xc2002dc500)
/axiom/go2/src/github.com/conformal/btcd/server.go:389 +0x2a
main.btcdMain(0x0, 0x0)
/axiom/go2/src/github.com/conformal/btcd/btcd.go:181 +0xa66
main.main()
/axiom/go2/src/github.com/conformal/btcd/btcd.go:190 +0x2e

goroutine 2 [syscall]:

goroutine 4 [syscall]:
os/signal.loop()
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1c
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x2f

goroutine 5 [semacquire]:
sync.runtime_Semacquire(0xc200169000)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc20011acc0)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncLoopLogger).processItem(0xc200100480, 0x628500)
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0x89
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0xc200100480)
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x2f
created by github.com/conformal/seelog.newAsyncLoopLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x6f

goroutine 6 [semacquire]:
sync.runtime_Semacquire(0xc200000f00)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc20011af40)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncLoopLogger).processItem(0xc200100540, 0x628500)
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0x89
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0xc200100540)
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x2f
created by github.com/conformal/seelog.newAsyncLoopLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x6f

goroutine 7 [semacquire]:
sync.runtime_Semacquire(0xc20457dd90)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc200133dc0)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncAdaptiveLogger).processItem(0xc2000c35b0, 0xc2009ab700, 0x0)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:94 +0x92
github.com/conformal/seelog.(*asyncAdaptiveLogger).processQueue(0xc2000c35b0)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:119 +0x2f
created by github.com/conformal/seelog.newAsyncAdaptiveLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:84 +0x479

goroutine 8 [semacquire]:
sync.runtime_Semacquire(0xc200169308)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc200175540)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncAdaptiveLogger).processItem(0xc2000c3690, 0x4ab800, 0x0)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:94 +0x92
github.com/conformal/seelog.(*asyncAdaptiveLogger).processQueue(0xc2000c3690)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:119 +0x2f
created by github.com/conformal/seelog.newAsyncAdaptiveLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:84 +0x479

goroutine 9 [semacquire]:
sync.runtime_Semacquire(0xc2002635d0)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc200175cc0)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncAdaptiveLogger).processItem(0xc2000c3770, 0xc203f63a00, 0x0)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:94 +0x92
github.com/conformal/seelog.(*asyncAdaptiveLogger).processQueue(0xc2000c3770)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:119 +0x2f
created by github.com/conformal/seelog.newAsyncAdaptiveLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:84 +0x479

goroutine 10 [semacquire]:
sync.runtime_Semacquire(0xc200169318)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Cond).Wait(0xc200179480)
/usr/local/go/src/pkg/sync/cond.go:74 +0x95
github.com/conformal/seelog.(_asyncAdaptiveLogger).processItem(0xc2000c3850, 0x4ab800, 0x0)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:94 +0x92
github.com/conformal/seelog.(*asyncAdaptiveLogger).processQueue(0xc2000c3850)
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:119 +0x2f
created by github.com/conformal/seelog.newAsyncAdaptiveLogger
/axiom/go2/src/github.com/conformal/seelog/behavior_adaptivelogger.go:84 +0x479

goroutine 13 [chan receive]:
github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xc200172600)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db_write.go:25 +0x3c
created by github.com/syndtr/goleveldb/leveldb.openDB
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db.go:73 +0x1f5

goroutine 14 [chan receive]:
main.func·011()
/axiom/go2/src/github.com/conformal/btcd/signal.go:28 +0x31
created by main.addInterruptHandler
/axiom/go2/src/github.com/conformal/btcd/signal.go:33 +0xc9

goroutine 15 [finalizer wait]:

goroutine 16 [select]:
main.(_server).peerHandler(0xc2002dc500)
/axiom/go2/src/github.com/conformal/btcd/server.go:219 +0x440
created by main.(_server).Start
/axiom/go2/src/github.com/conformal/btcd/server.go:347 +0x1a2

goroutine 23 [chan receive]:
main.(_peer).handleBlockMsg(0xc2005e5480, 0xc2003f2ea0, 0xc205b1f000, 0x28d86, 0x28d86, ...)
/axiom/go2/src/github.com/conformal/btcd/peer.go:371 +0x289
main.(_peer).inHandler(0xc2005e5480)
/axiom/go2/src/github.com/conformal/btcd/peer.go:910 +0x596
created by main.(*peer).Start
/axiom/go2/src/github.com/conformal/btcd/peer.go:1038 +0x282

goroutine 18 [select]:
main.(_AddrManager).addressHandler(0xc20012f9b0)
/axiom/go2/src/github.com/conformal/btcd/addrmanager.go:75 +0x265
created by main.(_AddrManager).Start
/axiom/go2/src/github.com/conformal/btcd/addrmanager.go:107 +0xf9

goroutine 19 [select]:
main.(_blockManager).syncHandler(0xc200132210)
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:165 +0x238
created by main.(_blockManager).Start
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:358 +0xfc

goroutine 20 [semacquire]:
sync.runtime_Semacquire(0xc200183594)
/usr/local/go/src/pkg/runtime/zsema_openbsd_amd64.c:165 +0x2e
sync.(_Mutex).Lock(0xc200183590)
/usr/local/go/src/pkg/sync/mutex.go:66 +0xbb
github.com/syndtr/goleveldb/leveldb.(_session).version(0xc200183480, 0x0)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/session_util.go:51 +0x36
github.com/syndtr/goleveldb/leveldb.(_DB).get(0xc200172600, 0xc200a31800, 0x22, 0x40, 0xb54a34, ...)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db.go:353 +0x1d3
github.com/syndtr/goleveldb/leveldb.(_DB).Get(0xc200172600, 0xc200a31800, 0x22, 0x40, 0x0, ...)
/axiom/go2/src/github.com/syndtr/goleveldb/leveldb/db.go:374 +0xfe
github.com/conformal/btcdb/ldb.(_LevelDb).getTxData(0xc200186070, 0xc200ef9a50, 0x0, 0x0, 0x0, ...)
/axiom/go2/src/github.com/conformal/btcdb/ldb/tx.go:93 +0xd1
github.com/conformal/btcdb/ldb.(_LevelDb).fetchTxDataBySha(0xc200186070, 0xc200ef9a50, 0x0, 0x0, 0x0, ...)
/axiom/go2/src/github.com/conformal/btcdb/ldb/dbcache.go:72 +0xe5
github.com/conformal/btcdb/ldb.(_LevelDb).FetchTxByShaList(0xc200186070, 0xc204903000, 0x3a4, 0x400, 0x0, ...)
/axiom/go2/src/github.com/conformal/btcdb/ldb/dbcache.go:47 +0x136
github.com/conformal/btcchain.(_BlockChain).fetchTxList(0xc20012d880, 0xc201450850, 0xc204903000, 0x3a4, 0x400, ...)
/axiom/go2/src/github.com/conformal/btcchain/txlookup.go:124 +0x1b3
github.com/conformal/btcchain.(_BlockChain).fetchInputTransactions(0xc20012d880, 0xc201450850, 0xc20132e7d0, 0x0, 0x0, ...)
/axiom/go2/src/github.com/conformal/btcchain/txlookup.go:256 +0x3fe
github.com/conformal/btcchain.(_BlockChain).checkConnectBlock(0xc20012d880, 0xc201450850, 0xc20132e7d0, 0x0, 0x6, ...)
/axiom/go2/src/github.com/conformal/btcchain/validate.go:739 +0x126
github.com/conformal/btcchain.(_BlockChain).connectBestChain(0xc20012d880, 0xc201450850, 0xc20132e7d0, 0xc206929d20, 0x3e8, ...)
/axiom/go2/src/github.com/conformal/btcchain/chain.go:893 +0x60b
github.com/conformal/btcchain.(_BlockChain).maybeAcceptBlock(0xc20012d880, 0xc20132e7d0, 0xffffffffffffff01, 0x1b030c27)
/axiom/go2/src/github.com/conformal/btcchain/accept.go:158 +0xe09
github.com/conformal/btcchain.(_BlockChain).ProcessBlock(0xc20012d880, 0xc20132e7d0, 0x48755769fb72e041, 0xca69ad0a344c57f8)
/axiom/go2/src/github.com/conformal/btcchain/process.go:158 +0x97d
main.(_blockManager).handleBlockMsg(0xc200132210, 0xc203a8f650)
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:222 +0xd1
main.(_blockManager).blockHandler(0xc200132210)
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:266 +0x88
created by main.(_blockManager).Start
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:359 +0x113

goroutine 21 [select]:
main.(_blockManager).chainNotificationHandler(0xc200132210)
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:325 +0x18e
created by main.(_blockManager).Start
/axiom/go2/src/github.com/conformal/btcd/blockmanager.go:360 +0x12a

goroutine 22 [syscall]:
syscall.Syscall6()
/usr/local/go/src/pkg/syscall/asm_openbsd_amd64.s:39 +0x5
syscall.kevent(0xe2, 0x0, 0x0, 0xc2007bac08, 0xa, ...)
/usr/local/go/src/pkg/syscall/zsyscall_openbsd_amd64.go:199 +0x83
syscall.Kevent(0xe2, 0x0, 0x0, 0x0, 0xc2007bac08, ...)
/usr/local/go/src/pkg/syscall/syscall_bsd.go:559 +0x9b
net.(_pollster).WaitFD(0xc2007bac00, 0xc2008ede40, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/net/fd_bsd.go:98 +0x187
net.(_pollServer).Run(0xc2008ede40)
/usr/local/go/src/pkg/net/fd_poll_unix.go:222 +0x10a
created by net.newPollServer
/usr/local/go/src/pkg/net/fd_poll_unix.go:70 +0x2d5

goroutine 24 [select]:
main.(_peer).outHandler(0xc2005e5480)
/axiom/go2/src/github.com/conformal/btcd/peer.go:948 +0x4de
created by main.(_peer).Start
/axiom/go2/src/github.com/conformal/btcd/peer.go:1039 +0x29c

from goleveldb.

syndtr avatar syndtr commented on June 4, 2024

@marcopeereboom still got any panics with the latest code?

from goleveldb.

marcopeereboom avatar marcopeereboom commented on June 4, 2024

Seems fixed :)

from goleveldb.

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.