Crash on MS Windows

Bug #655198 reported by Patrick Ulbrich
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Basenji
Confirmed
Undecided
Patrick Ulbrich

Bug Description

Hi,

the windows version doesn't work on my PC (XP pro, serv. pack 4 ) , net 3.5 and gtk for net installed. It says: "an error occurred. tha application will be closed "

this is my last events in the events-registry:

Type Date Hour Origin Category Event User Computer
...
Informations 05/10/2010 17.00.19 crypt32 None 2 N/D T*_A2
Informations 05/10/2010 17.00.19 crypt32 None 7 N/D T*_A2
Error 05/10/2010 17.00.19 crypt32 Nessuno 11 N/D T*_A2
Error 05/10/2010 17.00.19 crypt32 Nessuno 11 N/D T*_A2
Informations 05/10/2010 17.00.51 MsiInstaller None 11707 ta* T*_A2

any idea?
thanks

e.g.: The service pack is 3 (5.01.2600)..really sorry.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Thank you for your bugreport.

Does the app crash right on startup or after performing a particular operation?
Did you reboot after installing gtk#?

Changed in basenji:
assignee: nobody → Patrick Ulbrich (pulb)
Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :

Same issue on my xp system ... I install the request gtk# and .NET 3.5 Framework but crash right on startup

Revision history for this message
a t (andytdown) wrote :

No, the application crash on startup...PC rebooted after GTK installation, but nothing new, again crashing.

PS: if useful...the same happens even with the older releases of Basenji...my PC specs are:

XP Professional 32-bit from Vista downgrade and Intel Core2 duo E8400 processor

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Rus F Adrian: whats the releases number of your XP service pack?

a t (andytdown)
description: updated
Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :

Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :

I can confirme that on my xp SP2 is working but on SP3 give an error with "Basenji has encountered a problem and needs to close. We are sorry for the inconvenience."

Revision history for this message
Patrick Ulbrich (pulb) wrote :

I just installed SP3 but unfortunately I'm unable to reproduce the crash.
What's your system language?
Did you download the zip archive from the launchpad.net/basenji or from a different source?
Did start Basenji.exe in the folder with all the dlls or from a network share?

I attached a debug binary, which writes a debug file. Please replace Basenji.exe with this one and post the contents of the "debug.txt" file here.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Ok, I think I found the problem. Please copy the attached binary to your Basenji folder (next to all the dlls).
It is patched with code from the upcoming release and should fix the crash.

Revision history for this message
Patrick Ulbrich (pulb) wrote :
Revision history for this message
a t (andytdown) wrote :

I've tried this last binary but unfortunately nothing new.
Using the binary generating the debug.txt, the content of this last is:

*****************************************************************
msg: L'inizializzatore di tipo di 'Basenji.Gui.Base.WindowBase' ha generato un'eccezione.
source:Basenji
trace: in Basenji.Gui.Base.WindowBase..ctor()
   in Basenji.Gui.MainWindow..ctor(String dbPath)
   in Basenji.MainClass.Main(String[] args)
*****************************************************************
trad.:
*****************************************************************
msg: the starter of type of 'Basenji.Gui.Base.WindowBase' has generated an exception.
source:Basenji
trace: in Basenji.Gui.Base.WindowBase..ctor()
   in Basenji.Gui.MainWindow..ctor(String dbPath)
   in Basenji.MainClass.Main(String[] args)
*****************************************************************

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Hmm... thats weird, please copy the attached binary to the Basenji folder and post the contents of the generated debug file here.

Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :
Revision history for this message
Rus F Adrian (tue-deactivatedaccount) wrote :

It didnt work for me either
* Language: English (Regional Setting: English)
* I download the zip archive from the launchpad.net/basenji with the gtk# included 0.7.1
* start Basenji.exe from the folder with all the dlls and not from a network share.

Revision history for this message
a t (andytdown) wrote :

Hi Patrick,

here it is the debug.txt, generated after crash, attached.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

