Menu

#4 Compilation GCC4.7 + Example Segfault

v1.0 (example)
open
None
5
2016-01-18
2016-01-18
No

Library does not compile with compiler gcc 4.7

When I try to work around compilation problems (missing includes and conversion of pointer to integer in TRT library) I get segmentation fault similar to the one reported in another bug report (on Debian 32 bit):

(gdb) r
Starting program: /home/poplavko/work/1/OLESYA/yapi-2.1.1/tst/pc/.libs/lt-pc

Program received signal SIGSEGV, Segmentation fault.
thr_create (new_thread=0x8051b80, fun=0x0, arg=0xbffff334) at trt.c:585
585 call_start_function();
(gdb) bt
0 thr_create (new_thread=0x8051b80, fun=0x0, arg=0xbffff334) at trt.c:585
1 0xb7fb40a7 in trtTask::join (this=0x8051b70) at trttask.cc:51
2 0xb7fb07d9 in TaskImpl::join (this=0x8051630) at taskimpl.cc:39
3 0xb7fb05a6 in Task::join (this=0x8051630) at taskapi.cc:32
4 0xb7faed0e in cosyProcess::join (this=0x8051b50) at cosyprocess.cc:75
5 0xb7fab007 in cosyNetwork::join (this=0x8051808) at cosynetwork.cc:151
6 0xb7fab733 in cosyNetwork::start (this=0x8051808) at cosynetwork.cc:267
7 0xb7faa2d0 in cosyRte::start (this=0x80515b8, n=...) at cosyrte.cc:120
8 0x0804d5b6 in RTE::start (this=0xbffff9f0, n=...) at ../../src/rte/rapi/apiRte.h:27
9 0x0804d2ec in main () at main.cc:35

Could you provide a more recent tested version of this library?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.