Firefox starta inte: Titta på e-legitimation och 64-bit stöd

Så din webbläsaren funkar inte en dag, vad kan jag gjörde ? Kör GDB med firefox !


$ firefox -g
+ MOZDIR=/home/cristobal/.mozilla
+ LIBDIR=/usr/lib/firefox-3.6.10
+ APPVER=
+ META_NAME=firefox
+ GDB=/usr/bin/gdb
+ DROPPED=abandoned
+ which /usr/bin/firefox
+ NAME=/usr/bin/firefox
+ [ xfirefox != x ]
+ NAME=/usr/bin/firefox
+ basename /usr/bin/firefox
+ APPNAME=firefox
+ [ ! -f /usr/lib/firefox-3.6.10/firefox ]
+ want_debug=0
+ [ 1 -gt 0 ]
+ want_debug=1
+ shift
+ [ 0 -gt 0 ]
+ FOUND=
+ [ -d /home/cristobal/.mozilla/firefox ]
+ FOUND=firefox
+ FOUND_BETA=
+ BETA_LIST=
+ [ -d /home/cristobal/.mozilla/firefox-3.1 ]
+ [ -d /home/cristobal/.mozilla/firefox-3.5 ]
+ [ -d /home/cristobal/.mozilla/firefox-3.6 ]
+ [ firefox != -a != ]
+ [ != -a firefox = ]
+ [ 1 -eq 1 ]
+ [ ! -x /usr/bin/gdb ]
+ mktemp /tmp/mozargs.XXXXXX
+ tmpfile=/tmp/mozargs.bnrfme
+ trap [ -f "/tmp/mozargs.bnrfme" ] && /bin/rm -f --
"/tmp/mozargs.bnrfme" 0 1 2 3 13 15
+ echo set args
+ echo sh /usr/lib/firefox-3.6.10/run-mozilla.sh /usr/bin/gdb
/usr/lib/firefox-3.6.10/firefox-bin -x /tmp/mozargs.bnrfme
sh /usr/lib/firefox-3.6.10/run-mozilla.sh /usr/bin/gdb
/usr/lib/firefox-3.6.10/firefox-bin -x /tmp/mozargs.bnrfme
+ CMDNAME_USER=firefox sh /usr/lib/firefox-3.6.10/run-mozilla.sh
/usr/bin/gdb /usr/lib/firefox-3.6.10/firefox-bin -x
/tmp/mozargs.bnrfme
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/lib/firefox-3.6.10/firefox-bin...(no
debugging symbols found)...done.

(gdb) run
Starting program: /usr/lib/firefox-3.6.10/firefox-bin
[Thread debugging using libthread_db enabled]
[New Thread 0xb4f07b70 (LWP 6792)]
[New Thread 0xb46fbb70 (LWP 6793)]
[New Thread 0xb3cffb70 (LWP 6794)]
[New Thread 0xb34feb70 (LWP 6795)]
[New Thread 0xb29ffb70 (LWP 6796)]
[New Thread 0xb1cffb70 (LWP 6797)]
[Thread 0xb1cffb70 (LWP 6797) exited]
[New Thread 0xb1cffb70 (LWP 6798)]
[New Thread 0xb0dffb70 (LWP 6799)]
[New Thread 0xae8ffb70 (LWP 6800)]
[New Thread 0xadeffb70 (LWP 6801)]
[Thread 0xadeffb70 (LWP 6801) exited]
[New Thread 0xadeffb70 (LWP 6806)]
[New Thread 0xace49b70 (LWP 6807)]
[New Thread 0xac648b70 (LWP 6808)]
^C
Program received signal SIGINT, Interrupt.
0xb7fe2422 in __kernel_vsyscall ()

