Data race #35

Open
opened 2017-05-08 22:56:44 +05:00 by pztrn · 0 comments
Owner
WARNING: DATA RACE
Read at 0x00c420018d60 by goroutine 73:
  github.com/pztrn/urtrator/timer.(*Timer).executeTasks()
      /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:62 +0x341

Previous write at 0x00c420018d60 by main goroutine:
  github.com/pztrn/urtrator/timer.(*Timer).SetTaskNotInProgress-fm()
      /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:100 +0x1c3
  github.com/pztrn/urtrator/eventer.(*Eventer).reallyLaunchEvent()
      /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:73 +0x23b
  github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent.func1()
      /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:55 +0x5c
  runtime.call32()
      /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47
  reflect.Value.Call()
      /usr/lib/go/src/reflect/value.go:302 +0xc0
  github.com/mattn/go-gtk/glib._go_glib_sourcefunc()
      /data/.go/workspace/src/github.com/mattn/go-gtk/glib/glib.go:1019 +0x1af
  github.com/mattn/go-gtk/glib._cgoexpwrap_fe5c68f3714d__go_glib_sourcefunc()
      github.com/mattn/go-gtk/glib/_obj/_cgo_gotypes.go:1845 +0x38
  runtime.call32()
      /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47
  github.com/mattn/go-gtk/gtk.MainIteration()
      /data/.go/workspace/src/github.com/mattn/go-gtk/gtk/gtk.go:271 +0x2f
  github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent()
      /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:61 +0x2b4
  github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).serversUpdateCompleted()
      /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow.go:613 +0x1a9
  github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).(github.com/pztrn/urtrator/ui/gtk2.serversUpdateCompleted)-fm()
      /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow_init.go:189 +0x4b
  github.com/pztrn/urtrator/eventer.(*Eventer).reallyLaunchEvent()
      /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:73 +0x23b
  github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent.func1()
      /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:55 +0x5c
  runtime.call32()
      /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47
  reflect.Value.Call()
      /usr/lib/go/src/reflect/value.go:302 +0xc0
  github.com/mattn/go-gtk/glib._go_glib_sourcefunc()
      /data/.go/workspace/src/github.com/mattn/go-gtk/glib/glib.go:1019 +0x1af
  github.com/mattn/go-gtk/glib._cgoexpwrap_fe5c68f3714d__go_glib_sourcefunc()
      github.com/mattn/go-gtk/glib/_obj/_cgo_gotypes.go:1845 +0x38
  runtime.call32()
      /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47
  github.com/mattn/go-gtk/gtk.Main()
      /data/.go/workspace/src/github.com/mattn/go-gtk/gtk/gtk.go:261 +0x2f
  github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).Initialize()
      /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow_init.go:179 +0x1b2d
  main.main()
      /data/.go/workspace/src/github.com/pztrn/urtrator/urtrator.go:33 +0x294

Goroutine 73 (running) created at:
  github.com/pztrn/urtrator/timer.(*Timer).Initialize.func1()
      /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:96 +0xca
``` WARNING: DATA RACE Read at 0x00c420018d60 by goroutine 73: github.com/pztrn/urtrator/timer.(*Timer).executeTasks() /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:62 +0x341 Previous write at 0x00c420018d60 by main goroutine: github.com/pztrn/urtrator/timer.(*Timer).SetTaskNotInProgress-fm() /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:100 +0x1c3 github.com/pztrn/urtrator/eventer.(*Eventer).reallyLaunchEvent() /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:73 +0x23b github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent.func1() /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:55 +0x5c runtime.call32() /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47 reflect.Value.Call() /usr/lib/go/src/reflect/value.go:302 +0xc0 github.com/mattn/go-gtk/glib._go_glib_sourcefunc() /data/.go/workspace/src/github.com/mattn/go-gtk/glib/glib.go:1019 +0x1af github.com/mattn/go-gtk/glib._cgoexpwrap_fe5c68f3714d__go_glib_sourcefunc() github.com/mattn/go-gtk/glib/_obj/_cgo_gotypes.go:1845 +0x38 runtime.call32() /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47 github.com/mattn/go-gtk/gtk.MainIteration() /data/.go/workspace/src/github.com/mattn/go-gtk/gtk/gtk.go:271 +0x2f github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent() /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:61 +0x2b4 github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).serversUpdateCompleted() /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow.go:613 +0x1a9 github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).(github.com/pztrn/urtrator/ui/gtk2.serversUpdateCompleted)-fm() /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow_init.go:189 +0x4b github.com/pztrn/urtrator/eventer.(*Eventer).reallyLaunchEvent() /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:73 +0x23b github.com/pztrn/urtrator/eventer.(*Eventer).LaunchEvent.func1() /data/.go/workspace/src/github.com/pztrn/urtrator/eventer/eventer_object.go:55 +0x5c runtime.call32() /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47 reflect.Value.Call() /usr/lib/go/src/reflect/value.go:302 +0xc0 github.com/mattn/go-gtk/glib._go_glib_sourcefunc() /data/.go/workspace/src/github.com/mattn/go-gtk/glib/glib.go:1019 +0x1af github.com/mattn/go-gtk/glib._cgoexpwrap_fe5c68f3714d__go_glib_sourcefunc() github.com/mattn/go-gtk/glib/_obj/_cgo_gotypes.go:1845 +0x38 runtime.call32() /usr/lib/go/src/runtime/asm_amd64.s:514 +0x47 github.com/mattn/go-gtk/gtk.Main() /data/.go/workspace/src/github.com/mattn/go-gtk/gtk/gtk.go:261 +0x2f github.com/pztrn/urtrator/ui/gtk2.(*MainWindow).Initialize() /data/.go/workspace/src/github.com/pztrn/urtrator/ui/gtk2/mainwindow_init.go:179 +0x1b2d main.main() /data/.go/workspace/src/github.com/pztrn/urtrator/urtrator.go:33 +0x294 Goroutine 73 (running) created at: github.com/pztrn/urtrator/timer.(*Timer).Initialize.func1() /data/.go/workspace/src/github.com/pztrn/urtrator/timer/timer.go:96 +0xca ```
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: apps/urtrator#35
No description provided.