Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

scjview.exe and dbisql.exe crash when you point the mouse at an icon and a description/popup should appear. A file hs_err_pid12345.log is created, approx. 8000 lines, begins with " A fatal error has been detected by the SAP Java Virtual Machine: EXCEPTION_PRIV_INSTRUCTION".Dbsrv17.exe continues to run normally. 17.0.11.7672 is installed. What do we have to change to make the GUIs run again? vcredist_x86 and x64 are reinstalled, did not help.

asked 14 May, 10:16

JoeSch's gravatar image

JoeSch
414
accept rate: 0%

Can you share the log? If you have support, I suggest opening an incident to provide the file. Alternatively, I can take a look - send to <first>.<last>@sap.com. BTW I am not seeing the behavior but I would not be surprised if this is related to a display driver or other OS level difference. The log might help to point in the right direction.

(14 May, 14:18) Chris Keating

Thank you for the crash dump. The relevant stack is:

Java frames: (J=compiled Java code, j=interpreted, V=VM code (C/C++), v=VM code (generated)) j sun.awt.Win32GraphicsDevice.getMaxConfigsImpl(I)I+0x0 (bcx=0x0000023524db5b70) (sp=0x000000f3572fcdf0,pc=0x0000023502f306eb) j sun.awt.Win32GraphicsDevice.getMaxConfigs(I)I - Win32GraphicsDevice.java:213 (bcx=0x0000023524db5aba) (sp=0x000000f3572fce78,pc=0x0000023502f2a020) j sun.awt.Win32GraphicsDevice.getConfigurations()[Ljava/awt/GraphicsConfiguration; - Win32GraphicsDevice.java:173 (bcx=0x0000023524db5935) (sp=0x000000f3572fcef0,pc=0x0000023502f2a020)

A quick Google query offers the following suggested solutions: * Update the graphics driver(s) * Run on a single screen setup (no dual screen) * run with -Dsun.awt.nopixfmt=true

The first 2 options are preferred. If those provide no relief, the final option can be used. Open a command shell and run dbisql -batch which creates a dbisql.bat file. Edit that file adding -Dsun.awt.nopixfmt=true to the line with java.exe. The same -batch switch is available with SQL Central which generates scjview.bat. You would then launch dbisql/scjview using the batch file.

On the surface, this is not a defect with the GUI tooling but a conflict between the graphics driver and JDK methods used to render graphics. A recent post (April '24) suggests this is seen with ATI/AMD or INTEL HD graphic cards.

permanent link

answered 15 May, 08:53

Chris%20Keating's gravatar image

Chris Keating
7.8k49129
accept rate: 31%

converted 16 May, 11:24

Volker%20Barth's gravatar image

Volker Barth
40.3k363552824

1

We used the workaround with the batch files as an immediate solution. We are working with the specialists from the data center to find the right solution. Dual Monitor is not in use, we need to clarify what has happened to the graphics drivers. Thanks for your help, Chris!

(16 May, 10:25) JoeSch
Replies hidden

Well that is at least some positive news. I have found addressing problems with updated display drivers is a hit and miss proposition. Thanks for sharing the crash log as it was definitely important in identifying the problem. As an aside, this same workaround can be applied to dbprof (SQL Anywhere profiler) and mlprof (MobiLink profiler).

(16 May, 13:43) Chris Keating
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106
×52
×4

question asked: 14 May, 10:16

question was seen: 155 times

last updated: 16 May, 13:43