(gdb) info threads
14 Thread 0xac648b70 (LWP 6808) 0xb7fe2422 in __kernel_vsyscall ()
13 Thread 0xace49b70 (LWP 6807) 0xb7fe2422 in __kernel_vsyscall ()
12 Thread 0xadeffb70 (LWP 6806) 0xb7fe2422 in __kernel_vsyscall ()
10 Thread 0xae8ffb70 (LWP 6800) 0xb7fe2422 in __kernel_vsyscall ()
9 Thread 0xb0dffb70 (LWP 6799) 0xb7fe2422 in __kernel_vsyscall ()
8 Thread 0xb1cffb70 (LWP 6798) 0xb7fe2422 in __kernel_vsyscall ()
6 Thread 0xb29ffb70 (LWP 6796) 0xb7fe2422 in __kernel_vsyscall ()
5 Thread 0xb34feb70 (LWP 6795) 0xb7fe2422 in __kernel_vsyscall ()
4 Thread 0xb3cffb70 (LWP 6794) 0xb7fe2422 in __kernel_vsyscall ()
3 Thread 0xb46fbb70 (LWP 6793) 0xb7fe2422 in __kernel_vsyscall ()
2 Thread 0xb4f07b70 (LWP 6792) 0xb7fe2422 in __kernel_vsyscall ()
* 1 Thread 0xb5df1770 (LWP 6789) 0xb7fe2422 in __kernel_vsyscall ()

(gdb) thread 14
[Switching to thread 14 (Thread 0xac648b70 (LWP 6808))]#0 0xb7fe2422
in __kernel_vsyscall ()

(gdb) bt
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7fbb245 in sem_wait@@GLIBC_2.1 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xacfe90e9 in event_wait () from /usr/local/lib/libtokenapi.so
#3 0xad32a4a4 in CInternalThreadObject::EventHandlingThread() () from
/usr/local/lib/personal/libP11.so
#4 0xad32dec6 in CHandleTokenEventThread::Run() () from
/usr/local/lib/personal/libP11.so
#5 0xacfe8934 in CThread_posix::RunInternal() () from
/usr/local/lib/libtokenapi.so
#6 0xacfe8981 in CThread_posix::RunProcess(void*) () from
/usr/local/lib/libtokenapi.so
#7 0xb7fb496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb638ca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Visst, /usr/local/lib/libtokenapi.so är den skyldige. Följa en andra post här om du vill fixa det, lycka till ! :)

All your gdocs are belong to you

Google CL (command line)

So you want to backup all your bas^H^H google documents ? You may do it manually, but isn’t it more interesting to do it by code ?

GoogleCL has been around for a while, but it’s becoming more stable and interesting as time goes on. Let’s see how to install it first, since the documented way on INSTALL.txt is broken at the time of writing these lines.

Continue reading →

Translate it now !

Since I do think that spoken languages are just pipes and I use them interchangeably, I’ve recently added a translate tool on the right column to ease readers access contents on my blog.

But sometimes you find yourself reading on some foreign bit of info, like a swedish newspaper… sure, one can easily perform a full translation by just going to google translate, but supposing you’re learning how to use a new pipe, how can you translate that word and integrate it into your vocabulary without losing the focus on the piece of text you were reading on the first place ?

Firefox with greasemonkey together with Google Translator Tooltip, saves the day for me, I hope it’s useful to you as well ;)

Hint: configure it as “detect language” and you have an anti-babel device in just one double click.

India: Airtel.in GPRS mini-howto


If you ever happen to need GPRS “MoBoffice” data connection in India with Airtel.in, keep in mind that after activating your pre-paid SIM-card you should:

  1. Send an SMS message to 170 with text PLIVE
  2. Dial *148# (toll free).
  3. You will be presented a menu with 2 options: select 1, to activate Airtel Moboffice.
  4. After 1 hour you’ll receive nearly 6 SMS’s with details on howto configure your mobile.
  5. If you use a nokia770, make sure that the GPRS access point is airtelgprs.com and *not* airtelfun.com. Nokia 770 hacker edition has this outdated info by default and will not work out of the box :/

Airtel.in website is hugely undocumented on this aspect, I discovered this details (tricks?) by sending an email to Airtel.in support: 121@airtelindia.com :S

And btw, the tariff at the moment is 30 paisa for each 50KB you use… 100 paisa is 1 rupee, so to check your email and post a text entry on your blog costs you about 1 to 2 rupees… really cheap indeed !

Nokia 770 wordpy

Aquest és un post de proba usant la nokia770+wordpy, un sistema de publicació de posts offline ideal per el viatger :)

I aquesta és la meva oficina mòbil, no tant virguera com el món de les HTC’s i companyia, però força útil/cómode: