Fixing Google Picasa segfault crash »

Wednesday, 4 June 2008 | Linux | Dawid Lorenz

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

Comments:

  1. John
    Monday, 30 June 2008 @ 11:01

    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
    Monday, 30 June 2008 @ 20:20

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

  3. sequi
    Friday, 12 September 2008 @ 00:03

    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
    Friday, 12 September 2008 @ 06:11

    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?

Anything to say?