1. EuGTK Crashes Attempting to Use FileSelector in Windows

I'll investigate GtkFileSelector.e, but I want to alert Irv and Jim and everybody else who cares to the current problem.

The file selector dialog comes up, and when I double-click on a directory/folder, it all goes away. I'm using test25.ex on Windows 8, 64-bit.

UPDATE 1: GtkFileSelector.e is calling get() from GtkEngine.e and crashing in there somewhere.

UPDATE 2: It's crashing here in GtkEngine.e:

        if method[RETVAL] > 0 then -- it's a GTK func 
            result = c_func(method[VECTOR],args) --<-- can't get past this 
            switch method[RETVAL] do 
 

That's as far as I can debug.

new topic     » topic index » view message » categorize

2. Re: EuGTK Crashes Attempting to Use FileSelector in Windows

euphoric said...

UPDATE 2: It's crashing here in GtkEngine.e:

        if method[RETVAL] > 0 then -- it's a GTK func 
            result = c_func(method[VECTOR],args) --<-- can't get past this 
            switch method[RETVAL] do 
 

That's as far as I can debug.

As a workaround, print out the value of method[VECTOR] and write down the one that gets printed right before it crashes.

Then change the code to do this:

        if method[RETVAL] > 0 then -- it's a GTK func 
	? method[VECTOR] 
	if (method[VECTOR] != saved_value) 
            result = c_func(method[VECTOR],args) --<-- can't get past this 
	else -- skip the call to avoid the crash 
	end if 
            switch method[RETVAL] do 
 

While this may not solve the problem, it should get you a little further.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu