Video render works first time only

This topic has been viewed 9084 times and has 14 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
lubimaer
Posts: 10
Joined: Sat Mar 09, 2024 2:36 am
Country: Canada

Video render works first time only

Post by lubimaer »

Hi Folks,

I'm pretty new to this forum so please bare with me if this is not the proper way to report this behaviour

I have installed SH3D v7.2
OpenJDK v 11.1.18 - 64bit - 2GB
Java3D v1.6.2a
VideoRendering v2.4.1

Everything seems to work fine so far
The only exception is the video rendering that only works the first time after loading the app
Any further tentative to click on the "create" button in the "video rendering" window generates no results
No crash, just no action

I couldn't find anything similar in this forum or in the bugs repository

Any idea what should I try?

Thanks,
Marco
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Video render works first time only

Post by hansmex »

Did you install the 64 bit or the 32 bit version of SH3D?

H
Hans

new website - under constuction
hansdirkse.info
User avatar
lubimaer
Posts: 10
Joined: Sat Mar 09, 2024 2:36 am
Country: Canada

Re: Video render works first time only

Post by lubimaer »

Good question
Downloading for windows automatically redirected me to an installer that I assumed it was 64bit

But if I run SysInternal command from Microsoft it looks like the app is 32bit

Here's SysInternal output

C:\Program Files\Sweet Home 3D>\Users\cqvw46\Desktop\download2\sigcheck.exe SweetHome3D.exe

Sigcheck v2.90 - File version and signature viewer
Copyright (C) 2004-2022 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Program Files\Sweet Home 3D\SweetHome3D.exe:
Verified: Signed
Signing date: 5:35 AM 9/22/2023
Publisher: PUYBARET EMMANUEL
Company: eTeks
Description: Sweet Home 3D
Product: Sweet Home 3D
Prod version: 7.2
File version: 7.2
MachineType: 32-bit


BUT
Task Manager is telling me I'm running SH3D using:
Zulu Platform x64 Architecture

So the answer is: My machine is 64bit but I'm not sure what I'm running

Marco
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Video render works first time only

Post by hansmex »

When installing, there's a screen that asks whether you want the 64 or 32 bit version. Please, reinstall and check...

H
Hans

new website - under constuction
hansdirkse.info
User avatar
lubimaer
Posts: 10
Joined: Sat Mar 09, 2024 2:36 am
Country: Canada

Re: Video render works first time only

Post by lubimaer »

Hi Hans,

Thanks for the feedback

I have uninstalled SH3D and reinstalled selecting 64bit:
Nothing changed.

Is it possible to check logs for any error message?

Thanks
Marco
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Video render works first time only

Post by Puybaret »

How large is your SH3D file?
Can you check in About dialog how much memory is used by the Sweet Home 3D before and after you render a video (the numbers cited after "64 bit")?
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
lubimaer
Posts: 10
Joined: Sat Mar 09, 2024 2:36 am
Country: Canada

Re: Video render works first time only

Post by lubimaer »

Before = 0.1/2.8G
After = 0.1/2.8G

It happens with any file
I've also created a very simple scene with just a chair
Video works the first time but stops working after that

Workaround is to close SH3D and restart

Marco
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Video render works first time only

Post by Puybaret »

Thanks for the information. This doesn’t look like a memory shortage issue.
Please run Sweet Home 3D from the command line with a command like:

Code: Select all

"C:\Program files\Sweet Home 3D\SweetHome3D.exe" 2>log.txt
and post here what the text of log.txt when you try to render a video a second time.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
lubimaer
Posts: 10
Joined: Sat Mar 09, 2024 2:36 am
Country: Canada

Re: Video render works first time only

Post by lubimaer »

Hi Emmanuel,

Please find here the trace when starting the app

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/C:/Program%20Files/Sweet%20Home%203D/lib/java3d-1.6/j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Running a second time the video rendering adds the following

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.base/java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:870)
at java.base/java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:487)
at java.base/java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:413)
at java.base/java.util.ComparableTimSort.sort(ComparableTimSort.java:213)
at java.base/java.util.Arrays.sort(Arrays.java:1249)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:313)
at java.desktop/sun.awt.shell.ShellFolder.get(ShellFolder.java:259)
at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$DirectoryComboBoxModel.addItem(WindowsFileChooserUI.java:1087)
at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI.doDirectoryChanged(WindowsFileChooserUI.java:741)
at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$11.propertyChange(WindowsFileChooserUI.java:832)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
at java.desktop/java.awt.Component.firePropertyChange(Component.java:8731)
at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:608)
at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:362)
at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:308)
at com.eteks.sweethome3d.swing.FileContentManager$DirectoryChooser.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.FileContentManager.showFileChooser(Unknown Source)
at com.eteks.sweethome3d.swing.FileContentManager.showSaveDialog(Unknown Source)
at sh3dPlugin.AdvancedVideoPanel.startVideoCreation(AdvancedVideoPanel.java:1851)
at sh3dPlugin.AdvancedVideoPanel.access$11(AdvancedVideoPanel.java:1844)
at sh3dPlugin.AdvancedVideoPanel$10.actionPerformed(AdvancedVideoPanel.java:367)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

Re: Video render works first time only

Post by sjb007 »

Check the last couple of pages of the 7.2 release thread here in the forums. It looks like you have hit the same error as snmavronis.

Perhaps Emmanuel could send you his 7.3 beta to test too.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest