Bug 230837

Summary: Devhelp spits - memory corruption due to late invocation of g_thread_init()...
Product: [Fedora] Fedora Reporter: Mayank Jain <majain>
Component: devhelpAssignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: desktop-bugs
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: devhelp-0.13-7.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-23 19:11:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150225    

Description Mayank Jain 2007-03-03 12:57:46 UTC
Description of problem:
Devhelp spits a MEMORY-WARNING when invoked from gedit plugin

***MEMORY-WARNING***: devhelp[12881]: GSlice: g_thread_init() must be called
before all other GLib functions; memory corruption due to late invocation of
g_thread_init() has been detected; this program is likely to crash, leak or
unexpectedly abort soon...

Version-Release number of selected component (if applicable):
devhelp-0.13-3.fc7
gedit-2.17.4-1.fc7

How reproducible:
Everytime F7 is pressed from Gedit after enabling the devhelp plugin

Steps to reproduce
1) Run gedit (gedit-2.17.4-1.fc7) from command line
2) Enable Devhelp plugin from the preferences
3) Write any small C program
4) Highlight "main" & press F7 to invoke devhelp
5) Check the MEMORY-WARNING on the gnome-terminal
  
Actual results:
MEMORY-WARNING

Expected results:
No warning

Additional info:

Comment 1 Christopher Aillon 2007-04-17 19:40:39 UTC
Should probably tackle this for F7...

Comment 2 Matthew Barnes 2007-04-23 19:11:40 UTC
Backported upstream fix to devhelp-0.13-7.fc7.