Wary/Racy 5.3RC2 (5.2.91)

Please post any bugs you have found
Message
Author
npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

Busybox less function has some serious bugs.

#141 Post by npierce »

This is not a Puppy-specific bug, except in the sense that Puppy is using an upstream application that is buggy.

I have reported these bugs to Denys Vlasenko who maintains Busybox. But I thought that I should also report them here so that folks will be aware of the problem and don't make the mistake of assuming that the less function of Busybox provides correct information.

Here is an excerpt from my bug report to Denys Vlasenko:
Here are 3 bugs that I've found with the less function of BusyBox v1.19.3:


---------- Bug A ----------

busybox less splits long lines into multiple lines. This creates the
following problems:

1. The line numbers reported on the status line by the = command and the
-M option are incorrect beyond the first split line.

2. Search will not find words that have been split.


---------- Bug B ----------

The busybox less function does not reset the start position of search when
user moves or jumps to another place in the file.

The real less utility allows the user to move or jump to any place in the
file and continue searching from there with the n command. For instance,
a user who is midway through a file may begin searching for a word, find
matches (if any) in the remaining lines, then press p to jump to the
beginning of the file and continue to use the n command to find matches
(if any) in the first part of the file. Thus the user can effectively
wrap-around the search.

This is not possible with busybox less. Once the last match in the file
has been found, no others may be found until the user starts a new search
or searches backwards. So a user who is midway through a file can find
matches (if any) in the remaining lines, but to then find matches (if any)
at the beginning of the file she must either use SHIFT-N to back-up
through all the previously found matches and continue searching backward
to the start of the file, or she must move to the beginning of the file
and type the search pattern again.


---------- Bug C ----------

When used with the -S option, busybox less chops long lines, but neither
RightArrow nor ESC-) scrolls horizontally to allow reading the whole line.

---------------------------
I didn't do any serious testing of the less function. This is just stuff that I tripped over. So it may well have other bugs.

(While looking to see if this had been reported before, I came across a post from someone who had a different problem with Busybox less: [Wary 030] BusyBox less fails in ipython)

For my own use, I simply copied the real less from my tried-and-true Puppy 4.3.1. I see that the real less is also in the pet_packages-wary5 repository.

But if one is unaware of the problem, and so has not yet installed the real less, there can be a fair bit of frustration before one realizes what is happening: hunting for strings that Busybox less claims not to exist, or finding line 1234 in Busybox less then seeing a different line 1234 when the file is loaded into an editor.

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

Re: 5.2.90

#142 Post by broomdodger »

sszindian wrote:Racy-5.2.90
Noticed that this new version has slipped back to default of Seamonkey 2.5 from previous Racy version where it was 2.6
I am running racy5290 and it has SeaMonkey 2.6.1

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: Multiple-Sound-Card-Wizard can create bad asound.conf

#143 Post by BarryK »

npierce wrote:If Multiple-Sound-Card-Wizard doesn't find any sound card, it will create a corrupt /etc/asound.conf file if user clicks "OK".

Of course, if it cannot find any sound cards, there is a worse problem somewhere else, so the corrupt asound.conf file doesn't seem as bad by comparison. If the user could fix the initial problem so that a sound card could be found, then run Multiple-Sound-Card-Wizard again to get a good asound.conf file, life would be good.

Unfortunately, Multiple-Sound-Card-Wizard is confused by the bad asound.conf file it created and will not find any sound cards until the bad file is fixed or deleted.

And while asound.conf is bad, aplay, alsamixer, and probably other stuff will fail. So even if the user has fixed the initial problem and perhaps even rebooted, she still will have no sound.

The bad asound.conf file created by Multiple-Sound-Card-Wizard looks like this:

Code: Select all

defaults.pcm.card 
defaults.pcm.device 
Note that the number at the end of each line is missing, so the next time you run Multiple-Sound-Card-Wizard the first line of the error message will to be:

Code: Select all

