Fixing Google Picasa segfault crash

After installing Fedora 9 on my laptop (which went pretty smoothly, hence no dedicated entry for this), I’ve figured that Google Picasa for Linux 2.7 doesn’t start at all. To be specific, it crashes with following output:

[evad@D620 ~]$ picasa
/usr/bin/picasa: line 139: 27689 Segmentation fault   "$PIC_BINDIR"/wrapper check_dir.exe.so
/usr/bin/picasa: line 175: 27784 Segmentation fault   "$PIC_BINDIR/wrapper" regedit /E $registry_export HKEY_USERS\\S-1-5-4\\Software\\Google\\Picasa\\Picasa2\\Preferences\\

Pretty nasty, isn’t it? Command that fixes it is:

[root@D620 ~]# sysctl -w vm.mmap_min_addr=0
vm.mmap_min_addr = 0

And that’s it. Probably don’t have to mention that, as I assume readers are savvy enough, but putting above command into /etc/rc.local would probably be a grand idea. :)

Source
Some random thread from Google Groups

5 Responses to “Fixing Google Picasa segfault crash”

  1. John Says:

    And that?s it. Probably don?t have to mention that, as I assume readers are savvy enough, but putting above command into /etc/rc.local would probably be a grand idea. :)

    /etc/sysctl.conf would be a better place to make that change permanent.

  2. Dawid Lorenz Says:

    John, that proves you’re savvy enough :) Thanks for tip!

  3. sequi Says:

    Hi Guys (John & Dawid)

    I don’t wanna interrupt this conversation between savvy, but please take 5 min for this dummy. I’ve done what you’ve told me, exactly, except that I’ve used “/sbin/sysctl” instead of “sysctl” command. After doing that when I start Picasa as a user it doesn’t show me the nasty stuff Dawid posted, but instead it does “nothing”. In fact, it stays there for five seconds or so and then nothing, appears the prompt, as if nathing would have happenned.

    Any ideas from the popes???

    Thanks in advance, bests, Sequi.

  4. Dawid Lorenz Says:

    Sequi: that’s quite strage. I’d start with reinstalling Picasa and/or Wine, and then clearing out your ~/.picasa folder – maybe there’s some setting saved that is somehow conflicting with application?

  5. Derek Says:

    Running Fedora 10 (x86_64) and this fix worked for me as well (including the 4th comment on removing the .picasa folder). Thanks much!

Leave a Reply