a t:
The error in your first debug log is fixed in the binary attached in comment #8.
Your second debug log is about a missing image module for svg graphics (which is usally included in the gtk# installer though).
Please use the binary of comment #8, deinstall gtk# and try the updated installer from here: http://ftp.novell.com/pub/mono/gtk-sharp/gtk-sharp-2.12.10.win32.msi

Rus F Adrian:
Your debug output says "System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt".
I'm afraid there's something wrong with your setup or your hardware. The fact that the app runs on your other xp machine also indicates that. Please try the new installer I suggested to a t. If this won't fix it either please try to reinstall the .net framework.

Revision history for this message
a t (andytdown) wrote :

@Patrick:

already done as you said....unfortunately nothing new.

Revision history for this message
András Földes (lafoldes-gmail) wrote :

Hi,

the same happens for me.

I've .NET 3.5, installed gtk-sharp-2.12.10, and using basenji.exe from comment #11. The program crashes right after launch.

Content of the debug file:

src: gdk-sharp
msg: Couldn't recognize the image file format for file 'data/basenji.svg'
trace: at Gdk.Pixbuf..ctor(String filename)
   at Basenji.App.get_DefaultWindowIcon()
   at Basenji.Gui.Base.WindowBase.BuildGui()
   at Basenji.Gui.MainWindow.BuildGui()
   at Basenji.Gui.MainWindow..ctor(String dbPath)
   at Basenji.MainClass.Main(String[] args)
inner ex:

András

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Please check if you have the following files ("Program Files" may be different on your system):

C:\Program Files\GtkSharp\2.12\lib\gtk-2.0\2.10.0\engines\libsvg.dll
C:\Program Files\GtkSharp\2.12\lib\gtk-2.0\2.10.0\loaders\svg_loaders.dll

Please also make sure that C:\Program Files\GtkSharp\2.12\etc\gtk-2.0\gtk-pixbuf.loaders
contdains the following section:

"C:/Program Files/GtkSharp/2.12/lib/gtk-2.0/2.10.0/loaders/svg_loader.dll"
"svg" 2 "gtk20" "Scalable Vector Graphics"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml" "text/xml-svg" ""
"svg" "svgz" "svg.gz" ""
" <svg" "* " 100
" <!DOCTYPE svg" "* " 100

Revision history for this message
András Földes (lafoldes-gmail) wrote :

C:\Program Files\GtkSharp\2.12\lib\gtk-2.0\2.10.0\engines\libsvg.dll - OK

C:\Program Files\GtkSharp\2.12\lib\gtk-2.0\2.10.0\loaders\svg_loaders.dll - the filename on my machine is "svg_loader.dll" (without the 's'), but I think this is only a typo, isn't it?

from gtk-pixbuf.loaders was missing the section you asked, so I added it.

now before crash I get a messagebox see attached picture.

András

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Thanks. Please make sure libcroco is in C:\Program Files\GtkSharp\2.12\bin .
It seesm gtk# doesn't install correctly on some xp systems..

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Please also make sure the path "C:\Program Files\GtkSharp\2.12\bin" is in your PATH variable.

Steps to ensure that / add the path:

* From the desktop, right-click "My Computer" and click Properties.
* In the System Properties window, click on the Advanced tab.
* In the Advanced section, click the Environment Variables button.
* Finally, in the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button.

Changed in basenji:
status: New → Confirmed
Revision history for this message
Patrick Ulbrich (pulb) wrote :

Ok, I can confirm this bug now. Its actually the new installer available on the mono page that is broken (does not register the svg loader). Please try the installer bundled with Basenji an report if it works. I'll fill a bugreport in the mono bugtracker then.

Revision history for this message
a t (andytdown) wrote :

Actually my gtk installation miss the libcroco. I'm trying to find it on web before recompiling sources, if anyone knows where...thanks.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

a t: don't mess around with dlls, your gtk installer version is broken in several places. Just use the installer that ships with Basenji (https://launchpad.net/basenji/+download), it works and has the missing dll included.

Revision history for this message
András Földes (lafoldes-gmail) wrote :

Hi, I downloaded the combined (Basenji + Gtk Sharp) installer from https://launchpad.net/basenji/+download, and Basenji launches and works now.

Thank you.

András

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Thanks for your help resolving this issue, guys!
I filed a bugreport in the mono bugtracker:
https://bugzilla.novell.com/show_bug.cgi?id=647212

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.