Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
14 crawler(s) on-line.
 152 guest(s) on-line.
 2 member(s) on-line.


 kolla,  OlafS25

You are an anonymous user.
Register Now!
 kolla:  17 secs ago
 OlafS25:  1 min ago
 pixie:  5 mins ago
 BigD:  17 mins ago
 CosmosUnivers:  1 hr 30 mins ago
 Musashi5150:  1 hr 59 mins ago
 AmigaPapst:  1 hr 59 mins ago
 RobertB:  2 hrs 5 mins ago
 jPV:  2 hrs 19 mins ago
 ppcamiga1:  2 hrs 25 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  LHA 2.12 bug (and xad issue, pg.2)
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )
PosterThread
whose 
Re: LHA 2.14 underscore bug
Posted on 4-Jan-2011 23:08:21
#61 ]
Cult Member
Joined: 21-Jun-2005
Posts: 893
From: Germany

@Xenic

Should work, nonetheless. I tried with lha (2.12) on 68k. Maybe there is some glitch in lha, I have no time yet to run 2.15 using Enforcer.

In the worst case broadblue´s line would be recursive archiving, but as it works well on 68k, lha is apparently recursive trap proof.

Last edited by whose on 04-Jan-2011 at 11:14 PM.
Last edited by whose on 04-Jan-2011 at 11:12 PM.
Last edited by whose on 04-Jan-2011 at 11:11 PM.

 Status: Offline
Profile     Report this post  
MichaelMerkel 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 12:36:32
#62 ]
Cult Member
Joined: 9-Mar-2003
Posts: 819
From: Ilvesheim, Germany

@ChrisH

the file linked in that thread crashed the new xad archiver.
the file has been updated in the meantime - i don't know if it still crashes it.

thanks and regards
michael

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 15:19:42
#63 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

@broadblues

Quote:
Using your patch I get a ISI if open an test archive in RAM: created with the new lha

I have this same problem.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 17:51:04
#64 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@MichaelMerkel

Tried it with the one at the top of that thread and it works here. You don't happen to know which iBatch beta archive had the problem do you?

I dismissed this as a non-issue since only Andy had reported it and failed to reproduce it later.

I'd be interested to know if similar problems are happening under MorphOS (with the new LhA client internally).

Chris

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
kas1e 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 17:54:46
#65 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3549
From: Russia

@Chris_Y
But tompeli have the same crash as well as i can read.

@Tompely
Maybe you can reproduce such crash, and send crash-log to cris_y ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
raumfahre 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 18:23:32
#66 ]
Regular Member
Joined: 7-Jan-2005
Posts: 330
From: England

@kas1e
It crashes on my AmigaONE XE/G4

@Chris_Y
I've sent you the crashlog via PM.

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 18:46:05
#67 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@raumfahre

Crashlog seems to be the same as Andy's:

lha_external.c:534

Can't see anything particulary wrong which would be causing it, probably just stack space.

If you download again, you will get a version compiled with optimisations on - see if that makes any difference.

