Bug 114317 - kMathTool crashes with a segmentation fault upon "quit"
Summary: kMathTool crashes with a segmentation fault upon "quit"
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Anne-Marie Mahfouf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 09:13 UTC by Robert Marmorstein
Modified: 2006-09-01 11:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2005-10-13 09:14:00 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.4.4 
OS:                Linux

Here is what happened:
Open kMathTool.  Select Help->kMathToolIntroduction.
Select Geometry->Area->Circle.
Input a few values.
Close kMathTool.
Immediately after close, the program segfaults.  The behavior is reproducible by repeating these steps.

Here is the backtrace(sorry not to use debugging symbols):

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8498)]
0xb64ac2b8 in waitpid () from /lib/libpthread.so.0
#0  0xb64ac2b8 in waitpid () from /lib/libpthread.so.0
#1  0xb7318fb4 in ?? () from /usr/kde/3.4/lib/libkdecore.so.4
#2  0xb7232983 in KCrash::defaultCrashHandler ()
   from /usr/kde/3.4/lib/libkdecore.so.4
#3  0x00000000 in ?? ()
#4  0x00000001 in ?? ()
#5  0x00000000 in ?? ()
#6  0xb64a9731 in __pthread_alt_lock () from /lib/libpthread.so.0
#7  0x08177c50 in ?? ()
#8  0xb6479a00 in __malloc_initialize_hook () from /lib/libc.so.6
#9  0xb64a987b in __pthread_alt_unlock () from /lib/libpthread.so.0
Comment 1 Anne-Marie Mahfouf 2005-10-13 14:06:26 UTC
yes, KMathTools is in playground and is developed by a single developer who does not update the sources very often. That makes it difficult for other people to work on KMathTools. I'll try to tackle it anyway in the following days.
CCing the maintainer in case he can do it.
Comment 2 Anne-Marie Mahfouf 2005-10-13 15:47:04 UTC
I cannot reproduce at all and I cannot even follow your steps. It seems your version is too old.
When you say "Close KMathTool" what do you mean? Quit or Close the window?

The best would be that you update from svn (trunk/playground/edu.kmathtool) and that you see if it is now fixed. If so, please close the report. If not please tell the steps to reproduce.

Thanks
Comment 3 Anne-Marie Mahfouf 2005-10-15 01:37:35 UTC
Asked for Gentoo to remove the ebuild
Thanks to ChrisWhite in #gentoo
http://bugs.gentoo.org/show_bug.cgi?id=109318
Comment 4 Robert Marmorstein 2005-10-15 01:55:54 UTC
After compiling the latest version from SVN, I still see the same behavior.  
To reproduce in the newest version:
1.  Open kMathTool
2.  Select the "Area and Perimeter" tab.
3.  Perform any calculation (I usually compute the area of a circle of radius 4).
4.  Close kMathTool.

It looks like a "double free" error to me.
Comment 5 Anne-Marie Mahfouf 2005-10-15 02:12:16 UTC
Do yu get the error only with this tab or is it any tab? I cannot reproduce here.
Comment 6 Anne-Marie Mahfouf 2006-09-01 11:05:02 UTC
I close this report as the ebuild was removed from Gentoo repository.