Segfault in ee_flex_demoboard.c

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
cento
Newbie
Posts: 2
Joined: Sat Oct 30, 2010 10:32 pm

Segfault in ee_flex_demoboard.c

Post by cento » Mon Nov 01, 2010 6:38 pm

Environment: Eclipse+linux+gcc_patched+bisnutils_patched
Source: last update via eclipse_update (truck source)

Code: Select all

CPP   ee_flex_demoboard.c
In file included from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/ee_internal.h:49,
                 from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/board/ee_flex/src/ee_flex_demoboard.c:46:
./eecfg.h:39:7: warning: no newline at end of file
In file included from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/cpu/pic30/inc/ee_cpu.h:50,
                 from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/cpu/pic30/inc/ee_internal.h:49,
                 from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/ee_internal.h:106,
                 from /home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/board/ee_flex/src/ee_flex_demoboard.c:46:
./eecfg.h:39:7: warning: no newline at end of file
/home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/board/ee_flex/src/ee_flex_demoboard.c: In function ‘EE_usb_init’:
/home/cento/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins/com.eu.evidence.ee_1.5.1.201010291149/ee_base/pkg/board/ee_flex/src/ee_flex_demoboard.c:323: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://support.microchip.com> for instructions.
make: *** [obj/pkg/board/ee_flex/src/ee_flex_demoboard.o] Errore 1

Some ideas?

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Segfault in ee_flex_demoboard.c

Post by paolo.gai » Mon Nov 22, 2010 12:18 pm

Hi!

No, i have no ideas about this. is the behavior always reproducible? (that is: is it always failing at the same point?

If so, It is probably good to send a report to microchip.

The best thing i guess could be to:
- compile with the VERBOSE=1 option in the make command
- take the command which is failing
- adding -E -P at the end, to run the preprocessor
- try to compile the preprocessed output, to see if the problem is reproducible with the preprocessed output only.

If that is true, we could send the preprocessed output to Microchip Support, without the need for them to install the complete suite of ERIKA Enterprise... (It would be 1 file only).

Ciao,

PJ

Post Reply