Opened 8 years ago

Closed 6 years ago

#347 closed defect (nochange)

Lucide release 1.4.0 GA crashes if more than single instance started

Reported by: darcio Owned by: Gregg Young
Priority: major Milestone: 1.4.0
Component: Lucide Core Version: 1.4.0
Keywords: Cc: steve53@…

Description

Attempting to open more than a single instance of Lucide causes a crash.

It does not appear to matter what document is being displayed. I encountered this while attempting to display multiple PDFs, however upon additional testing I can confirm that even when starting just the Lucide program, any other attempts to start a new instance will TRAP.

Attachments (1)

006D_01.TRP (92.5 KB ) - added by darcio 8 years ago.
Lucide Exception Handler dump

Download all attachments as: .zip

Change History (19)

by darcio, 8 years ago

Attachment: 006D_01.TRP added

Lucide Exception Handler dump

comment:1 by darcio, 8 years ago

I also have the OS/2 process dump, much larger file though, so if you guys want/need it let me know how to upload.

comment:2 by abwillis, 8 years ago

Confirmed.

comment:3 by Steven Levine, 8 years ago

Cc: steve53@… added

comment:4 by Steven Levine, 8 years ago

The crash can be avoided by applying BEGINLIBPATHSTRICT=T to the instances. This implies that one or more of the Lucide DLLs was not built with per-process initialization. Since wlink is doing the linking, this will require

FORMAT DLL INITINSTANCE

comment:5 by Steven Levine, 8 years ago

The problem child is Lucide1.dll. It's missing INITINSTANCE and TERMINSTANCE. Patching them on allows multiple instances to co-exist.

comment:6 by Lewis Rosenthal, 8 years ago

Summary: Lucide release 1.4.0 GA crashes if more then single instance startedLucide release 1.4.0 GA crashes if more than single instance started

Thanks, Steve. Mine was working perfectly well until you and I poked at it today with lxlite. Now, this crash is consistent. The same build had at least a half dozen instances running in parallel just yesterday. Go figure. ;-)

comment:7 by Gregg Young, 8 years ago

Owner: set to Gregg Young
Status: newassigned

comment:8 by Gregg Young, 8 years ago

Resolution: fixed
Status: assignedclosed

CS [633]

comment:9 by darcio, 8 years ago

Hey guys!!!

Thrilled to see the ticket flagged as "closed"...but does anyone care to actually ask the guy who reported the issue (me!) to concurr that the issue has been resolved?

I'm sorry, but having been part of corporate IS support organization for over 20 yrs this type of a thing just boggles my mind. Do not get me wrong, I sure appreciate your work...but process is process. Else, if no one actually cares for the "customer" to test anything then why should the "customer" even bother to tell you anything about the problems in the first place?

My hope is that you do not precieve this as an over-reacting, but man, we have such a small community (OS/2) I would expect a lot more closer co-operation.

comment:10 by Gregg Young, 8 years ago

darcio

I don't have a good way to have you test. The dll is too large to attach to the ticket and I don't have a way to send it to you that I am aware of. I was able to reproduce the problem and the fix has eliminated it here. If you wish to test the updated dll tell me where to send it. I greatly appreciate your help in identifying problems and if the problem persists reopen the ticket. This large organization is actually pretty much one developer who is a volunteer. I apologize for closing the ticket but I am use to doing that because normally I opened it.

comment:11 by Lewis Rosenthal, 8 years ago

Resolution: fixed
Status: closedreopened

Reopening, pending confirmation of resolution by OP.

Please download the latest 1.4.0 package from FTP, install, and confirm.

Thanks!

in reply to:  10 comment:12 by darcio, 8 years ago

Replying to gyoung:

darcio

I don't have a good way to have you test. The dll is too large to attach to the ticket and I don't have a way to send it to you that I am aware of.

Sorry about the delay guys...I think you could email to my address, it will handle up to 10Meg : dariusz (at) mnsi (dot) net

Replying to gyoung:

I apologize for closing the ticket but I am use to doing that >because normally I opened it.

No problem, I simply wanted to let you guys know I am VERY much interested in helping to troubleshoot and resolve the issue. I am not at all one of these "complain but do not do any follow-up" type users...maybe a tad late, but I get to it.

