Bug 209346

Summary: Frysk crashes when I choose to "Debug an existing process"
Product: [Fedora] Fedora Reporter: Paolo De Nictolis <borzoi>
Component: libgtk-javaAssignee: Stepan Kasal <kasal>
Status: CLOSED RAWHIDE QA Contact: Len DiMaggio <ldimaggi>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: mcvet, mjw, npremji, pmuldoon, rmoseley, scox, timoore
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-27 04:02:00 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: 173278, 210680    
Attachments:
Description Flags
Backtrace of a Frysk crash
none
Free sub regions created in Drawable using gdk_region_destroy none

Description Paolo De Nictolis 2006-10-04 19:10:07 UTC
Description of problem: I launch in execution Frysk Startup Manager. I select to
 "Debug an Existing Process", and I select casually various processes. Simply no
information is displayed, and program returns to main window; or, the debugger
shows me "No information available for this stack frame", then crashes.


Version-Release number of selected component (if applicable):
Version which ships with default installation of Fedora Core 6 Test 3

How reproducible:


Steps to Reproduce:
1. Launch Frysk Startup Manager
2. Choose "Debug an existing process"
3. Choose various processes, casually, till the debugger is displayed
  
Actual results:
Frysk crashes.

Expected results:


Additional info: I run Frysk from command line (/usr/bin/frysk), and when Frysk
crashed, I was able and have backtrace (see attached text file "fryskCrash".

Comment 1 Paolo De Nictolis 2006-10-04 19:10:08 UTC
Created attachment 137762 [details]
Backtrace of a Frysk crash

Comment 2 Phil Muldoon 2006-10-04 19:21:50 UTC
Hi Paolo

This sounds like the upstream bug here:

http://sourceware.org/bugzilla/show_bug.cgi?id=3116

and is tracked in upstream here:

http://bugzilla.gnome.org/show_bug.cgi?id=353298

While we investigate these issues in Java-GNOME, you can workaround it with:

G_SLICE=always-malloc ./FryskGui

Can you confirm similar results?






Comment 3 Paolo De Nictolis 2006-10-04 20:15:34 UTC
Yes, I can confirm with

G_SLICE=always-malloc /usr/bin/frysk

I'm able and run without crashes.
When I choose to "Debug an existing process", I always have "No information 
available for this stack frame", and a "Blocking" message in terminal.
In one case I had a Java NullPointerException error; sorry I wasn't able and 
take note of the specific process.

Comment 4 Andrew Cagney 2006-10-27 01:13:19 UTC
Created attachment 139544 [details]
Free sub regions created in Drawable using gdk_region_destroy

Drawable.c, when creating regions, was setting the "free" method to g_free
instead of gdk_region_destroy.

Comment 5 Andrew Cagney 2006-10-27 04:02:00 UTC
libgtk-java-2.8.7-2.fc7                   dist-fc7
libgtk-java-2.8.7-2.fc6                   dist-fc6-updates-candidate