You are here

Linux

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

Forums: 
SmallBASIC implementations: 

Consider the difference between the following two tasks:

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

Forums: 
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/gelly.de.pcf", O_RDONLY) = 5
  fcntl64(5, F_SETFD, FD_CLOEXEC) = 0

Background font scanning using 100% CPU

Forums: 
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

Forums: 
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. :-)

Pages

Subscribe to RSS - Linux