Otherwise check Prefs/DOS and up the process stack size (mine's 64K). If that doesn't help it may not be stack, in which case I'm at a loss as to what to suggest.

It's not my code, so I haven't extensively studied what it is doing, and I haven't been able to reproduce it here yet which makes debugging virtually impossible.

Chris

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 19:22:20
#68 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

@Chris_Y

If I pack anything with -H1 or -H2 (or without -H with this new version of Lha) then UnArc crashes. Stack pointer is inside boundaries and red zone is not touched. I tried with normal stack size and 1000000 stack size. I tried with max settings in DOS prefs. No difference. Then if I pack the same content with -H0 then UnArc works fine. Crash is ISI in null address.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
MichaelMerkel 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 19:25:16
#69 ]
Cult Member
Joined: 9-Mar-2003
Posts: 819
From: Ilvesheim, Germany

@Chris_Y

Quote:

Chris_Y wrote:
@MichaelMerkel

Tried it with the one at the top of that thread and it works here. You don't happen to know which iBatch beta archive had the problem do you?


i think it was the "a-beta" archive. currently only the "b-beta" is available... tried b-beta and had no problems.
unfortunately i don't have the a-beta any more

regards...

_________________
Michael Merkel
(Michael.Merkel@gmx.net Home)
Member of Amiga-Freunde Pfalz, OS4 Welt

 Status: Offline
Profile     Report this post  
broadblues 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 19:45:15
#70 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Tomppeli

I just tried again and got another crash, so it looks to be slightly random ...

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
broadblues 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 19:50:31
#71 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@broadblues

and again very similar crash log, my isi is not on zero address though.


Crash log for task "sys:utilities/UnArc"
Generated by GrimReaper 53.2
Crash occured in module at address 0x94744BD4
Type of crash: ISI (Instruction Storage Interrupt) exception

Register dump:
GPR (General Purpose Registers):
0: 00000000 5343E520 00000000 5883E610 5343E468 FFFFFFFF 021C801C 00000000
8: A4FAA960 545FBC58 021BD806 3E259DBA 28044042 54470000 54470000 54470000
16: 54470000 53C93BF8 54470000 54470000 53BDB498 5343EBD0 00000000 5446E740
24: 5446E540 5343E8B8 584DEA5C 536C3708 58836610 6FD1C070 00000000 5343E520


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 0 -5.48615e+303 0
4: 0 575.8 30.8 7.38464e-315
8: 3.39522e-313 2.78132e-309 2.64619e-260 0
12: 7.29112e-304 3.39522e-313 0 0
16: 0 0 0 0
20: 0 0 0 0
24: 255 2.14748e+09 1.52588e-05 4.5036e+15
28: 65536 4.5036e+15 0 0

FPSCR (Floating Point Status and Control Register): 0x82004000


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x28044082
Instruction Pointer (ip) : 0x94744BD4
Xtended Exception (xer) : 0x00000008
Count (ctr) : 0x94744BD7
Link (lr) : 0x6FD1B570
DSI Status (dsisr) : 0x00000000
Data Address (dar) : 0x5883E6A0



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 021BD806 536C3708 00000000 00000000 00000000 00000000 00000000 5343E5C0
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x94744BD4 belongs to module "" (HUNK/Kickstart)

Stack trace:

LhA:LhA_GetInfo()+0xB0C (section 1 @ 0x2b5c)
module LIBS:xadmaster.library at 0x6FD2C5A8 (section 5 @ 0x9588)
module LIBS:xadmaster.library at 0x6FD23128 (section 5 @ 0x108)
module sys:utilities/UnArc at 0x6EF55744 (section 5 @ 0x3724)
module sys:utilities/UnArc at 0x6EF57D34 (section 5 @ 0x5D14)
UnArc:_start()+0xC08 (section 1 @ 0xe44)
native kernel module dos.library.kmod+0x0001c210
native kernel module kernel+0x00036290
native kernel module kernel+0x00036310


PPC disassembly:
94744bcc: XXXXXXXX illegal address
94744bd0: XXXXXXXX illegal address
94744bd4: XXXXXXXX illegal address
94744bd8: XXXXXXXX illegal address
94744bdc: XXXXXXXX illegal address

System information:

CPU
Model: AMCC PPC440EP V1.3
CPU speed: 733 MHz
FSB speed: 146 MHz
Extensions:

Machine
Machine name: Sam440EP
Memory: 1048576 KB
Extensions: bus.pci


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 19:53:01
#72 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

@broadblues

I can reproduce it every time. Last line in stack trace is actually an empty line. Usually previous line is Lha_GetInfo but last time it was Lha.

Last edited by Tomppeli on 05-Jan-2011 at 07:53 PM.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LHA 2.14 underscore bug
Posted on 5-Jan-2011 21:26:47
#73 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@Tomppeli

Weird....

Either there is still a bug in the XAD LhA client, or one of the changes I've made or the compiler I've used has introduced a problem.

Until I can reproduce it, I can't do much more, sorry

Source code is in the new archive though.

Chris

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
broadblues 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 0:58:09
#74 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Chris_Y

Can't unpack that archive because UnArc crashes.....

okay probably I can use lha to do it, but that means Chris you have a test archive that should cause the crash.

What system are you running?

Same question to Tompeli



_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
broadblues 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 1:09:15
#75 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Chris_Y

Hmm you using clib2 does the rest of xad?, why that particular choice of library? Might be irrelavent ofcourse

I'll see if I can get the thing to build here, looks like I need to check out the rest of xad first....[quote]
broadblues wrote:

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
broadblues 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 1:33:21
#76 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@CHris_Y

Okay I'm confused, where abouts in the source tree do you place the sousrce in you archive, in order to get it to build with your lha_compile script?

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 8:25:29
#77 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@broadblues

portable/clients

I used clib2 because it's easier

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
raumfahre 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 10:19:11
#78 ]
Regular Member
Joined: 7-Jan-2005
Posts: 330
From: England

@Chris_Y

The process stack was set at 64K.
I've downloaded xad_lha.lha again and replaced in libs/xad and UnArc no longer crashes!

Last edited by raumfahre on 06-Jan-2011 at 10:19 AM.

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 17:32:09
#79 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

@Chris_Y

Quote:
If you download again, you will get a version compiled with optimisations on - see if that makes any difference.

I downloaded it again now and UnArc works without crashes now. It looks like different optimisations made difference.

_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LHA 2.14 underscore bug
Posted on 6-Jan-2011 20:00:26
#80 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

Yay! Simple as that, then!

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle