Pages

Wednesday, April 09, 2008

Gimp on Vista: svg.exe has stopped working

I've just installed Gimp 2.4.5 on Vista. Every time I run Gimp, there're always error message like this:

svg.exe has stopped working

helpbrowser.exe has stopped working

Checking the detail information, seems there's problem with libxml2.dll ( Fault Module Name: libxml2.dll ). Searching from internet, finally found out the workaround:

As administrator, copy libxml2.dll from the bin directory of installed gimp (default will be c:\program files\gimp\bin ) into c:\windows. And don't forget to backup the original libxml2.dll just in case it is required, by simply rename it into any file name, eg: libxml2.dll.original.


That's all.

31 comments:

  1. Hi, thanks a lot!! i was searching long time for the reason!!!!
    greetz martin

    ReplyDelete
  2. Thank you very much from me too!!!

    ReplyDelete
  3. Is was a big help, Bert

    ReplyDelete
  4. You are a true hero

    ReplyDelete
  5. Thanks from Sabadell (Barcelona - Catalonia - Spain). Gràcies de debò m'ha anat de fàbula ... dos minuts i llestos!.

    ReplyDelete
  6. Nice, those crash's been bugging me a lot too!

    But setting the program's working directory to "C:\Program Files\GIMP-2.0\bin" (or wherever you installed it) works for me.

    This way you keep the original DLL in the windows dir.

    ReplyDelete
  7. hi Steve-o, thanks for the better solution. It's good as it doesn't replace windows original file.

    ReplyDelete
  8. Steve-O,

    great solution. You show tell how to "set the program's working directory"?

    ReplyDelete
  9. Weeee!!! Thanks a lot. That error has been so annoying.. Thanks!

    ReplyDelete
  10. Ciao a tutti. Grazie 1000. Con il tuo suggerimento ora Gimp funziona.

    ReplyDelete
  11. thanks man! u rock!

    ReplyDelete
  12. Thanks very much!!!

    I was looking for a solution for this for a long time. Finally I found you in my way.

    ReplyDelete
  13. i had gimp on my computer before and kept getting this error message and it led to other problems so i just deleted it....well i tried it again and took your suggestion...A-mazing...thanks so much!!!!!!!!

    ReplyDelete
  14. Yay! That was annoying me to the point of frustration!

    ReplyDelete
  15. Thanks a lot. Had been looking elsewhere and got nowhere.

    ReplyDelete
  16. Thanks very much as the others!

    ReplyDelete
  17. Thanks a lot!!!

    ReplyDelete
  18. Didn't work. ;(

    ReplyDelete
  19. Thx it really worked :)

    ReplyDelete
  20. Running in compatibility mode for XP seems to work also.

    ReplyDelete
  21. I had the same problem with that file error with Gimp 2.6, and copying the file like you said did not work for me. But I foollowed what was Gimp team said in thei FAQ's http://gimp-win.sourceforge.net/faq.html
    "# I'm getting cryptic error messages about missing entries in DLL files when I try to run GIMP. What's causing this?
    # GIMP loads fine when I run it by clicking the icon, but crashes if I double-click a file associated with it. What is causing this?
    # This is usually caused by broken programs installing libraries to Windows\System32 directory. Most likely there's a bad version of intl.dll, libxml2.dll, xmlparse.dll or xmltok.dll in there. Rename or remove it, and GIMP should load fine."

    I just renamed libxml2.dll in Windows\System32 directory and the error was gone.

    ReplyDelete
  22. This comment has been removed by a blog administrator.

    ReplyDelete
  23. Had the same problem. Downloaded the GTK+ runtime from http://download.cnet.com/3001-2192_4-10280276.html?spi=fa435a17789f01347722ccb595bcd0ab and reinstalled GIMP selecting the Custom install and deselecting the GTK+ install option. Seems to have worked fine.

    ReplyDelete
  24. It seems that you made a lot of people happy. Including me! Thnx!

    ReplyDelete
  25. Well, here's another happy and grateful user...

    ReplyDelete
  26. I have a similar problem for Gimp when opening a new doc it just closes down... message is that it's stopped working

    Anyone got a fix for this?

    I'm using Vista

    Ta

    ReplyDelete