Re: gtk_file_chooser page faults (win32)



On Thu, Aug 12, 2004 at 09:39:34AM -0700, John Finlay wrote:
David wrote:

On Thu, Aug 12, 2004 at 05:50:18AM +0000, Tor Lillqvist wrote:


David writes:
This crash could be caused by something I'm doing, and not by
gtk_file_chooser,  but it doesn't show up under msys [or Linux].  I 
wonder
if anyone else has encountered anything like this?

It is, of course, quite possible and even probable that there are bugs
in the Win32 implementation of GtkFileChooser et al. It definitely
seems to be broken at least on systems with multi-byte code pages, see
Bugzilla bug #141124. But that bug has been reported only on
Chinese/Japanese/Korean machines. You aren't using such a system, are
you?

No, it's an English/US setup.  I am using Win98, if that would make a
difference.

When go to a window created by "MS-Dos Prompt" and run it from the
command line, it crashes.  If I run it from the command line in the msys
window, it executes seemingly correctly.

It shouldn't make any difference at all to GTK whether the
program has been started from a console window's command prompt
(cmd.exe), or MSYS's shell in a rxvt window (doesn't MSYS use a port
of rxvt?), or the Windows Explorer.

I do believe it is rxvt.  It does seem odd that it's working this way.
I get 4 lines of error messages (I'll go into windows and get the exact
filenames and line #'s when I get the chance) - but surely at least
_someone_ else should be getting the same errors.  These messages all
appear to be caused by the fact that pointers to strings - filename and
pathnames - are supposed to be passed but a NULL pointer is getting
passed instead.

This sounds similar to the following bug:

http://bugzilla.gnome.org/show_bug.cgi?id=148803

This one has error messages that resemble what I get.  IIRC, I get 2
error messages relating to gtkfilesystem.c, and two from another file
(gtkfilechooser.c?)

http://bugzilla.gnome.org/show_bug.cgi?id=139249

One difference between this bug and mine.. I can't seem to get a
backtrace after the crash.

though it doesn't crash on Linux.

It seems to work alright for me on Linux, as well as in rxvt operating
under msys.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]