Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156284 - sci-chemistry/easychem 0.6 export function broken
Summary: sci-chemistry/easychem 0.6 export function broken
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-26 03:14 UTC by Hannes Nagel
Modified: 2008-07-07 06:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace of crash (attach.crash,4.21 KB, text/plain)
2006-11-26 03:41 UTC, Hannes Nagel
Details
`emerge --info` (attach.emerge,3.09 KB, text/plain)
2006-11-26 03:54 UTC, Hannes Nagel
Details
Ghostview error log (attach.gv,676 bytes, text/plain)
2006-11-26 03:55 UTC, Hannes Nagel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Nagel 2006-11-26 03:14:55 UTC
Beginning new drawings after having saved and exported the last drawing seems to double free some memory and therefore crashs the program. glibc says 'double free or corurption'. 
Also, the export dialog is limited to only Xfig and "poor bounding box EPS" where the latter is not working at all (probably causing the crash afterwards): 
I tested against a binary of easychem provided by the author at http://easychem.sourceforge.net/, which did not show these problems.

Attachments:
crash backtrace
ghostscript error log
emerge --info
Comment 1 Hannes Nagel 2006-11-26 03:41:09 UTC
Created attachment 102742 [details]
Backtrace of crash
Comment 2 Hannes Nagel 2006-11-26 03:54:42 UTC
Created attachment 102743 [details]
`emerge --info`
Comment 3 Hannes Nagel 2006-11-26 03:55:05 UTC
Created attachment 102744 [details]
Ghostview error log
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-11-27 06:40:20 UTC
Seems to work here on my amd64 system, but the keyword was removed due to pstoedit issues on the amd64 architecture. I do only have the options you mention available but they are both working here. I am really busy writing up my thesis right now (and was planning on using this to draw some simple 2D structures) so I will take a look at it but can't guarantee when.

If anyone else can get to the bottom of this please feel free to commit. It seems to work here but with a limited set of export options. I just exported a simple structure for 4-methylbenzenethiol without any issues and it looks pretty good.
Comment 5 Jeffrey Gardner (RETIRED) gentoo-dev 2006-11-27 13:13:57 UTC
Yes, I can _sometimes_ recreate the crash if I start a fresh molecule, export it, and then hit File->New. It works well enough if you save your work...
I looked at the easychem mailing list, and it has a total of 4 posts since 2003. I'll copy the error there and see what Francois-Xavier says...
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-11-27 14:06:39 UTC
I was going to say that development was very active for quite a while, but it seems to have died away recently. No new updates in quite some time either.
Comment 7 Jeffrey Gardner (RETIRED) gentoo-dev 2006-11-27 14:26:35 UTC
I thought the same, but Francois-Xavier got right back to me with a reply:

>From what I saw in the bug report, the crash doesn't happen with the
binary I provide. Probably the Gentoo package is based on 0.6, while my
binary is based on SVN; a few bugfixes were incorporated to SVN after
0.6. I plan to do a 0.7 release (bugfixes and a few UI changes) near
Christmas.

-- FX 


So it appears we'll get a nice christmas present :D
Comment 8 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-11-27 14:32:36 UTC
That is great news - I was hoping to use this to draw some more structures so I will have to see about getting hold of the SVN source if a release doesn't come out in the next week or two. Thanks for chasing this up. Hopefully we will get this fixed up soon.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2008-07-07 06:09:17 UTC
This is an ancient bug with still no new releases from upstream, although there have been commits in svn in the past few months. I'm going to mark this upstream because we're waiting on them.