GithubHelp home page GithubHelp logo

SEGV on DecodeConfig about go-libjpeg HOT 4 CLOSED

harukasan avatar harukasan commented on May 23, 2024
SEGV on DecodeConfig

from go-libjpeg.

Comments (4)

mananSingh avatar mananSingh commented on May 23, 2024

Issue in DecodeIntoRGB.

While running openai's universe's first agent, got unexpected crashes (I'm using amd64). I reported the full issue there. I've tried the Go versions 1.6, 1.7 and 1.8, but the error remains. Possibly, some issue in DecodeIntoRGB.

fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x2c pc=0x7f8f432bad1c]

runtime stack:
runtime.throw(0x7f8f4420b740, 0x2a)
	/usr/lib/go/src/runtime/panic.go:530 +0x92
runtime.sigpanic()
	/usr/lib/go/src/runtime/sigpanic_unix.go:12 +0x5e
runtime.reimburseSweepCredit(0x7f8eec000b60)
	/usr/lib/go/src/runtime/mgcsweep.go:399 +0x52

goroutine 35 [syscall, locked to thread]:
runtime.cgocall(0x7f8f43a803d9, 0xc820045440, 0xc800000000)
	/usr/lib/go/src/runtime/cgocall.go:123 +0x121 fp=0xc820045418 sp=0xc8200453e8
github.com/openai/go-vncdriver/vendor/github.com/pixiv/go-libjpeg/jpeg._Cfunc_new_decompress(0x0)
	??:0 +0x49 fp=0xc820045440 sp=0xc820045418
github.com/openai/go-vncdriver/vendor/github.com/pixiv/go-libjpeg/jpeg.DecodeIntoRGB(0x7f8f3ed89138, 0xc8200e66c0, 0xc820045618, 0x0, 0x0, 0x0)
	/home/manan/data-science-machine-learning-code/openai/go-vncdriver/.build/src/github.com/openai/go-vncdriver/vendor/github.com/pixiv/go-libjpeg/jpeg/decompress.go:256 +0x93 fp=0xc820045560 sp=0xc820045440
github.com/openai/go-vncdriver/vncclient.(*TightEncoding).Read(0xc8205a2000, 0xc8200fc000, 0xc8200a4000, 0x7f8f2c7ba168, 0xc8200e8018, 0x0, 0x0, 0x0, 0x0)

from go-libjpeg.

harukasan avatar harukasan commented on May 23, 2024

@mananSingh Thank you for your report. I'm investigating this issue but could not reproduce yet.

Could you tell me some environments?

  • linked libjpeg-trubo version (or libjpeg version)
  • running on mac, Linux or Windows ?

from go-libjpeg.

mananSingh avatar mananSingh commented on May 23, 2024

libjpeg-turbo8-dev
linux (ubuntu 14.04)
amd64

from go-libjpeg.

harukasan avatar harukasan commented on May 23, 2024

This issue may fixed in #53.

from go-libjpeg.

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.