By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1322

Summary: ksim crashes when configuration dialog launched.
Product: TDE Reporter: Alexander Golubev (Fat-Zer) <fatzer2>
Component: tdeutilsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, darrella
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: amd64   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: backtrace
fix patch

Description Alexander Golubev (Fat-Zer) 2012-11-15 00:27:10 CST
See the discussion on BUG 1310 starting on comment 12: http://bugs.pearsoncomputing.net/show_bug.cgi?id=1310#c12
Comment 1 Alexander Golubev (Fat-Zer) 2012-11-15 00:40:02 CST
Created attachment 980 [details]
backtrace

Backtrace can vary from system to system and even from build to build.
Comment 2 Alexander Golubev (Fat-Zer) 2012-11-15 00:53:41 CST
Created attachment 981 [details]
fix patch

the patch fixes the crash for me.

Generally the crash should appear only when KSim::Plugin::fileName() returns TQString(), but for some reason even if d is not NULL d->name is copied to the stack and the link to the on stack copy is returned. This copy is corrupted by later calls. And leads to SIGSEGV.

The by-value return prevents that.
Comment 3 Darrell 2012-11-15 14:03:38 CST
The patch works for me with Slackware 13.1 32-bit. I'm not a C++ guru therefore Tim or Slavek will have to review and approve before pushing to GIT. :)

Good work!
Comment 4 Darrell 2013-03-02 22:57:09 CST
Patch in attachment 981 [details] pushed to GIT in commit 4ed913cf. Resolved.