You are here


Segmentation fault on editor font size change unless program has been run

SmallBASIC implementations: 

Consider the difference between the following two tasks:

Font indexer segmentation fault if open() returns EACESS (not actually major)

SmallBASIC implementations: 

  open("/250gb/usr/share/fonts/artwiz-fonts/gelly.pcf", O_RDONLY) = 5
  fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
  fstat64(5, {st_mode=S_IFREG|0644, st_size=5768, ...}) = 0
  mmap2(NULL, 5768, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb6b3e000
  close(5) = 0
  munmap(0xb6b47000, 30760) = 0
  open("/250gb/usr/share/fonts/artwiz-fonts/", O_RDONLY) = 5
  fcntl64(5, F_SETFD, FD_CLOEXEC) = 0

Background font scanning using 100% CPU

SmallBASIC implementations: 

Hi everyone :)

I recently discovered SmallBASIC, and last night I downloaded and compiled it (on Linux, using FLTK)... only to discover, after firing it up, that it was using 100% CPU with just a blank editor window open.

"Huh. Hopefully I can fix that tomorrow, SmallBASIC looks pretty cool..."

Well, I ran it through strace today, to discover it was chowing its way through my font directories. ("...?!")

After further poking it with gdb I found that this was actually... part of the design.

Oh. That's kind've a problem.

uexplained Stack: IF(line nmber) error at compilation time

SmallBASIC implementations: 

Hi everyone,

I had an old Smallbasic program, initally written under Powerbasic, then adapted to Smallbasic under Windows in 2005, and that now needs to be re-activated under Ubuntu Linux.
Apart from some minor changes in syntax, things seemed to work well, until during the debugging Smallbasic started
complaining at the time of compilation with an error of the kind "Stack: IF(line number)" that I can't find the reason for.

Close active tab

SmallBASIC implementations: 

I'm using the FLTK version on Xubuntu 12.04. Ctrl+F4 is supposed to close the active tab but it doesn't work.

Great little language and IDE, btw. :-)


Subscribe to RSS - Linux