File selection problem



This is really wierd.  I was making an app. that used the file selection
widget.  All it does at this point is open up a file and print its
contents.  But now the app. segfaults any time I try and click on a file
from the selection menu.

I can type in the filename and press ok, and everything is fine.

Even stranger, I went back to the examples/filesel/filesel.c file and
compiled it.  Ready?

1.  It runs fine as root, from within that directory

2.  It bombs out with a segfault when I try and run it as me, from
within my working directory.  I've checked out ownership and permissions
in my home dir, and everything is fine.

Here's the error message from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x40039807 in gtk_file_selection_file_button (widget=0x8075000, row=8,
    column=0, bevent=0x11, user_data=0x806a798) at gtkfilesel.c:1166
1166          switch (bevent->type)

Anyone have some ideas?  This is driving me crazy!

Email responses preferred.

Thanks,

Dave Topper
--
Technical Director, Virginia Center for Computer Music
Programmer / Analyst, Dean's Office (School of A&S)
http://www.people.virginia.edu/~djt7p
(804) 924-6887



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