Hello, and great job!
I downloaded it to test, however I'm getting problems connecting to Oracle
database on Windows 64. Both go-oci8 and goracle return the same error,
which I pasted below. Is this the proper place to report it?
I also tested on Ubuntu 15.04 64 bits and it works great, doesn't show any
errors and my application is 30+% faster.
go-oci8:
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
signal arrived during external code execution
github.com/mattn/go-oci8._Cfunc_WrapOCIEnvCreate(0x1, 0x0, 0x0, 0x0, 0x0)
??:0 +0x5a
github.com/mattn/go-oci8.(*OCI8Driver).Open(0x6de698, 0x5f4d70, 0x11, 0x0,
0x0, 0x0, 0x0)
C:/Projetos/Go/src/github.com/mattn/go-oci8/oci8.go:531 +0x4a8
database/sql.(*DB).conn(0xc08206a140, 0x1, 0x10, 0x0, 0x0)
c:/go/src/database/sql/sql.go:710 +0x458
database/sql.(*DB).query(0xc08206a140, 0x61c760, 0xcc, 0x0, 0x0, 0x0,
0xc081ffd701, 0x0, 0x0, 0x0)
c:/go/src/database/sql/sql.go:957 +0x4d
database/sql.(*DB).Query(0xc08206a140, 0x61c760, 0xcc, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0)
c:/go/src/database/sql/sql.go:945 +0xaa
main.executaRegistro(0x1, 0xc08205fea8, 0x0)
C:/projetos/go/exemplos-Go/oracle.go:44 +0x167
main.executa()
C:/projetos/go/exemplos-Go/oracle.go:92 +0x38a
main.main()
C:/projetos/go/exemplos-Go/oracle.go:28 +0x4d
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
c:/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc08206a140)
c:/go/src/database/sql/sql.go:634 +0x4c
created by database/sql.Open
c:/go/src/database/sql/sql.go:481 +0x33d
rax 0x22fd30
rbx 0xc08205f680
rcx 0x22fd30
rdi 0xc08205f680
rsi 0x6bb200
rbp 0x22fd50
rsp 0x22fce8
r8 0x0
r9 0x0
r10 0xc082008de0
r11 0x55555555555555
r12 0x3
r13 0x61a762
r14 0x38
r15 0x0
rip 0x0
rflags 0x10246
cs 0x33
fs 0x53
gs 0x2b
exit status 2
goracle:
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0
signal arrived during external code execution
gopkg.in/goracle.v1/oracle._Cfunc_OCIEnvNlsCreate(0xc082052c60, 0x1, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
??:0 +0x43
gopkg.in/goracle.v1/oracle.NewEnvironment(0x662d20, 0x0, 0x0)
C:/Projetos/Go/src/gopkg.in/goracle.v1/oracle/environment.go:99
+0x266
gopkg.in/goracle.v1/oracle.NewConnection(0xc082008ee0, 0x6, 0xc082008ee7,
0x4, 0xc082008eec, 0x5, 0xc082008e00, 0xc08200
e380, 0x0, 0x0)
C:/Projetos/Go/src/gopkg.in/goracle.v1/oracle/connection.go:132
+0xd1
gopkg.in/goracle%2ev1.(*Driver).Open(0x7b20a0, 0xc082008ee0, 0x11, 0x0,
0x0, 0x0, 0x0)
C:/Projetos/Go/src/gopkg.in/goracle.v1/driver.go:255 +0x166
database/sql.(*DB).conn(0xc08206a140, 0x472501, 0xc082039040, 0x0, 0x0)
c:/go/src/database/sql/sql.go:710 +0x458
database/sql.(*DB).begin(0xc08206a140, 0xc08205fe01, 0x1, 0x0, 0x0)
c:/go/src/database/sql/sql.go:1048 +0x46
database/sql.(*DB).Begin(0xc08206a140, 0x1, 0x0, 0x0)
c:/go/src/database/sql/sql.go:1036 +0x63
main.executa()
C:/projetos/go/exemplos-Go/goracle.go:27 +0x2b9
main.main()
C:/projetos/go/exemplos-Go/goracle.go:14 +0x4d
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
c:/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc08206a140)
c:/go/src/database/sql/sql.go:634 +0x4c
created by database/sql.Open
c:/go/src/database/sql/sql.go:481 +0x33d
rax 0xc082052c60
rbx 0x0
rcx 0xc082052c60
rdi 0x0
rsi 0x0
rbp 0x22fda0
rsp 0x22fd18
r8 0x0
r9 0x0
r10 0x0
r11 0x0
r12 0x10
r13 0x6e231c
r14 0x8
r15 0x0
rip 0x0
rflags 0x10202
cs 0x33
fs 0x53
gs 0x2b
exit status 2
Em quarta-feira, 8 de julho de 2015 12:17:33 UTC-3, Andrew Gerrand escreveu:Hi Go nuts,
We have just released go1.5beta1, a beta version of Go 1.5.
It is cut from the master branch at the revision tagged go1.5beta1.
Please help us by testing your Go programs with the release, and report
any problems using the issue tracker:
http://golang.org/issue/newYou can download binary and source distributions from the usual place:
http://golang.org/dl/#go1.5beta1Note that we are not providing signed PKG or MSI installers for the beta.
(You can expect them for the release candidates and the final release.)
To find out what has changed in Go 1.5, read the release notes:
http://tip.golang.org/doc/go1.5Documentation for Go 1.5 is available at:
http://tip.golang.org/Our goal is to release the final version of Go 1.5 on December 1, 2014.
Andrew
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.