Welcome, Guest. Please login or register.

Author Topic: Pagestream4 Crash and MuForce Hit in 3.1.4  (Read 2660 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline my_pc_is_amigaTopic starter

Pagestream4 Crash and MuForce Hit in 3.1.4
« on: November 10, 2019, 12:24:34 AM »
I'm attaching a MuForce hit.  In Pagestream, I do a copy of a large object (group that includes text and graphics).  The Clipboard shows 542,270 bytes of data.   Copy goes okay.  When I do a Paste in Pagestream I get the hit.   If anybody knows any workaround or what the issue could be from the log, please let me know.  I'll probably try with an increase in the stack.  Would be nice to see Pagestream development come back to life again ...

I don't know if this 3.1.4 specific or not.
 

Offline Pyromania

  • Sent from my Quantum Computer
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 1820
  • Country: 00
  • Thanked: 6 times
    • Show only replies by Pyromania
    • http://www.discreetfx.com
Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #1 on: November 10, 2019, 10:23:42 AM »
It would be nice to see Pagestream development come back again. Hope springs eternal, it was such a great DTP package for many years.
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #2 on: November 11, 2019, 06:25:21 AM »
I loaded up OS3.9 env. and then did the same copy/paste operation in Pagestream and the paste went through -- no hang.   

I'll have to see if I can use a Loadmodule in 3.1.4 of the older clipboard.device to see if any issue.   
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #3 on: November 11, 2019, 06:42:24 AM »
Oops … forgot clipboard.device is on disk.  Anyways, I tired it with v38.8 in 3.1.4 and it worked!   
« Last Edit: November 11, 2019, 06:47:56 AM by my_pc_is_amiga »
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #4 on: November 12, 2019, 05:33:53 AM »
I now tried clipboard.device in 38.4 in FinalWriter.  This works but with 45.3, it doesn't.

For the FinalWriter case, there is no MuForce hit.   Instead, I get a flashing screen upon pasting.   How to reproduce in FinalWriter:

1) Import Object --> import a large IFF picture (in my case it was a 821k)
2) Do a "Copy"
3) Do a "Paste" --> screen flashes and object does not get pasted.   In 38.4 it does.

For Pagestream, when I do a copy and then paste of a large object, it does give me MuForce / MuGa hit.
 

guest11527

  • Guest
Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #5 on: November 12, 2019, 02:23:10 PM »
Thanks for reporting. I did some research on this. It seems that an arithmetic overflow in the clipboard is responsible for this, so this is likely going to be fixed in the next release.
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #6 on: November 12, 2019, 05:52:31 PM »
Great, thanks!  Any likelihood of a maintenance release before 3.2?  Like a 3.1.4.1.1 (or however it would be called)
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #7 on: November 26, 2019, 04:41:04 AM »
I'm attaching a separate hit that I'm seeing in pagestream.  This hit is coming from loading a pagestream document.   Not sure if size related but have been loading 16MB and 43MB document files (which contain lots of pictures).

And I don't know if OS component or Pagestream causing issue. I'm running in 3.1.4.1 OS env.
 

guest11527

  • Guest
Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #8 on: November 26, 2019, 12:02:30 PM »
I'm attaching a separate hit that I'm seeing in pagestream.  This hit is coming from loading a pagestream document.   Not sure if size related but have been loading 16MB and 43MB document files (which contain lots of pictures).
There is not much to learn here. All I can say is that there is an "off-by-one" error in one of the involved components, though without further information, one cannot say. This is a MuGA hit, BTW.
Please run SegTracker, and enable SegTracker scanning in the involved components (MuForce, MuGA) which would hopefully allow to see where the allocation came from and whose memory it is that is damaged here.
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #9 on: November 27, 2019, 05:55:02 AM »
Thanks for a taking a look.  This is the dump with SegTracker.   

Just to further understand, is it true to assume errors like this could cause memory corruption which the user could see crashes later on but would not know it started here?  I can't tell if error is coming from Pagestream components or the utility 45.2 and so wondering what the severity is if this can't be fixed since Pagestream is not being maintained anymore.
 

guest11527

  • Guest
Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #10 on: November 27, 2019, 08:37:57 AM »
Thanks for a taking a look.  This is the dump with SegTracker.   

Just to further understand, is it true to assume errors like this could cause memory corruption which the user could see crashes later on but would not know it started here?  I can't tell if error is coming from Pagestream components or the utility 45.2 and so wondering what the severity is if this can't be fixed since Pagestream is not being maintained anymore.
At the point the corrupted memory was picked up, no Os components were involved. The utility.library you see in the stack traceback does not allocate memory itself. Unfortunately, at the time the corruption appears, it is too late to say which code caused the corruption, except that it was likely allococated by pagestream and one of its components. This points into the direction of pagestream, but one cannot really say.

The best you can do is to find a way to make it reproducable.
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #11 on: November 27, 2019, 05:07:35 PM »
On this A4000T / 040, when I load the same large files, it is always reproducible.  I can try more files or maybe an A3000  / 030 machine.
 

guest11527

  • Guest
Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #12 on: November 27, 2019, 07:12:40 PM »
On this A4000T / 040, when I load the same large files, it is always reproducible.  I can try more files or maybe an A3000  / 030 machine.

That is not quite what I meant. I mean "without pagestream".
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #13 on: December 04, 2019, 06:30:32 AM »
Thanks -- yes will continue to take a look out if see anything similar.   I have recently been putting back my phase5 060/ppc card and now when I do the same thing, I'm not getting any MuGa hit.

As of now I pulled all fast memory except for the PPC card memory.   

On this A4000T / 040, when I load the same large files, it is always reproducible.  I can try more files or maybe an A3000  / 030 machine.

That is not quite what I meant. I mean "without pagestream".
 

Offline my_pc_is_amigaTopic starter

Re: Pagestream4 Crash and MuForce Hit in 3.1.4
« Reply #14 on: December 05, 2019, 09:43:00 AM »
A few other hits I got in Pagestream and also FinalWriter97 (these don't look like the previous issue).

1) For Pagestream, this happened upon multiple closes of documents and loading of documents.
2) For FW97, I was seeing this after trying to close a window with a large document where I had enabled the pictures (objects) to be loaded.