beaver-devel
[Top][All Lists]
Advanced

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

Re: [Beaver-devel] Menu sensitivity while opening file


From: Tobias Heinzen
Subject: Re: [Beaver-devel] Menu sensitivity while opening file
Date: Wed, 25 Jun 2008 14:10:52 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

I spend now some time over this problem and I can't find any solution (since I don't really know what exactly is causing the problem). The Error "invalid next size (fast):" possibly indicates that an array has gone over it's boundaries and tainting some memory. But some runs with valgrind disproved that theory as it said nothing about that (could be that valgrind does not check such things).

Another possibility is, that the use of the deprecated gtk_item_factory is causing these errors. But this is also difficult to prove. A solution would be to remove this feature for the time beeing. Also I found out that the bug only happens with specific files. Only those were affected and are producing the error. I do not know exactly what it's different in those files.

I also had to make some changes to the Makefile again (especially setting some permissions correctly, since the about.pxm file couldn't get loaded)

greets
Tobias


-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Double 12
Sent: Tuesday, 24 June, 2008 16:27
To: address@hidden
Subject: Re: [Beaver-devel] Menu sensitivity while opening file

I'm afraid we have a problem...Beaver still crashes (segfault) when opening a file. Sometimes it is the first file I try to open, sometimes a second one (rather unpredictable).

filesops.c: display_recent_files(): Begin
*** glibc detected *** ./beaver: free(): invalid next size (fast): 0x085aff90

Btw: I added DEBUG_FCN to the Makefile again for debugging, just remove it if you find it annoying.

Double 12


Tobias Heinzen schreef:
Well I fixed the problem of premature closing of files. There's now a variable called Editable for every File thats getting set to false when SyHi. A lot of operations are now blocked until the SyHi has finished (cut/pase/copy/close/save...)

The other problem was funny to solve. I removed the configuration file and that seemed to solve it. I've got no idea why this is the case. I located the error it was this line that caused the error: gtk_item_factory_create_items (MainFactory, 1, &NewEntry, NULL);

Can you check if the error has gone if you remove your config file?

I also corrected some small things in the Makefile (using -f on symlink creation and copying only *.bl files into the bl directory) the rest was pretty much what I had in mind ^^

greets
Tobias



_______________________________________________
Beaver-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/beaver-devel


_______________________________________________
Beaver-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/beaver-devel




_______________________________________________
Beaver-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/beaver-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]