Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25429 - snns - ActiVation function list is not displayed.
Summary: snns - ActiVation function list is not displayed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-28 07:52 UTC by Sergey Kuleshov (RETIRED)
Modified: 2003-09-22 04:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kuleshov (RETIRED) gentoo-dev 2003-07-28 07:52:55 UTC
List of activation functions for the neuron is not displayed any more. I gues it
happened after update of XFree86 4.2 -> 4.3. After some diging in the source, I
found out that the list of functions is loaded properly, but the list control is
either not created, or is not resized properly.

Reproducible: Always
Steps to Reproduce:
1. emerge snns
2. Load some network file (e.g.: snns /usr/share/doc/snns-4.2-r2/examples/xor.net)
3. On the main window click Display and Info buttons.
4. Select some connection between neurons, by draging the mouse from source
neuron to destionation with middle mouse button pressed (e.g.: from 1 to 3)
5. In the Info windows select one of the options menus and choose 'change
activation function' entry.

Actual Results:  
Window with empty list appears.

Expected Results:  
See window with a list of possible activation functions.
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2003-07-30 11:07:38 UTC
It seems that the problem is somwhere within xgui/sources/ui_mainP.c ui_editPopup function.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-05 00:29:58 UTC
Would be nice if you could provide some patch... looks like the package is unmaintained upstream, no release for quite a while. I'll ask on the SNNS mailing list if someone perhaps already has some solution.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-05 00:41:18 UTC
Reported the problem upstream, asked on the list. Stay tuned.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-02 00:02:40 UTC
No reaction so far :-(
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-22 04:57:47 UTC
I have some good news and some bad news.

Bad news first: snns code is quite a mess, for example it uses lots of static buffers without doing correct size checks.

Good news follow: I found out that the problem you mentioned does not happen when you link with libXaw3d instead of libXaw. I also increased some buffer sizes which should make it less likely to crash when entering directories with lots of entries. Please give snns-4.2-r3 a try when it's available with your mirror.