Tag: Problem

Enable Nautilus Toolbar, Statusbar and Sidebar with Tree view

I installed CentOS 5.6 and was a bit uncomfortable with the way the file browser Nautilus was behaving – I couldn’t find the Toolbar, Statusbar or the Sidebar/Sidepane with the folder tree that I have gotten used to over the years. Moreover every time I would double-click on a folder it would open it in a new window – my screen was simply getting cluttered. I tried to enable the Sidepane by pressing ‘F9″ but no luck. After quite a bit of looking around I managed to fix it.

Basically open gconf-editor i.e. press Alt+F2, enter gconf-editor and click on Run.

Run Application

Go to / -> apps -> nautilus -> preferences, select always_use_browser and enable the checkbox as shown below.

Configuration Editor

Now when you open Nautilus you can view the Toolbar, Status bar and the Sidebar with the tree.

Mozilla Thunderbird: Subscribe nested folders and subfolders

Well I’ve been trying to organize my mailbox – basically create folders/subfolders and organize my emails for quite some time now. Today I finally managed to get some time and decided to go ahead with this seemingly simple activity. I’mean how difficult is it to create folders/subfolders and move emails right?

Now I have MS Exchange Server at work which has been IMAP-enabled so that I can access my mailbox from my phone and from Thunderbird (on my Linux box). I organized all my emails in folders and subfolders (nested upto 2-3 levels) using MS Outlook at work and later when I tried to access my mailbox using Thunderbird, I realized that it was not displaying all my folders and subfolders.

So I go to my Mail Account Settings to explicitly subscribe the folders/subfolders. That’s when I found out that it was simply fetching/displaying the top-level folders and the immediate subfolders (nested 1 level). It was not displaying the nested subfolders within other subfolders. So in the example below, only folders X and A were being displayed while B and C were not.

X
 |___ A
      |___ B
           |___ C

So in the time-tested manner I googled for some answer and came across quite a few forums where people have faced the same problem.

http://getsatisfaction.com/mozilla_messaging/topics/imap_sub_sub_folders_do_not_appear_in_subscribe_window

http://www.emaildiscussions.com/showthread.php?t=55577

http://www.emaildiscussions.com/showthread.php?t=55134

http://www.emaildiscussions.com/showpost.php?p=462865&postcount=27

I didn’t find much help till I came across – http://kb.mozillazine.org/IMAP:_advanced_account_configuration

So this is how I fixed the problem:

  • Remove your mail account (e.g. mail.xxx.com) and recreate it just to be on the safe side. You can skip this too.. I just didn’t
  • Right click on your mail account folder and go to the Mail Server Settings i.e.
    Account Settings –> mail.xxx.com –> Server Settings
  • Mozilla Thunderbird Account Settings

  • Now press the button “Advanced” to view the “Advanced Account Settings”. Uncheck the option “Show only subscribed folders” and press “OK“.

    Mozilla Thunderbird Advanced Account Settings

    Now the moment you connect to your mail server, this will fix two things:

    1. You won’t have to explicitly subscribe each folder/subfolder
    2. All folders and nested subfolders get fetched and displayed automatically

PostgreSQL 8.4 on Ubuntu 10.04

I’ve been struggling to install PostgreSQL Server 8.4 on Ubuntu 10.04.

I created a new user “postgres” using the Users Settings Tool (System > Administration > Users and Groups) and tried to install the PostgreSQL database server and pgAdmin III tool using the “Software Update Center”. Although the server seems to have been installed, I was unable to start it.
I tried the instructions mentioned at – https://help.ubuntu.com/community/PostgreSQL to no avail.

Finally found the cause to be a bug – https://bugs.launchpad.net/ubuntu/+source/postgresql-8.4/+bug/558319

Anyway, since I had to create a small Proof-Of-Concept for a project I’m working on, I really wanted to install PostgreSQL as the database.

So I went to the PostgreSQL site and downloaded the one-click installer from – http://www.postgresql.org/download/linux. I downloaded – postgresql-8.4.3-1-linux-x64.bin and followed the instructions at – http://www.enterprisedb.com/learning/pginst_guide.do

