Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1946
Closed
Open
Created Aug 27, 2012 by Jaroslav Sýkora@jsaGuest

r18166 (sacarg rewrite) breaks snet-rts/lpel

Bugzilla Link 1016
Created on Aug 27, 2012 22:23
Resolution FIXED
Resolved on Aug 31, 2012 22:51
Version svn
OS Linux
Architecture PC
Attachments udt2.tar.gz, 4c-mini.tar.gz, udt.tar.gz

Extended Description

r18166 breaks snet-rts, segfaulting in SACARGunwrapUdt(). Even when using only a single thread.
Sorry, no time to debug it further now, as I am leaving Advance on Friday, maybe I will have to temporarily revert the whole patch later because I _really_ need to bring all the pieces (sac, lpel, snet-rts) into *a* consistent state :-(
$ gdb ./gigo-lpel 
(gdb) set args -w 1
(gdb) r
Starting program: /home/jara/advance/snet-rts-snetdev/examples/tests/SAC/gigo1/gigo-lpel -w 1
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff490b700 (LWP 19291)]
[New Thread 0x7fffeffff700 (LWP 19292)]
[New Thread 0x7fffedfb6700 (LWP 19293)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff490b700 (LWP 19291)]
0x00007ffff77e295c in SACARGunwrapUdt (out__p=0x7fffef7fdef0, out__desc__p=0x7fffef7fdef8, param=0x7ffff0001e80, 
    param__desc=0x7ffff0001fb0) at interface/sacarg.c:391
391	    = SAC_ND_A_DESC_SIZE( out_nt);                              \
(gdb) bt
#0  0x00007ffff77e295c in SACARGunwrapUdt (out__p=0x7fffef7fdef0, out__desc__p=0x7fffef7fdef8, param=0x7ffff0001e80, 
    param__desc=0x7ffff0001fb0) at interface/sacarg.c:391
#1  0x00007ffff79f320b in SACcw_gigo_CL_XT__gen1 (SAC_MT_self=0x7ffff0001ef0, SAC_arg_1__p=0x7fffef7fdf88, 
    SAC_arg_1__desc__p=0x7fffef7fdf50, SACl_hnd=0x7ffff0001e80, SACl_hnd__desc=0x7ffff0001fb0) at fun1.c:1954
#2  0x00007ffff79f34ba in gigo__gen1 (ret0=0x7fffef7fdf88, arg0=0x7ffff0001e80) at interface.c:44
#3  0x0000000000401ce5 in SNetCall__gen (handle=0x6098c0) at gigo.c:61
#4  SNet__gigo__gen (hnd=0x6098c0) at gigo.c:76
#5  0x00007ffff632da96 in BoxTask (arg=0x609890) at src/runtime/stream/entity/box.c:77
#6  0x00007ffff5adccee in TaskStartup (data=0x609420) at src/task.c:347
#7  0x00007ffff491112b in co_runner () at pcl.c:377
#8  0x00000033e6447310 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking