TrueCrypt crashes when whitelisted 12.04

Asked by Henk de Groot

When having in dconf configuration desktop->unity->panel

systray-whitelist ['JavaEmbeddedFrame', 'Wine', 'scp-dbus-service', 'Update-notifier', 'Truecrypt']

then TrueCrypt crashes at startup:

Gdk-WARNING **: GdkWindow 0x46000c9 unexpectedly destroyed
The program 'truecrypt' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 802 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

When removing 'TrueCrypt' from the whitelist TrueCrypt works (but without panel icon).

This was working fine in Oneiric Ocelot but not after upgrade to Precise Pengolin Beta 1

Is this a Unity bug?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
Henk de Groot
Solved:
Last query:
Last reply:
Revision history for this message
Bruce MacAlister (w4bru) said :
#1

It's running fine on my Unity Ubuntu 12.04 32-bit system. I had to download it from the Truecrypt website (http://www.truecrypt.org/downloads). I followed the install instructions from that website. Truecrypt is important to me since most of my machines run Windows so compatibility is required.

Truecrypt shows up with a Dash search but when you double-click on a Trucecrypt file, Ubuntu cannot find the program nor does Truecrypt show up on list of the "open with" choices. I'm too new to Linux to understand what that's about.

Revision history for this message
Henk de Groot (pe1dnn) said :
#2

Your problem has nothing to do with the original problem. The report was a bit technical so let me explain.

To open a TrueCrypt volume I start TrueCrypt and select the volume using "Select File..." and Mount it.

After you have opened a TrueCrypt volume with Truecrypt you van close the the Truecypt application but have volume still mounted.

To unmount the volume you need to get back to the Truecrypt session now running in background. To make that possible an icon can be shown in the top panel (the top bar containing the clock, network icon etc). But for this icon to appear Truecrypt must be "whitelisted", only whitelisted applications are allowed to access the panel.

To whitelist Truecrypt the program dconf is used with the path mentioned in this report. When I wrote the report for the Ubuntu 12.04 beta version whitelisting caused Truecrypt to crash. When removed Truecrypt would run but of course no Icon.

This problem was solved in the release version of Ubuntu 12.04.

Opening Truecrypt by double clicking on a Truecrypt volume and not being able to select Truecrypt is a different problem. But whatever it is, I do not think it is a Unity problem but you could file a bug report if you think it is.

Revision history for this message
Henk de Groot (pe1dnn) said :
#3

This problem was solved in the 12.04 final version.

Revision history for this message
Bruce MacAlister (w4bru) said :
#4

Thank you for your response. I have not closed Truecrypt on mounting a file so the Truecrypt icon remains in my Unity list on the left side of the display. Therefore, I do not have the problem you described.