This was much simpler and I was able to install the server and all the necessary tools in less than 10 minutes. I now have a nice PostgreSQL 8.4 Menu under the Application Menu with a number of options viz. start server, stop server etc. These menu items along with the pgAdmin III tool definitely make working with PostgreSQL lot easier.


PostgreSQL 8.4 on Ubuntu 10.04

NetBeans 6 and Java 6 on openSUSE 10.3

I’ve been struggling to install NetBeans 6 on my openSUSE 10.3.
The installer would startup alright but would crash soon after displaying the bug-buddy dialog.
After few attempts, I ran the installer using Java 5. This time the installer gave the following error:

java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

After googling the above I found the following bug – http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373.
I also found the workaround on the same page i.e. set the following environment variable:

export LIBXCB_ALLOW_SLOPPY_LOCK=1

After implementing the workaround, I was able to install NetBeans and run it.
However, once I upgraded my JDK to Java 6 update 4, and executed NetBeans, the splash screen would appear for a brief moment and then it would crash displaying the bug-buddy dialog.

abhi@abhiltlnx(~)# /opt/netbeans/netbeans-6.0/bin/netbeans --jdkhome /opt/java/jdk1.6.0_04
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:47: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:48: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:49: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:47: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:48: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Chlorophyll/gtk-2.0/gtkrc:49: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
/usr/lib/: No such file or directory.

Following is the bug report that got generated.

