GNOME Bugzilla – Bug 112833
gcc3.2.3+aspell+gedit=krash
Last modified: 2009-08-15 18:40:50 UTC
All items(points) of the menu concerning to plugins aspell cause falling the program.
Created attachment 16456 [details] Falling occurs by a call of function new_pspell_manager at this moment, instead of from the very beginning of a cycle.
Created attachment 16457 [details] sample edit sources
Created attachment 16458 [details] result edit
Created attachment 16459 [details] Also, at closing gedit with included plugin aspell, there is a falling the program.
aspell 0.50.3(my build rpm) aspell-en and aspell-ru have (my build rpm's) gcc-3.2.3(my build rpm) gedit-2.3.1(my build rpm)
Created attachment 16460 [details] [review] my temp stubs
You leak "config", you have to delete it outside the for cycle. Please, use diff -up when sending patches and write a ChangeLog entry too Does this patch solve your crash? Thanks.
No, this patch does not solve a problem, it(he) simply does not give the program to fall. Thus susbsystem aspell in gedit does not function as it is necessary. Basically, a problem that is not possible to establish language of check. As at check, it(he) writes, that language Initial, but does not write what precisely (in dialogue at check of the text). The basic problem functions where all falls it pspell_replace_config and new_pspell_manager, and the second in a case with item(point) of the instruction(indication) of language of check always returned lie, is similar that aspell incorrectly works or at all I do not know. Patch shows those places of a code where at me all falls, and also changes which I have made that the program at least did not fall.
'config' I shall transfer in the end of a cycle and I shall check up, if something will turn out, I shall send patch as is specified, a command(team) diff-up, ok. Also I shall check up on the old compiler (gcc-2.95).
On other system by the way this bug is not shown. (rh7.2+update to 7.3 and gcc-2.95) It is possible, that it at me a problem with gcc-3.2.3. I have compiled it(him) with such options, I can something not so have specified also a subsystem of processing of mistakes in gedit ceases to work normally. Part from gcc32.spec export OPT_FLAGS="%(echo %{opt_flags} | %__sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g')" export CC="gcc" CFLAGS="$OPT_FLAGS" CXXFLAGS="$OPT_FLAGS" XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} \ --infodir=%{_infodir} --enable_shared --enable-threads=posix \ --disable-checking --host=%{_target_platform} --with-system-zlib \ --disable-nls --with-cpu=%{_target_cpu} --enable-__cxa_atexit
Are you still able to reproduce this bug?
no, it's ok. ASPLinux9+gedit-2.5.3+aspel+gcc-3.2.3
Closing since the reported said it is no more reproducible.