Possible bug:
When I use the red X button in the top right corner to close the program, the next time I start it, it will present me with a blank screen and I have to close it again by using the quit button in the file menu. After that it says there was a fatal error and asks me to restore settings. Then I can use it again.
This happens each time when I close the program when using the red X.
Blank screen after closing hy using red X top right corner
-
- Posts: 212
- Joined: Fri May 09, 2014 2:43 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- motherboard: ASUS P8 Z68
- processor: Intel i7 2600
- ram: 16GB
- Video Card: nVidia 450
- sound_card: onboard
- Hard_Drive_Capacity: 14 TB
- Monitor/Display Make & Model: Dell U2713H & Spider4
- Corel programs: ASP3
- Contact:
Re: Blank screen after closing hy using red X top right corn
It works fine for me (Kubuntu 14.04, nvidia driver, 64 bit), but just in case it helps, if you run the app in the command line, once you click the red cross, you should see something like:
1778.938: Unlocking catalog: "/home/username/.AfterShotPro/cache"
1778.946: Early Cleanup
1778.946: delete globals
1778.946: delete globals
1778.967: delete mid globals
1778.991: delete done globals
1779.23: delete app
Do you see any error?
If not, but if you install strace, You can also see what could be causing errors by doing:
strace /usr/bin/AfterShotPro2X64
I am assuming you are running the 64bit version here, given it says so under your nick. I do not know what the name is for the 32 bit version, just replace with its real name if so.
That will trace all (hundreds of) the system calls that the application runs, like file accesses that fail etc. Lets hope that sheds some light on the problem.
1778.938: Unlocking catalog: "/home/username/.AfterShotPro/cache"
1778.946: Early Cleanup
1778.946: delete globals
1778.946: delete globals
1778.967: delete mid globals
1778.991: delete done globals
1779.23: delete app
Do you see any error?
If not, but if you install strace, You can also see what could be causing errors by doing:
strace /usr/bin/AfterShotPro2X64
I am assuming you are running the 64bit version here, given it says so under your nick. I do not know what the name is for the 32 bit version, just replace with its real name if so.
That will trace all (hundreds of) the system calls that the application runs, like file accesses that fail etc. Lets hope that sheds some light on the problem.
-
- Moderator
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: Blank screen after closing hy using red X top right corn
That will not work as it does not set up the libraries appropriately.txoni wrote:If not, but if you install strace, You can also see what could be causing errors by doing:
strace /usr/bin/AfterShotPro2X64
strace -ff /usr/bin/AfterShotPro2X64
Should do it.
But it usually is messy..
Adding "-o /tmp/as.log" will generate log files for each of the involved PIDs.
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Re: Blank screen after closing hy using red X top right corn
? It does work for me,and actually it seems to point to the correct libraries as you can see:afx wrote: That will not work as it does not set up the libraries appropriately.
afx
Code: Select all
(...)
open("/opt/AfterShotPro2(64-bit)/lib/libQtGui.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\367\35\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=11707800, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4024b31000
mmap(NULL, 13794632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40202c0000
mprotect(0x7f4020d95000, 2093056, PROT_NONE) = 0
mmap(0x7f4020f94000, 331776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xad4000) = 0x7f4020f94000
mmap(0x7f4020fe5000, 11592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4020fe5000
close(3) = 0
open("/opt/AfterShotPro2(64-bit)/lib/libQtCore.so.4", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\354\7\0\0\0\0\0"..., 832) = 832
(...)
It might be messy but helped me debug AS and other binary apps in the past when logs were not available or meaningful.
-
- Moderator
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: Blank screen after closing hy using red X top right corn
Just because it works for you does not mean it has to work for everyone.txoni wrote:? It does work for me,and actually it seems to point to the correct libraries as you can see:afx wrote:That will not work as it does not set up the libraries appropriately.
afx
Others have reported serious issues with the system Qt libraries when running the binaries directly.
So to me it is a game of chance running them straight without the appropriate environment setup and it might even completely invalidate the test.
On my Ubuntu 14.04 64bit system, the 32bit version will not run at all when called directly (missing libraries) and the 64bit version will crash in the catalog manager.
Pointing the average user to strace has already a high chance of confusing people, doing so without proper setup seems to be counterproductive.
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Re: Blank screen after closing hy using red X top right corn
I never said it was a "copy paste recipe" that works for everyone. Give people a fishing rod and teach how to use it, better than giving a fish 
Anyway, according to the documentation -ff only splits the output by the process that generated it. What is that meant to fix?
He also was able to run the application, so I assume he knew what binary to run, although I guessed 64 bit, given his profile.
The Qt binary issue you point to is common if you run a 32 bit binary on a 64 bit system in ubuntu and other OSes. Used to be common for me, not only in AS1, but also in others like AutoPanoGiga. And that forces setting up a whole duplicate 32 bit system , which messed up with my development libraries. That's why I loved so much that finally Corel released a 64bit version. I bet your issue would vanish if you installed the 64bit binary, but you will not, since you need the plugins, I know
The ideal would be that we would get a decent gdb backtrace, but as that will not be possible, .... BR

Anyway, according to the documentation -ff only splits the output by the process that generated it. What is that meant to fix?
He also was able to run the application, so I assume he knew what binary to run, although I guessed 64 bit, given his profile.
The Qt binary issue you point to is common if you run a 32 bit binary on a 64 bit system in ubuntu and other OSes. Used to be common for me, not only in AS1, but also in others like AutoPanoGiga. And that forces setting up a whole duplicate 32 bit system , which messed up with my development libraries. That's why I loved so much that finally Corel released a 64bit version. I bet your issue would vanish if you installed the 64bit binary, but you will not, since you need the plugins, I know

The ideal would be that we would get a decent gdb backtrace, but as that will not be possible, .... BR
-
- Moderator
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: Blank screen after closing hy using red X top right corn
You need to tell people how to hold the rod as well.txoni wrote:I never said it was a "copy paste recipe" that works for everyone. Give people a fishing rod and teach how to use it, better than giving a fish
If you start the trace on a shell script, then it will only trace the script without -ff, not very useful.Anyway, according to the documentation -ff only splits the output by the process that generated it. What is that meant to fix?
Two different issues..The Qt binary issue you point to is common if you run a 32 bit binary on a 64 bit system in ubuntu and other OSes.
library versions vs. architecture...
I have both installed...I bet your issue would vanish if you installed the 64bit binary, but you will not, since you need the plugins, I know
I don't have issues at all. It works as designed when called properly.
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Re: Blank screen after closing hy using red X top right corn
Sorry, my bad, somehow I believed file reported it was an ELF-64 binary. Possibly I checked on the /opt/... fileafx wrote: If you start the trace on a shell script, then it will only trace the script without -ff, not very useful.
When I said 64 bit "system" I was pointing to a 64 bit library set, not the cpu architecture they run on.afx wrote:Two different issues.. library versions vs. architecture...txoni wrote:The Qt binary issue you point to is common if you run a 32 bit binary on a 64 bit system in ubuntu and other OSes.
The included 32 bit libraries were often troublesome, so removing them and pointing AfterShot to the system 32 bit compatiblity libraries helped, but then you end up duplicating the whole library set. In my case I ended up with 5 different Qt versions. Nice, isn't it? hehehe.
Uhm... and how did you manage to load the 32 bit built plugins with the 64bit version? You managed to do some wrapper somehow? That sounds very challenging!afx wrote:I have both installed...
I don't have issues at all. It works as designed when called properly.
-
- Moderator
- Posts: 1675
- Joined: Thu Jan 12, 2012 1:38 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- Video Card: FirePro 4900
- Monitor/Display Make & Model: NEC PA301w, ColorMunki
- Location: München
- Contact:
Re: Blank screen after closing hy using red X top right corn
Please read the post again. I was mentioning the -ff option in the context of tracing the startup shell script in /usr/bin.txoni wrote:Sorry, my bad, somehow I believed file reported it was an ELF-64 binary. Possibly I checked on the /opt/... fileafx wrote: If you start the trace on a shell script, then it will only trace the script without -ff, not very useful.
So you are coming from a heavily customized system and then assume a command that works there is easily transferable to an average users system?When I said 64 bit "system" I was pointing to a 64 bit library set, not the cpu architecture they run on.
The included 32 bit libraries were often troublesome, so removing them and pointing AfterShot to the system 32 bit compatiblity libraries helped, but then you end up duplicating the whole library set. In my case I ended up with 5 different Qt versions. Nice, isn't it? hehehe.
That was not referring to the plugins, sorry if that was misleading.Uhm... and how did you manage to load the 32 bit built plugins with the 64bit version? You managed to do some wrapper somehow? That sounds very challenging!
cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Re: Blank screen after closing hy using red X top right corn
No, Didn't I say I never intended to give a recipe?afx wrote:So you are coming from a heavily customized system and then assume a command that works there is easily transferable to an average users system?

Shame about the plugins, that would have been nice, but thanks anyway.