in reply to:  11 comment:13 by darcio, 8 years ago

Replying to lewisr:

Reopening, pending confirmation of resolution by OP.

Please download the latest 1.4.0 package from FTP, install, and confirm.

Thanks!

Sorry...I missed your update Lewis before I responded.

Alright, so I pulled the Apr-21st release, filename was same as the old one, no biggie, just making sure I got the right thing.

The results are:

1) multiple Lucide instances start

BUT

2) the 2nd and 3rd and 4th instances complain with the following Error msg "Can't find suitable plugin for specified document!", in this case it's a PDF, even though the 1st instance of Lucide clearly had no such problems and is currently open with a PDF document loaded

Now to debug this, I took a quick peek at what plugins actually show in the 2nd instance, I only found the following listed: ludjvu, whereas the 1st instance still shows: ludjvu, lujpeg and lupplr.

So it almost appears as if there is a problem with the plug-in load?

Please note, I just installed the updated release and did NOT get a chance to re-boot. I will try later on and update the ticket with the results.

comment:14 by Gregg Young, 8 years ago

I don't see the PDF issue here. Also a clean install of 1.4.0 should list ludjvu lugmb and lupplr. If you still have a problem uninstall Lucide including renaming its install directory (if warpin doesn't delete it because it contains stuff not in its database) and then reinstall to the original directory name. If that fixes it we need to figure out what was left over in the original install directory that causes the problem.

Last edited 8 years ago by Gregg Young (previous) (diff)

comment:15 by darcio, 8 years ago

Found it!!!

Alright, so here is the thing. I re-booted, no change. I then un-installed the app, wiped out the directory and re-installed. I then re-booted, still no change, exactly the same behaviour.

I went through the readme to identify the one thing I did not do, which was to install the GBMDLL plug-in. I went ahead and did so...and surprise...all of a sudden stuff works...!!!

So, the only difference is that the RPM package has been installed. Lucide starts up fine, reports all the plug-ins and opens up multiple documents.

Given the above, I can only assume that the 1.4.0 GA somehow relies on GBMDLL plug-in being in place, this behaviour is different from the prior releases as I never had this plug-in installed (I had to install the RPM package this time actually).

comment:16 by Lewis Rosenthal, 8 years ago

The reason I didn't mention anything about GBM before (this one has bitten me, too; the old GBM.DLL should rightfully be removed from LIBPATH, but it's even there in ArcaOS, something I've been meaning to address) is that you mentioned that you couldn;t open a PDF. The outdated GBM module should have no bearing on this.

Lucide has no dependency upon GBM or the GBM plugin being loaded in order to read PDFs. GBM is not a prerequisite for Poppler, so I have no idea what the correlation between the two may have been.

Nevertheless, I guess we can close this, now?

in reply to:  16 comment:17 by darcio, 8 years ago

Replying to lewisr:

...the old GBM.DLL should rightfully be removed from LIBPATH, but it's even there in ArcaOS, something I've been meaning to address) is that you mentioned that you couldn;t open a PDF. The outdated GBM module should have no bearing on this.

Right, there exists an entry in the MMOS2 tree for this DLL:

Directory of G:\mmos2\DLL

6-15-02 5:06p 279468 316 gbm.dll

...however, I have no idea how it got there, other than a suspicion that I must have installed it as part of a previous update (does not show up in Warpin, so maybe a ZIP file install?)

Replying to lewisr:

Nevertheless, I guess we can close this, now?

Yes, I completely agree. My Lucide install is now working correctly, all plug-ins are visible and multiple Lucide instances are created. What was needed was the install of the GBMDLL RPM package, as per the readme.

My only suggestion would be to perhaps change the readme wording so that it does not appear that GBMDLL is an optional package, in my case it clearly was not.

Thank you again for reviewing this issue and troubleshooting!!!

comment:18 by Gregg Young, 6 years ago

Resolution: nochange
Status: reopenedclosed

The new GMB will be installed by default in ArcaOS going forward. I am closing no change needed

Note: See TracTickets for help on using tickets.