System: Linux 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686
X Vendor: The X.Org Foundation
X Vendor Release: 70000001
Selinux: No
Accessibility: Disabled
GTK+ Theme: Chlorophyll
Icon Theme: Industrial
Memory status: size: 1003343872 vsize: 1003343872 resident: 48775168 share: 25587712 rss: 74362880 rss_rlim: 900776960
CPU usage: start_time: 1203194106 rtime: 812 utime: 647 stime: 165 cutime:0 cstime: 2 timeout: 0 it_real_value: 0 frequency: 100
Backtrace was generated from '/usr/lib/'
[?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7de36c0 (LWP 2395)]
[New Thread 0xb1b0fb90 (LWP 2510)]
[New Thread 0xb2ba9b90 (LWP 2499)]
[New Thread 0xb3656b90 (LWP 2479)]
[New Thread 0xb3857b90 (LWP 2478)]
[New Thread 0xb3a58b90 (LWP 2477)]
[New Thread 0xb3d04b90 (LWP 2476)]
[New Thread 0xb41fbb90 (LWP 2475)]
[New Thread 0xb43fcb90 (LWP 2474)]
[New Thread 0xb45fdb90 (LWP 2473)]
[New Thread 0xb47feb90 (LWP 2472)]
[New Thread 0xb49ffb90 (LWP 2405)]
[New Thread 0xb4e2ab90 (LWP 2404)]
[New Thread 0xb502bb90 (LWP 2403)]
[New Thread 0xb50acb90 (LWP 2402)]
[New Thread 0xb52adb90 (LWP 2401)]
[New Thread 0xb54f4b90 (LWP 2400)]
[New Thread 0xb56f5b90 (LWP 2399)]
[New Thread 0xb5776b90 (LWP 2398)]
[New Thread 0xb7dbdb90 (LWP 2397)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f2b575 in pthread_join () from /lib/libpthread.so.0
#2  0x0804dce8 in ContinueInNewThread ()
#3  0x080497f6 in main ()
Thread 20 (Thread 0xb7dbdb90 (LWP 2397)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x080588f4 in ?? ()
No symbol table info available.
#9  0xb7dbcabc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 19 (Thread 0xb5776b90 (LWP 2398)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7e8ef3c in sched_yield () from /lib/libc.so.6
No symbol table info available.
#2  0x063432c5 in SafepointSynchronize::begin ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#3  0x063caeb3 in VMThread::loop ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063caa9f in VMThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 18 (Thread 0xb56f5b90 (LWP 2399)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x080808f4 in ?? ()
No symbol table info available.
#9  0xb56f4f40 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 17 (Thread 0xb54f4b90 (LWP 2400)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff1de in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063cb525 in VMThread::execute ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x060dd073 in BiasedLocking::revoke_and_rebias ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0636dda5 in ObjectSynchronizer::fast_enter ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x0620eaee in InterpreterRuntime::monitorenter ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb5b2558a in ?? ()
No symbol table info available.
#9  0x08081800 in ?? ()
No symbol table info available.
#10 0xb54f3bf4 in ?? ()
No symbol table info available.
#11 0xb5b2555f in ?? ()
No symbol table info available.
#12 0xb4a3348d in ?? ()
No symbol table info available.
#13 0x6197c398 in ?? ()
No symbol table info available.
#14 0xb54f3bf4 in ?? ()
No symbol table info available.
#15 0x9430eac4 in ?? ()
No symbol table info available.
#16 0xb54f3c24 in ?? ()
No symbol table info available.
#17 0x94c3b4f0 in ?? ()
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
Thread 16 (Thread 0xb52adb90 (LWP 2401)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f3049e in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x06311374 in check_pending_signals ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#3  0x0630e65d in os::signal_wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x0630b6b8 in signal_thread_entry ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 15 (Thread 0xb50acb90 (LWP 2402)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff1de in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x0619d0df in CompileQueue::get ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0619e844 in CompileBroker::compiler_thread_loop ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 14 (Thread 0xb502bb90 (LWP 2403)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x062ff059 in Monitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x062e39c5 in LowMemoryDetector::low_memory_detector_thread_entry ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06391bbd in JavaThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 13 (Thread 0xb4e2ab90 (LWP 2404)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e7ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec8f in pthread_cond_timedwait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x0630f161 in os::sleep ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06390f0a in WatcherThread::run ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06311029 in java_start ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0xb7f2a192 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0xb7ea802e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 12 (Thread 0xb49ffb90 (LWP 2405)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0xb4a110f4 in ?? ()
No symbol table info available.
#9  0xb49fedf8 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 11 (Thread 0xb47feb90 (LWP 2472)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f31248 in accept () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb4b70357 in NET_Accept ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/libnet.so
No symbol table info available.
#3  0xb4b6ba59 in Java_java_net_PlainSocketImpl_socketAccept ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/libnet.so
No symbol table info available.
#4  0xb5b25e9d in ?? ()
No symbol table info available.
#5  0xb4a2ecf4 in ?? ()
No symbol table info available.
#6  0xb47fde50 in ?? ()
No symbol table info available.
#7  0xb47fde4c in ?? ()
No symbol table info available.
#8  0xb5b1e508 in ?? ()
No symbol table info available.
#9  0xb4a2ec00 in ?? ()
No symbol table info available.
#10 0x615daf98 in ?? ()
No symbol table info available.
#11 0x00000001 in ?? ()
No symbol table info available.
#12 0xb47fde1c in ?? ()
No symbol table info available.
#13 0x942d787c in ?? ()
No symbol table info available.
#14 0xb47fde50 in ?? ()
No symbol table info available.
#15 0x94bed608 in ?? ()
No symbol table info available.
#16 0x00000000 in ?? ()
No symbol table info available.
Thread 10 (Thread 0xb45fdb90 (LWP 2473)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f30c1e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ca58 in _L_mutex_lock_86 () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7f2c47d in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x062fd844 in Mutex::lock_without_safepoint_check ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06343727 in SafepointSynchronize::block ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x063707d9 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#9  0xb5b25e9d in ?? ()
No symbol table info available.
#10 0xb4a2fcf4 in ?? ()
No symbol table info available.
#11 0xb45fcf0c in ?? ()
No symbol table info available.
#12 0x000007d0 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.
Thread 9 (Thread 0xb43fcb90 (LWP 2474)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f3205b in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb2494d07 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb249503c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb299d700 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5  0xb299dbf2 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6  0xb299de43 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#7  0xb299e42e in google_breakpad::ExceptionHandler::HandleException ()
from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8  
No symbol table info available.
#9  0xb5bf2bba in ?? ()
No symbol table info available.
#10 0xb5bbc528 in ?? ()
No symbol table info available.
#11 0x64631518 in ?? ()
No symbol table info available.
#12 0x63cb91d8 in ?? ()
No symbol table info available.
#13 0x00000022 in ?? ()
No symbol table info available.
#14 0xb5c14b04 in ?? ()
No symbol table info available.
#15 0xb43faaa0 in ?? ()
No symbol table info available.
#16 0x949e7240 in ?? ()
No symbol table info available.
#17 0xb43faac8 in ?? ()
No symbol table info available.
#18 0xb5c14fa2 in ?? ()
No symbol table info available.
#19 0x64629210 in ?? ()
No symbol table info available.
#20 0xb43faaa4 in ?? ()
No symbol table info available.
#21 0x614cc5a8 in ?? ()
No symbol table info available.
#22 0x64631518 in ?? ()
No symbol table info available.
#23 0x614cc500 in ?? ()
No symbol table info available.
#24 0x00354ea2 in ?? ()
No symbol table info available.
#25 0x00000022 in ?? ()
No symbol table info available.
#26 0x00000000 in ?? ()
No symbol table info available.
Thread 8 (Thread 0xb41fbb90 (LWP 2475)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0xb4a334f4 in ?? ()
No symbol table info available.
#9  0xb41fa520 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 7 (Thread 0xb3d04b90 (LWP 2476)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x082a68f4 in ?? ()
No symbol table info available.
#9  0xb3d03c5c in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 6 (Thread 0xb3a58b90 (LWP 2477)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f30c1e in __lll_mutex_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ca58 in _L_mutex_lock_86 () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7f2c47d in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x062fd844 in Mutex::lock_without_safepoint_check ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x06343727 in SafepointSynchronize::block ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x06393434 in JavaThread::check_safepoint_and_suspend_for_native_trans ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0x06237041 in jni_CallStaticVoidMethod ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#8  0xb3eec652 in performPoll ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
No symbol table info available.
#9  0xb3eec433 in waitForEvents ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
No symbol table info available.
#10 0xb5b25e9d in ?? ()
No symbol table info available.
#11 0x0833acf4 in ?? ()
No symbol table info available.
#12 0xffffffff in ?? ()
No symbol table info available.
#13 0xffffffff in ?? ()
No symbol table info available.
#14 0xffffffff in ?? ()
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 0xb3857b90 (LWP 2478)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x0833bcf4 in ?? ()
No symbol table info available.
#9  0xb3856d8c in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 0xb3656b90 (LWP 2479)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x0833ccf4 in ?? ()
No symbol table info available.
#9  0xb3655cfc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 3 (Thread 0xb2ba9b90 (LWP 2499)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e7ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec8f in pthread_cond_timedwait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310d1e in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x063704ff in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x085188f4 in ?? ()
No symbol table info available.
#9  0xb2ba8ee0 in ?? ()
No symbol table info available.
#10 0x0000ea60 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 0xb1b0fb90 (LWP 2510)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2e566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f2ec18 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x06310be9 in os::PlatformEvent::park ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#4  0x06370831 in ObjectMonitor::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#5  0x0636e162 in ObjectSynchronizer::wait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#6  0x0626e6c7 in JVM_MonitorWait ()
from /opt/java/jdk1.6.0_04/jre/lib/i386/client/libjvm.so
No symbol table info available.
#7  0xb5b25e9d in ?? ()
No symbol table info available.
#8  0x08121cf4 in ?? ()
No symbol table info available.
#9  0xb1b0ecbc in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0xb7de36c0 (LWP 2395)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f2b575 in pthread_join () from /lib/libpthread.so.0
No symbol table info available.
#2  0x0804dce8 in ContinueInNewThread ()
No symbol table info available.
#3  0x080497f6 in main ()
No symbol table info available.
#0  0xffffe410 in __kernel_vsyscall ()
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
----------- .xsession-errors (9766 sec old) ---------------------
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
** (gnome-cups-icon:3907): WARNING **: IPP request failed with status 1030
...Too much output, ignoring rest...
--------------------------------------------------

I tried uninstalling/installing Jdk6u4 a number of times – manually, RPMs, YaST etc. to no avail.
Since I was unable to understand the bug report, I decided to uninstall bug-buddy in the hope of getting more meaningful information on the terminal.
The moment I unistalled bug-buddy, I was able to run NetBeans using Java 6.

root@abhiltlnx(~)#  zypper rm bug-buddy
* Reading repository 'Main Repository (OSS)' cache
* Reading repository 'Main Repository (NON-OSS)' cache
* Reading repository 'openSUSE-10.3-DVD 10.3' cache
* Reading installed packages [100%]
The following package is going to be REMOVED:
bug-buddy
After the operation, 2.0 M will be freed.
Continue? [yes/no]: yes
* Removing bug-buddy-2.20.0-5 [100%]
root@abhiltlnx(~)#

As it turned out bug-buddy wasn’t much of a buddy in this case.

Swing problem on Xgl and openSUSE/Linux

I installed NetBeans 5.5 on openSUSE 10.2 and found out that Swing applications are not rendered properly. The installer dialog itself appeared like an icon and I had to resize it. The IDE itself was either appearing as an icon or it would scale past the screen size. The “New Project” dialog (or any window/dialog for that matter) also displayed the same behaviour and were not appearing in the centre of the IDE. I created a simple swing GUI application and realized that the JOptionPane message dialog was also not appearing in the center. I checked if I was using a very old JDK and found that my default JDK was – Java 6 build 105.


Many hours later (sigh) I found out that Swing applications have rendering issues with Xgl.

Bug ID – 6429775: Xgl/Compiz/Java 1.5/Swing problem
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775

Everything worked fine once I disabled XGL. But having got used to the cool way of working using Xgl I just couldn’t keep it disabled for long.
Fortunately, this bug seems to have been fixed in Java 6 update 1. So I downloaded it and everything worked like a charm.


WinXP cmd shell window problem

A weird thing kept me occupied my whole saturday and prompted me to write about it so that others facing the same may benefit from the fix.

I was eagerly looking forward to my weekend so that I could try out few things.. testing Java localization features being one of them. Now I did give it a try over the week at work but couldn’t do much. Anyways, my work needed me to execute the following command from a shell.


$ java -jar $JAVA_HOME/demo/jfc/Font2DTest/Font2DTest.jar

Let me tell you about the Operating Systems I use. I use Fedora Linux at work and have Windows XP on my laptop. So on a fine Saturday morning in order to execute the above comand, I tried to invoke the Windows XP cmd shell as follows:

(a)

Start -> Run -> cmd

Now I’ve done this many times in the past but this morning it behaved in a weird manner. The cmd shell window would appear for a brief moment but terminate automatically ! 😦

Well the first thing I did (besides cursing Windows) was to quickly update my virus definitions and scan my system. This didn’t show any virus or infected files. I did a quick google search with the following keywords:


Windows XP, cmd not working
Windows XP, unable to open command prompt
cmd shell terminating automatically

My search didn’t yield any fruitful results so decided to investigate into the problem. I tried to execute the cmd.exe directly i.e.

(b)

I browsed to the C:\WINDOWS\system32\ and double-clicked cmd.exe

– Now this did bring up the window!

(MAKE SURE to unhide system files if you wan’t the windows explorer to show you files under the C:\WINDOWS\system32\ directory i.e. Tools->Folder Options-> UNCHECK Hide System files)

I tried to execute the cmd shell again using approach (a) but found the same problem !

After trying out the above two approaches multiple times, I observed that with

(b) the shell window has the title – C:\WINDOWS\system32\cmd.exe while with
(a) for the brief moment that the window appears, has the title –
C:\WINDOWS\system32\cmd.COM

I found that C:\WINDOWS\system32\ directory has 2 files named cmd – cmd.exe and cmd.com . I renamed cmd.com to cmd.com_ and then tried approach (a)

Voila! This time it did work.

I did a google search to find the cause of the problem and learnt that my system was infected with the WORM_ALCAN.A virus, which somehow wasn’t getting picked by my Anti-Virus utility (Norton). This virus (among various other things) drops the following files in C:\WINDOWS\system32\

  • CMD.COM
  • NETSTAT.COM
  • PING.COM
  • REGEDIT.COM
  • TASKKILL.COM
  • TASKLIST.COM
  • TRACERT.COM



Since .COM files have a higher priority over their .EXE counterparts, it disables the execution of the .EXE files.

I realised that NETSTAT and other files were infected too and needless to say I straightaway removed these .COM malicious files.

Learn more about it at:

http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_ALCAN.A&VSect=T

Well.. this pretty much brings my Saturday to an end.. I sincerely hope nothing goes wrong tomorrow and I continue with my plans.