ALSA lib conf.c:976:(parse_value) card is not a string
(The line number (976 in the example) will be different for different versions of the ALSA library.)
That error message actually comes from aplay -l, which Multiple-Sound-Card-Wizard calls upon to get its list of sound cards.

alsamixer.bin gives the same error message, but the alsamixer wrapper script gives this error:

Code: Select all

alsamixer.bin: option requires an argument -- 'c'
since it could not find the card number in the /etc/asound.conf file.

Of course, most users probably just run Multiple-Sound-Card-Wizard from the menu, and won't see any error messages unless they look at the /etc/xerrs.log file. Users who run Multiple-Sound-Card-Wizard from within alsawizard will never see any error messages, since that script sends them off to /dev/null.

The proposed fix simply places a message in the list window stating that the utility was unable to find any sound card, and it removes the "OK" button from the dialog. No asound.conf file is created or overwritten when the user clicks "Cancel".

There is also a small change to keep /tmp/mscw.tmp from growing each time the utility is used.

The attached patch is based on the current PET at:
http://distro.ibiblio.org/quirky/pet_pa ... mscw-1.pet
Thanks for the improvement to the Wizard. I have uploaded the PET (1.5KB):
http://distro.ibiblio.org/quirky/pet_pa ... mscw-2.pet

Note, all architecture-independent PETs now live in the pet_packages-noarch folder.

There are some still in pet_packages-common, for historical reasons. Eventually I will clean that folder up, remove all architecture-independent PETs.

Note: "architecture independent" means PET has no binary executables.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#144 Post by BarryK »

James C wrote:One small aggravation ......the Video Upgrade Wizard reports Wary not being connected to the internet, from the screenshot there obviously is an internet connection.Note this forum in the background.
That is strange. This is the relevant code:

Code: Select all

 ping -c 1 www.google.com
 if [ $? -ne 0 ];then
  INSERT0="<text use-markup="true"><label>"<b>`gettext "Currently not connected to the Internet. If you wish to connect later, you can run this Video Upgrade Wizard again via the 'setup' icon on the desktop or the 'Setup' category in the menu. Note, to connect to the Internet, click 'connect' icon on left of desktop."`</b>"</label></text>"
 fi

Can you do this in a terminal:

# ping -c 1 www.google.com
# echo $?
[url]https://bkhome.org/news/[/url]

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#145 Post by James C »

BarryK wrote:
James C wrote:One small aggravation ......the Video Upgrade Wizard reports Wary not being connected to the internet, from the screenshot there obviously is an internet connection.Note this forum in the background.
That is strange. This is the relevant code:

Code: Select all

 ping -c 1 www.google.com
 if [ $? -ne 0 ];then
  INSERT0="<text use-markup="true"><label>"<b>`gettext "Currently not connected to the Internet. If you wish to connect later, you can run this Video Upgrade Wizard again via the 'setup' icon on the desktop or the 'Setup' category in the menu. Note, to connect to the Internet, click 'connect' icon on left of desktop."`</b>"</label></text>"
 fi

Can you do this in a terminal:

# ping -c 1 www.google.com
# echo $?

In terminal.....

Code: Select all

# ping -c 1 www.google.com
ping: bad address 'www.google.com'
# echo $?
1
# 
May be related or not, in pemasu's latest Exprimo release I've been experiencing wget problems.
http://www.murga-linux.com/puppy/viewto ... 599#613599

EDIT:

Just tried to use wget to download Flash (as attempted in the linked Exprimo thread) and it fails in Wary as well.

Code: Select all

# wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
--2012-03-23 21:25:35--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address `fpdownload.macromedia.com'
# 
Last edited by James C on Sat 24 Mar 2012, 02:28, edited 1 time in total.

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#146 Post by James C »

Running video_upgrade-wizard from the terminal....
Attachments
video_upgrade_wizard.png
(30.9 KiB) Downloaded 1176 times

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#147 Post by pemasu »

James C.

http://serverfault.com/questions/76421/ ... solve-host

Shooting to the dark, but could that trick help:
Basically, the /etc/nsswitch.conf file needed the host line reconfigured to:
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#148 Post by linuxcbon »

- miracle this racy doesn't need acpi=off to boot (more or less working...).
- searching for puppy savefiles, takes long
- loading kernel modules takes long
- glxgears is still bad at 480 FPS


- 4 dmesg bottlenecks ?

[ 6.460448] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 16.446178] unionfs: new lower inode mtime (bindex=0, name=gtk-2.0)

[ 16.787173] ACPI: Power Button [PWRF]
[ 30.670484] unionfs: new lower inode mtime (bindex=0, name=input)

[ 34.791839] usbcore: registered new interface driver snd-usb-audio
[ 42.622341] firewire_core: created device fw0: GUID 00405ed00000041d, S400

[ 50.011570] unionfs: new lower inode mtime (bindex=0, name=cups)
[ 156.781531] unionfs: new lower inode mtime (bindex=0, name=rc.d)

User avatar
FeodorF
Posts: 293
Joined: Wed 07 Jul 2010, 09:44
Location: Heidelberg, Germany

Wary/Racy 5.3RC (5.2.90)

#149 Post by FeodorF »

There is a broken symbolic link in ../puppy-reference/pixmaps.

ktsuss.png links to ../lib/X11/pixmaps/lock48.png but the name of the target file has changed to ../lib/X11/pixmaps/lock-screen48.png

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#150 Post by James C »

pemasu wrote:James C.

http://serverfault.com/questions/76421/ ... solve-host

Shooting to the dark, but could that trick help:
Basically, the /etc/nsswitch.conf file needed the host line reconfigured to:
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
Thanks for the idea but no change.I'll check out the rest of the link for possible ideas.

Code: Select all

passwd:		db files
group:		db files
shadow:		db files

hosts:      files dns mdns4_minimal [NOTFOUND=return] mdns4
networks:	files dns

protocols:	db files
services:	db files
ethers:		db files
rpc:		db files

netgroup:	db files

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#151 Post by James C »

Following that link I can successfully ping the nameserver in /etc/resolv.conf .

# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254): 56 data bytes
64 bytes from 192.168.1.254: seq=0 ttl=255 time=0.377 ms
64 bytes from 192.168.1.254: seq=1 ttl=255 time=0.374 ms
64 bytes from 192.168.1.254: seq=2 ttl=255 time=0.988 ms
64 bytes from 192.168.1.254: seq=3 ttl=255 time=0.375 ms
64 bytes from 192.168.1.254: seq=4 ttl=255 time=0.386 ms
64 bytes from 192.168.1.254: seq=5 ttl=255 time=0.278 ms

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#152 Post by James C »

For whatever it's worth, no such problems in several different Lucid installs, the latest Slacko or Ttuuxxx's 432 which I'm posting from.Just used wget to download Flash.

Code: Select all

# wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz 
--17:41:30--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.63/install_flash_player_11_linux.i386.tar.gz
           => `install_flash_player_11_linux.i386.tar.gz'
Resolving fpdownload.macromedia.com... 23.1.210.70
Connecting to fpdownload.macromedia.com|23.1.210.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6,746,733 (6.4M) [application/x-gzip]

100%[====================================>] 6,746,733    158.18K/s    ETA 00:00

