BCI2000Viewer interacting with interface causes segfault

Forum for software developers to discuss BCI2000 software development
Locked
trevora
Posts: 10
Joined: 29 Apr 2014, 20:13

BCI2000Viewer interacting with interface causes segfault

Post by trevora » 29 Apr 2014, 21:45

my environment:
- Linux kernel 3.8.0-35 generic
- Ubuntu 12.10 'quantal'
- amd64 architecture

Code: Select all

./tools/BCI2000Viewer/BCI2000Viewer 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 31 (X_GrabKeyboard)
  Resource id:  0x0
Signal caught: SIGSEGV.
Aborting BCI2000Viewer
The above error occurs when trying to enable a state label in the viewer. A similar error occurs when clicking Zoom Out at the initial view:

Code: Select all

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 31 (X_GrabKeyboard)
  Resource id:  0x0
BCI2000Viewer: malloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
fish: Job 1, './tools/BCI2000Viewer/BCI2000Viewer ' terminated by signal SIGABRT (Abort)
Zooming and scrolling seem to work otherwise, and channels can also be added and removed. However, that state label issue is really critical.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest