bugGChemPaint - Bugs: bug #15184, No vewsion ever compiled for same...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #15184: No vewsion ever compiled for same reason on fedora

Submitted by:  None
Submitted on:  Sun 11 Dec 2005 12:16:43 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

Wed 27 Feb 2013 07:41:48 AM UTC, comment #2:

Too ancient, closing.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 11 Dec 2005 08:42:59 AM UTC, comment #1:

seems you also use glib from cvs. g_data_set_time is deprecated, so this code has to be changed. At the moment, the simplest fix is to remove G_DISABLE_DEPRECATED from the FLAGS.
I am not certain the crash is related to this, I cannot reproduce it even with tyour changes. If you coud provide a stack trace, it would be quite useful.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 11 Dec 2005 12:16:43 AM UTC, original submission:

This is # uname -a
Linux kmberry.org 2.6.14-1.1749_FC5 #1 Thu Dec 8 18:29:22 EST 2005 i686 i686 i386 GNU/Linux

Output gcc-4.1.0-0.6:

document.cc: In constructor 'gcpDocument::gcpDocument(gcpApplication*, bool)':
document.cc:63: error: 'g_date_set_time' was not declared in this scope
document.cc: In member function 'xmlDoc* gcpDocument::BuildXMLTree()':
document.cc:638: error: 'g_date_set_time' was not declared in this scope
document.cc:639: error: 'g_date_set_time' was not declared in this scope
document.cc: In member function 'void gcpDocument::RemoveAtom(gcpAtom*)':
document.cc:703: warning: suggest parentheses around assignment used as truth value
document.cc: In member function 'void gcpDocument::RemoveFragment(gcpFragment*)':
document.cc:719: warning: suggest parentheses around assignment used as truth value
make: *** [document.lo] Error 1

This function doesn't work:
g_date_set_time(&CreationDate, time(NULL));
Don't know about ths one:
g_date_clear(&RevisionDate,1);

I can comment out certain of code which would be as follows:
// g_date_set_time(&CreationDate, time(NULL));

if (!g_date_valid (&CreationDate))
// g_date_set_time (&CreationDate, time (NULL));
// g_date_set_time (&RevisionDate, time (NULL));
gchar buf[64];
// g_date_strftime (buf, sizeof (buf), "%m/%d/%Y", &CreationDate);
// xmlNewProp (xml->children, (xmlChar) "creation", (xmlChar) buf);
// g_date_strftime (buf, sizeof (buf), "%m/%d/%Y", &RevisionDate);
// xmlNewProp (xml->children, (xmlChar) "revision", (xmlChar) buf);

I don't know what xmlNewProp and g_date_strftime have to do with it.

--then I get segfault:
[root@kmberry gchempaint]# gchempaint-unstable
Segmentation fault
[root@kmberry gchempaint]#

I am using cvs openbabel, goffice and chemical-mime-data. I got ghemical cvs running with mopac7 cvs and mpqc cvs so I think my openbabel cvs is good.

I know chemtool has a problem where it segfaults because an array dimension must be changed from 15 to 22 and it was originally thought to be a gcc bug but wasn't. Even chemtool cvs has this problem.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 27 Feb 2013 07:41:48 AM UTCjean_brefortOpen/ClosedOpen=>Closed
Sun 11 Dec 2005 08:42:59 AM UTCjean_brefortAssigned toNone=>jean_brefort
Sun 11 Dec 2005 08:42:58 AM UTCjean_brefortStatusNone=>Need Info

Back to the top


Powered by Savane 3.1-cleanup