How to get a full description of a given bugid ?
Hello there,
we got a crash on our software since the installation of the february patch cluster. The stack shows that the process crash when calling ex_clean function.
The problem occurs on solaris 8 and 9 and I wonder if this problem is not linked with the fix of bug id 6326163
(extract from 108434-21 patch release notes)
6326163 C++ exception propagates outside of destructor, while "stack unwinding"
Is it possible to get more information regarding this bugid 6326163
Regarding the support contract, we should probably have some, I must investigate.
Regarding my ex_clean problem, I could reproduce the problem with the latest compiler patch installed
Here is the program I compiled with :
% CC -V
CC: Sun C++ 5.8 Patch 121017-01 2005/12/11
%CC -mt -c test.cpp
%CC -o test test.o -lpthread -R /usr/lib/lwp
===========================================
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
void Die(const char* what)
printf("Die %s\n");
exit(1);
class TryCatchThread
public:
pthread_t fThread;
void Start();
void ThreadFunction();
void Join();
extern "C" void* ThreadEntryPoint(void *thread)
((TryCatchThread*)thread)->ThreadFunction();
return NULL;
void TryCatchThread::Start()
if ( pthread_create(&fThread, NULL, ThreadEntryPoint, this) ) Die("pthread_create");
void TryCatchThread::ThreadFunction()
printf("[%hd] Entering thread function\n", fThread);
for(int i=0; i<100000; i++)
try { throw("level1"); }
catch(const char*)
try { throw("level2"); }
catch(const char*) { }
printf("[%hd] Leaving thread function\n", fThread);
void TryCatchThread::Join()
void *val;
if ( pthread_join(fThread, &val) ) Die("pthread_join");
int main(int argc, char* argv[])
unsigned long i=0;
while(1)
printf("%u\n", i);
TryCatchThread t1; t1.Start();
TryCatchThread t2; t2.Start();
TryCatchThread t3; t3.Start();
TryCatchThread t4; t4.Start();
t1.Join();
t2.Join();
t3.Join();
t4.Join();
i++;
===========================================
After few seconds, it dumps a core with ex_clean pstack :
core 'core' of 15254: ./test
----------------- lwp# 5 / thread# 5 --------------------
ff3344d4 __1cG__CrunIex_clean6F_v_ (0, 1, ff34af80, 0, ff34a538, ff34af80) + 10
00011268 __1cOTryCatchThreadOThreadFunction6M_v_ (ffbee3e8, 0, 0, ff34af78, ff34afc8, 12) + c8
00011114 ThreadEntryPoint (ffbee3e8, ff0f0800, 0, 0, 0, 0) + 4
ff1158c0 lwpstart (0, 0, 0, 0, 0, 0)
----------------- lwp# 1 / thread# 1 --------------------
ff09f340 lwpwait (ff0f0000, ff0f0000, ffbee31c, 2, 80, ffbee324) + 8
ff109098 thrpjoin (2, 0, ffbee380, 1, ff128000, 2) + 40
000112e8 __1cOTryCatchThreadEJoin6M_v_ (ffbee3f4, ff0c0284, ff0c3a54, ff0bfc78, 1391c, fffefd10) + 8
00011384 main (1, ffbee464, ffbee46c, 21800, 0, 0) + 54
00010ca0 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 2 / thread# 2 --------------------
ff334268 __1cG__CrunIex_alloc6FI_pv_ (ff34b4d0, 0, 50, 0, ff34a538, ff34b2f0) + d8
000111cc __1cOTryCatchThreadOThreadFunction6M_v_ (ffbee3f4, 0, 0, ff34b338, ff34b428, 24) + 2c
00011114 ThreadEntryPoint (ffbee3f4, ff0f0200, 0, 0, 0, 0) + 4
ff1158c0 lwpstart (0, 0, 0, 0, 0, 0)
----------------- lwp# 3 / thread# 3 --------------------
ff1110b0 mutex_trylock_adaptive (ff34ee48, 10, ff0f0400, ff34ee50, 30f, ff34ee4c) + 98
ff112128 slow_lock (ff34ee40, ff0f0400, ff34ee40, 1, ff34b430, 0) + 38
ff334348 __1cH__CimplHex_free6F_v_ (ff34eecc, 1, ff34b430, 16260, ff34a538, fee7bec8) + 74
0001129c __1cOTryCatchThreadOThreadFunction6M_v_ (ffbee3f0, 0, 0, ff34b388, ff34b478, 10) + fc
00011114 ThreadEntryPoint (ffbee3f0, ff0f0400, 0, 0, 0, 0) + 4
ff1158c0 lwpstart (0, 0, 0, 0, 0, 0)
----------------- lwp# 4 / thread# 4 --------------------
ff1110f8 mutex_trylock_adaptive (ff34ee48, 10, ff0f0600, ff34ee50, 2c7, ff34ee4c) + e0
ff112128 slow_lock (ff34ee40, ff0f0600, ff34ee40, 1, ff34b480, 0) + 38
ff334348 __1cH__CimplHex_free6F_v_ (ff34eeac, 1, ff34b480, 16260, ff34a538, fed7bec8) + 74
0001129c __1cOTryCatchThreadOThreadFunction6M_v_ (ffbee3ec, 0, 0, ff34b3d8, ff34b4c8, 1a) + fc
00011114 ThreadEntryPoint (ffbee3ec, ff0f0600, 0, 0, 0, 0) + 4
ff1158c0 lwpstart (0, 0, 0, 0, 0, 0)
The compiled program works fine on a sun with old runtime (108434-18)
and it failed on another sun with newer (108434-20) and latest runtime (108434-21) installed. Regression bug or do I miss something ?
Similar Messages
-
Sharepoint Workflow : how to get document full path + file name into variable?
Hi,
Anybody knows how to get document full path + file name into a variable in Sharepoint 2010 workflow?
Example http://sp1:80/InvoiceQueue/Shared Documents/123.pdf
I am using List Workflow which links to a document library.Hi SAMSUNG,
According to your description, my understanding is that you want to get the full path of a document in a list workflow.
You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How to get those Char Description when i record please give a solution
Hi Experts
when i try to extend using BDC the meterial all data is getting copied to new plant but in MRP3 Configure varients is not getting copied in bdc i am getting all the values from parent plant but these values are not getting displayed in new plant for only *MRP3 Configure varients
how to get those values please give a solution
and
when i am trying to make the BDC recording of creation of meterial in this process
in MRP3 when i give configurable meterial = Lamp or CT or VOLTMETER and when
i go for configurevariants button it's not displaying any Char Description for the perticular meterial
but in general when i creat a material process there Char Description are coming where i can give the values
how to get those Char Description when i record please give a solutionHi Maen Anachronos
i am Getting popup where i can give any value
but in creation of meterial for a perticular config meterial there is will be 1 templete in which we will get some constant Char Description where we'll have some options to give the value
but when it 's done in BDC Recording it's not displaying any values Char Description then how can we decide the values to what to give when Recording -
How to get the full path instead of just the file name, in �FileChooser� ?
In the FileChooserDemo example :
In the statement : log.append("Saving: " + file.getName() + "." + newline);
�file.getName()� returns the �file name�.
My question is : How to get the full path instead of just the file name,
e.g. C:/xdirectory/ydirectory/abc.gif instead of just abc.gif
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.*;
public class FileChooserDemo extends JFrame {
static private final String newline = "\n";
public FileChooserDemo() {
super("FileChooserDemo");
//Create the log first, because the action listeners
//need to refer to it.
final JTextArea log = new JTextArea(5,20);
log.setMargin(new Insets(5,5,5,5));
log.setEditable(false);
JScrollPane logScrollPane = new JScrollPane(log);
//Create a file chooser
final JFileChooser fc = new JFileChooser();
//Create the open button
ImageIcon openIcon = new ImageIcon("images/open.gif");
JButton openButton = new JButton("Open a File...", openIcon);
openButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int returnVal = fc.showOpenDialog(FileChooserDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
//this is where a real application would open the file.
log.append("Opening: " + file.getName() + "." + newline);
} else {
log.append("Open command cancelled by user." + newline);
//Create the save button
ImageIcon saveIcon = new ImageIcon("images/save.gif");
JButton saveButton = new JButton("Save a File...", saveIcon);
saveButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int returnVal = fc.showSaveDialog(FileChooserDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
//this is where a real application would save the file.
log.append("Saving: " + file.getName() + "." + newline);
} else {
log.append("Save command cancelled by user." + newline);
//For layout purposes, put the buttons in a separate panel
JPanel buttonPanel = new JPanel();
buttonPanel.add(openButton);
buttonPanel.add(saveButton);
//Explicitly set the focus sequence.
openButton.setNextFocusableComponent(saveButton);
saveButton.setNextFocusableComponent(openButton);
//Add the buttons and the log to the frame
Container contentPane = getContentPane();
contentPane.add(buttonPanel, BorderLayout.NORTH);
contentPane.add(logScrollPane, BorderLayout.CENTER);
public static void main(String[] args) {
JFrame frame = new FileChooserDemo();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.pack();
frame.setVisible(true);simply use file.getPath()
That should do it!Thank you !
It takes care of the problem !! -
How to get the full result of a google search?
How to get the full results of a google search?
Nov 23, 2006 2:28 AM
Hi, Friends,
I want to build a URL collector as a seamless and integrated part of my desktop application in java language which can access the full search results of google, but i am not sure the right way? what is the best way to do that in java?
Where to find the relevant materials for the problem?
thanks a lotCross post - http://forum.java.sun.com/thread.jspa?threadID=788627&messageID=4481369#4481369
-
How to get the full image directory when i upload the image to web page???
hai, how to get the full image directory when i upload the image to web page???
here is the example:
<form action="uploadfile.jsp" method="post">
image<input type="file" name="image" />
<input type="submit" value="submit"/>
<%
String s=request.getParameter("image");
%>
<%=s%>
</form>
i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html -
In Mac how to get the Full name of a file Programmatically?
Hi Friends,
I am doing one Mac application for displaying the contents of a file. I can able to get some information about the file by using this code below...
NSDictionary *dict=[fileManager attributesOfItemAtPath:myPath error:nil];
Now I want to get the some other informations also like Full Name, copyRight, version... So Please suggest me how to get the full name of a file Programmaticallly?Your question doesn't make sense.
First off, if you are going to get the attributes of a file, you need its full name before you can do anything. So that's part one taken care of.
This function returns a dictionary full of typical file information (type, size, mod dates, etc.) as well as some HFS data (creator code, type code) which, I strongly suspect, are not "pulled out of the file" but rather generated on the spot. (See NSFileManager for the full list of attribute keys.)
The other items you hoped of retrieving are not part of the regular file system. Sure, a Truetype font has a copyright string and a version, but what about an HTML file? A PNG? A text file you just created?
There simply are no standard functions to retrieve copyright and version. -
RRB-How to get the activity description instead of WBS element in the bill
Dear All,
I am using RRB DIP profile to do my Resource related billing
RRB-How to get the activity description instead of WBS element in the billing
document.Now iam able to get the cost and the quantity used as line items but instead of getting the respective line items in the invoice iam still getting the WBS
element description for all the activities.Can some body guide me to overcome this problem.
Assured reward points for your suggestions and help.
Thanking you,
Best regards,
R.SrinivasanDear All,
Please can any body help me for the same.IT is urgent.I will award you points.
thankyou,
Best regards,
R.Srinivasan -
How to find out the description for the given field?
Hi All,
How to find out the description for the given field?
I mean ETTYP Desription is VTEXT. This we can find in TVEPT Table. So, How canwe find this?
Thanks in Advance
Sri...Hi Avi,
If i want to disply the fields like AUART and 'Description of AUART',
Suppose based on my query i will take AUART from T184 table. And the description of AUART is available in TVAKT table.
my question is if i have given T184-AUART and how do u find out AUART Description ?(How do u know which table is having Description of AUART)?
Thanks in Advance
Sri... -
How to get subordinate org units for a given org unit within specific dates
hi,
How to get subordinate org units for a given org unit within specific datesUse the following Func module ..
HRWPC_RFC_STRUCTURE_GET
*--Get the sub org.unts for the given selection.
CALL FUNCTION 'HRWPC_RFC_STRUCTURE_GET'
EXPORTING
ROOT = root_org <-- Give the Org unit
EVPATH = 'O-O_DOWN'
BEGDA = s_date-low
ENDDA = s_date-high
TABLES
T_OBJEC = t_objec
T_STRUC = t_struc
EXCEPTIONS
NOTHING_FOUND = 1
INTERNAL_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE i000 WITH 'No Sub Orgunits for ' s_objid-low.
else.
*--Prepare final sub org.units tabl.
loop at t_objec.
if t_objec-objid ne s_objid-low.
it_orgunit = t_objec-objid.
it_orgunit-begda = t_objec-begda.
it_orgunit-endda = t_objec-endda.
APPEND it_orgunit.
endif.
endloop.
endif. -
How to get the full path of the fmx's directory.
Hi all,
I will ship my project to a customer. So I must install forms runtime at the customer's machine.
I put all of the fmx files of my project into a certain directory at the customer's machine, and I create a desktop shortcut of the forms runtime. In the "start in" field of the shortcut property I put the full path of the directory where I put the fmx files. And in the target field of the shortcut property I put after the ifrun60.exe the name of the fmx file which to call first.
Now , in one of my forms file I want to get the full path of this directory because I must call Ora_Ffi.Load_Library. And the library which I want to load resides on that directory.
So how to get programatically the directory where the fmx files reside.
I know that there is the registry entry FORMS60_PATH, but we plan to ship many projects to that customer; so if I use the FORMS60_PATH variable then there will be an error because there will be many directories. And the customer can launch many of the projects at the same time.
So how to get it.
Thank you very much indeed.If you are using the d2kwutil library, then you can use the win_api_environment.Get_Working_Directory() function.
If not, I doubt that there is anyway to get it since the get_application_property(current_form) does not return the full path of the form as it used to in prior versions of Oracle forms such as 4.5. -
Tree control - How to get the full path of selected Item in tree control
I am Flex newbie. When the user clicks the particular item in
the tree control I just wanted to get it name along with it's full
parent.
Here is my XML
var dirXML:XML=<root basename="/home/tcegrid">
<Directories>
<Dir Name=".autosave" />
<Dir Name=".emacs.d" />
<Dir Name="AnsysDistributed">
<Dir Name="opt"/>
<Dir Name="root" />
</Dir>
<Dir Name="postgres"/>
<Dir Name="FineTurbo"/>
<Directories>
</root>
The above XML is data provider for Tree control. When the
user clicks the Dir Name called opt. I wanted it absolute path in
XML. say Directories.Dir.Dir.@Name is opt
Can any one tell me how to get this?"Thamizhannal" <[email protected]> wrote in
message
news:gam9q8$4es$[email protected]..
>I am Flex newbie. When the user clicks the particular
item in the tree
>control
> I just wanted to get it name along with it's full
parent.
> Here is my XML
> var dirXML:XML=<root basename="/home/tcegrid">
> <Directories>
> <Dir Name=".autosave" />
> <Dir Name=".emacs.d" />
> <Dir Name="AnsysDistributed">
> <Dir Name="opt"/>
> <Dir Name="root" />
> </Dir>
> <Dir Name="postgres"/>
> <Dir Name="FineTurbo"/>
> <Directories>
> </root>
>
> The above XML is data provider for Tree control. When
the user clicks the
> Dir
> Name called opt. I wanted it absolute path in XML. say
> Directories.Dir.Dir.@Name is opt
> Can any one tell me how to get this?
loop until the parent() property of the XML node is empty.
HTH;
Amy -
How to get the full file content in the spool
Hi,
I am reading one fine from application server. I am getting all that content into one internal table. Again I am trying to write that one into spool. I am creating one spool by using
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
DESTINATION = P_PADEST
DESTINATION = lv_dest
LIST_NAME = lv_name
LIST_TEXT = P_LNAME
LIST_TEXT = 'Label Print'
IMMEDIATELY = 'X'
RELEASE = ' '
NEW_LIST_ID = 'X'
EXPIRATION = 9
LAYOUT = 'X_65_80'
SAP_COVER_PAGE = ' '
RECEIVER = SY-UNAME
DEPARTMENT = 'SYSTEM'
NO_DIALOG = 'X'
IMPORTING
OUT_PARAMETERS = IS_PARAMS
VALID = V_VALID.
but in the spool i am not getting full content. In the internal table i am getting full content but in the spool some 5 to 6 lines are truncating at the last. How can i get the full content? For this i need to do any settings?
Pls suggest reg this.may be the rest of the data is in another page. how many pages your spool showing. just check in SP01 . from menu Goto -> Display Requests -> Settings ->
change the page numbers to view the other pages. -
How to get the full path or name of the Layer to which Filter is applied?
Hi All,
I have created a layer using some background image as source. How to get the name or ful path of the background image?
I checked the documentation and found GetPathNameProc(SPPlatformFileSpecification*) function, but I couldn't get the parameter SPPlatformFileSpecification*.
Is there any other way to get the file path of background layer in my custom filter?
Thanks,
DheerajIf this is a client side application then I'd say look into drag-n-drop tutorials.
i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
Good luck, hope that helps! -
How to get a field description on custom screen used in enhancement
Hi all,
I am working with transaction cj20n. It is having an enhancement and a custom screen is used in it. I have modified the screen by adding a text label ahead of field FUND. I want to get the description of that field on that text label. How can i achieve this? I have the table field where the description is available. How to get it on the screen?
Thanking you in advance.When you refer your field to the DD table field, the domain will contain the text, it will automatically fetch the description. But you can also Hard code them since its a label in the screen.
Regards,
Anita
Maybe you are looking for
-
Save as PDF in Excel rewrites file when saving multiple sheets
Hello, I'm having issues saving Excel files to PDF when multiple sheets of a workbook are active. I constantly need to print multiple sheets of a workbook for a service report, but when multiple tabs are highlighted to print/save it will save each sh
-
IP Address when I'm using iTunes
I'll try to explain a little bit better; actually I'm on MBP connected on a Iomega NAS where I have all my stuffs, music as well. My Nas got a name and of course an IP address. My machine is set to recognise the name and when it starts mount the corr
-
An employee had availed maternity leave and haven't come back to work. How do we stop her accruals in the system as she haven't joined back at work and is not eligible for the annual leaves till she is back in office. -thanks
-
When I open Gmail safari start loading the page, but in a few second the coloured spinning weel appears and i have to force quitting. I have read the other posts about similar problems and tried the apple troubleshooting for Safari. All i can do is t
-
Can not open extentions page.
What to do?