After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112833 - gcc3.2.3+aspell+gedit=krash
gcc3.2.3+aspell+gedit=krash
Status: VERIFIED INCOMPLETE
Product: gedit
Classification: Applications
Component: general
2.3.x
Other Linux
: High critical
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2003-05-12 13:11 UTC by alexhack
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Falling occurs by a call of function new_pspell_manager at this moment, instead of from the very beginning of a cycle. (47.08 KB, image/png)
2003-05-12 13:12 UTC, alexhack
  Details
sample edit sources (56.77 KB, image/png)
2003-05-12 13:14 UTC, alexhack
  Details
result edit (51.29 KB, image/png)
2003-05-12 13:15 UTC, alexhack
  Details
Also, at closing gedit with included plugin aspell, there is a falling the program. (50.25 KB, image/png)
2003-05-12 13:17 UTC, alexhack
  Details
my temp stubs (1.72 KB, patch)
2003-05-12 13:23 UTC, alexhack
none Details | Review

Description alexhack 2003-05-12 13:11:48 UTC
All items(points) of the menu concerning to plugins aspell cause falling
the program.
Comment 1 alexhack 2003-05-12 13:12:13 UTC
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.
Comment 2 alexhack 2003-05-12 13:14:26 UTC
Created attachment 16457 [details]
sample edit sources
Comment 3 alexhack 2003-05-12 13:15:02 UTC
Created attachment 16458 [details]
result edit
Comment 4 alexhack 2003-05-12 13:17:46 UTC
Created attachment 16459 [details]
Also, at closing gedit with included plugin aspell, there is a falling the program.
Comment 5 alexhack 2003-05-12 13:20:06 UTC
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)
Comment 6 alexhack 2003-05-12 13:23:09 UTC
Created attachment 16460 [details] [review]
my temp stubs
Comment 7 Paolo Maggi 2003-05-12 13:50:38 UTC
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.
Comment 8 alexhack 2003-05-13 04:08:10 UTC
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.
Comment 9 alexhack 2003-05-13 04:13:09 UTC
'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).
Comment 10 alexhack 2003-05-13 08:06:33 UTC
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
Comment 11 Paolo Maggi 2003-12-20 10:29:54 UTC
Are you still able to reproduce this bug?
Comment 12 alexhack 2004-01-20 08:44:11 UTC
no, it's ok. ASPLinux9+gedit-2.5.3+aspel+gcc-3.2.3
Comment 13 Paolo Maggi 2004-01-20 08:57:04 UTC
Closing since the reported said it is no more reproducible.