17:42:13 (157.10 KB/s) - `install_flash_player_11_linux.i386.tar.gz' saved [6746733/6746733]

# 
This problem is occurring in Wary,Exprimo and Saluki though.I'll admit that I'm stumped at the moment. :)

EDIT:

No problems in the Slacko 531 (2.6.37.6) and Three_Headed_Dog either.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ownership messing up by the flashplayer

#153 Post by shinobar »

Maybe depends on the flashplayer version,
the ownership under /usr is messing up after the flashplayer downloaded.

Code: Select all

# ls -l /usr
total 0
drwxrwxr-x 1  501 guest  60 2012-03-18 09:27 bin
drwxr-xr-x 1 root root    3 2010-09-21 00:21 doc
drwxr-xr-x 1 root root    3 2012-03-18 09:25 etc
drwxr-xr-x 1 root root    3 2012-03-18 08:20 games
drwxr-xr-x 1 root root   29 2011-09-08 13:36 include
drwxrwxr-x 1  501 guest 100 2012-03-18 09:27 lib
drwxr-xr-x 1 root root  115 2011-05-04 10:11 libexec
drwxr-xr-x 1 root root  446 2005-02-05 23:47 local
drwxr-xr-x 1 root root   60 2012-03-18 09:27 sbin
drwxrwxr-x 1  501 guest 180 2012-03-18 09:26 share
lrwxrwxrwx 1 root root    5 2012-03-18 09:23 X11 -> X11R7
lrwxrwxrwx 1 root root    5 2012-03-18 09:23 X11R6 -> X11R7
drwxr-xr-x 1 root root   73 2011-03-26 08:44 X11R7
I had need to 'chown root.root -R /initrd/pup_rw/usr' to repair (also need to reboot).

@Barry
The /usr/sbin/delayedrun are better to be modified:

Code: Select all

# diff delayedrun.org delayedrun
257c257
<       tar -zxf $download_name #111117 install_flash_player_10_linux.tar.gz
---
>       tar --no-same-owner -zxf $download_name #111117 install_flash_player_10_linux.tar.gz
261c261
<         cp -a -f usr/* /usr/
---
>         cp -rf usr/* /usr/
Or, use the getflash-0.9.
http://www.murga-linux.com/puppy/viewtopic.php?t=74491
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
FeodorF
Posts: 293
Joined: Wed 07 Jul 2010, 09:44
Location: Heidelberg, Germany

Wary/Racy 5.3RC (5.2.90)

#154 Post by FeodorF »

The InkspaceLite ruler at top looks messed up as soon as you move the mouse cursor from left to right/right to left side of he sheet. The ruler gets filled up with arrow signs. The arrow signs get cleared from the ruler as soon as you scroll up or down. (See picture)

InkspaceLite offers two print buttons. As soon as you try the 'Print...' button you will crash InkspaceLite. If you use the 'Print Direct...' button everything works fine - as well as CUPS-PDF printing. (See picture)

I put some graphic together :lol: and looked at xerrs.log afterwards.
Don't like those error messages. (See pictures)
Attachments
xerrs.log_for_SomePainting.png
(108.62 KiB) Downloaded 603 times
InkspaceLight-PrintingProblem.png
(108.43 KiB) Downloaded 540 times
Last edited by FeodorF on Tue 27 Mar 2012, 03:53, edited 5 times in total.

User avatar
FeodorF
Posts: 293
Joined: Wed 07 Jul 2010, 09:44
Location: Heidelberg, Germany

Wary/Racy 5.3RC (5.2.90)

#155 Post by FeodorF »

As soon as I try to setup the vesa mode for my nvidia MX440 the xorgwizard crashes. (Black screen, cursor at top left position, keyboard locked)

You will have to do a hardware reset. After resetting Xwin will start in vesa mode without any problem.

Remark: Well, the problem doesn't exist with ATI-cards.
Last edited by FeodorF on Sun 25 Mar 2012, 05:59, edited 1 time in total.

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#156 Post by James C »

Manual frugal install on another old slow box.All basics working on initial boot.

repo# report-video
Wary Puppy, version 5.2.90 on Sat 24 Mar 2012

Chip description:
1.0 VGA compatible controller
Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller (rev 03)
oem: Intel810(TM) Graphics Chip Accelerated VGA BIOS

X Server: Xorg
Driver used: intel

X.Org version: 1.3.0
dimensions: 1024x768 pixels (321x241 millimeters)
depth of root window: 16 planes

...the above also recorded in /tmp/root/ as report-video,
and archived with xorg.conf and Xorg.0.log as report-video-full.gz
#
-Computer-
Processor : Celeron (Mendocino)
Memory : 124MB (78MB used)
Operating System : Unknown distribution
User Name : root (root)
Date/Time : Sat 24 Mar 2012 10:43:29 PM CDT
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Mesa DRI i810E 20050821 x86/MMX
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : ICH - Intel 82801AA-ICH
-Input Devices-
Logitech USB-PS/2 Optical Mouse
USB Keyboard
USB Keyboard

-Processor-
Name : Celeron (Mendocino)
Family, model, stepping : 6, 6, 5 (Pentium II/Pentium II Xeon/Celeron)
Vendor : Intel
-Configuration-
Cache Size : 128kb
Frequency : 498.42MHz
BogoMIPS : 996.84
Byte Order : Little Endian

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#157 Post by pemasu »

James C. You pinged your router, I presume. It should respond. :D
More helpful would be to ping some external address in numerical and dns name.
Like 8.8.8.8 and www.google.com

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

Re: ownership messing up by the flashplayer

#158 Post by broomdodger »

shinobar wrote:Maybe depends on the flashplayer version,
the ownership under /usr is messing up after the flashplayer downloaded.
racy5290 frugal - new save file - Flash 11.1 r102
Seems fine here.

Code: Select all

# ls -l /usr
total 5
drwxr-xr-x 1 root root 1024 2012-03-17 17:32 bin
drwxr-xr-x 1 root root   69 2010-09-20 08:22 dietlibc
drwxr-xr-x 1 root root    3 2010-09-20 08:21 doc
drwxr-xr-x 1 root root    3 2012-03-17 17:32 etc
drwxr-xr-x 1 root root    3 2012-03-17 16:20 games
drwxr-xr-x 1 root root   37 2010-09-20 08:15 i486-t2-linux-gnu
drwxr-xr-x 1 root root   29 2012-03-17 17:32 include
drwxr-xr-x 1 root root  209 2012-02-17 03:39 java
drwxr-xr-x 1 root root 1024 2012-03-17 17:32 lib
drwxr-xr-x 1 root root  115 2011-09-08 17:19 libexec
drwxr-xr-x 1 root root 1024 2012-03-18 08:30 local
drwxr-xr-x 1 root root 1024 2012-03-17 17:27 sbin
drwxr-xr-x 1 root root 1024 2012-03-17 17:26 share
lrwxrwxrwx 1 root root    5 2012-03-17 17:32 X11 -> X11R7
lrwxrwxrwx 1 root root    5 2012-03-17 17:23 X11R6 -> X11R7
drwxr-xr-x 1 root root   73 2011-09-10 04:26 X11R7

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: ownership messing up by the flashplayer

#159 Post by shinobar »

broomdodger wrote:
shinobar wrote:Maybe depends on the flashplayer version,
the ownership under /usr is messing up after the flashplayer downloaded.
racy5290 frugal - new save file - Flash 11.1 r102
Seems fine here.
Have you installed the flashplayer as the racy automatically offers?
Or, is it a report using the getflash-0.9?
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#160 Post by James C »

pemasu wrote:James C. You pinged your router, I presume. It should respond. :D
More helpful would be to ping some external address in numerical and dns name.
Like 8.8.8.8 and www.google.com
O.K. :)

Code: Select all

# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=51 time=53.502 ms
64 bytes from 8.8.8.8: seq=1 ttl=51 time=52.910 ms
64 bytes from 8.8.8.8: seq=2 ttl=51 time=52.869 ms
64 bytes from 8.8.8.8: seq=3 ttl=51 time=52.806 ms
64 bytes from 8.8.8.8: seq=4 ttl=51 time=53.239 ms

Code: Select all

# ping www.google.com
ping: bad address 'www.google.com'
# 

Post Reply