Opened 17 years ago
Closed 17 years ago
#24 closed defect (fixed)
caba-vgmn-vcache_multi_timer-iss2_mipsel platform: segmentation fault
| Reported by: | Owned by: | developers | |
|---|---|---|---|
| Priority: | major | Component: | IP-Cores |
| Keywords: | Cc: | alinevieiramello@… |
Description
When I execute the caba-vgmn-vcache_multi_timer-iss2_mipsel platform, the simulation results a segmentation fault.
The backtrace provided by gdb is presented bellow:
[Thread debugging using libthread_db enabled]
[New process 15938]
SystemC 2.2.0 --- Sep 19 2008 14:58:49
Copyright (c) 1996-2006 by all Contributors
ALL RIGHTS RESERVED
[New Thread 1115856 (LWP 15938)]
[Detaching after fork from child process 15941. (Try `set detach-on-fork off'.)]
[Detaching after fork from child process 15943.]
[Detaching after fork from child process 15945.]
[Detaching after fork from child process 15947.]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1115856 (LWP 15938)]
0x002fc13b in ____strtol_l_internal () from /lib/libc.so.6
Change History (3)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
| Cc: | alinevieiramello@… added |
|---|
The backtrace from the segv is presented bellow:
#0 0x002fc13b in ____strtol_l_internal () from /lib/libc.so.6 #1 0x002fbe9f in __strtol_internal () from /lib/libc.so.6 #2 0x002f94c9 in atoi () from /lib/libc.so.6 #3 0x0806ae3d in _main () #4 0x0806b660 in sc_main () #5 0x0808c345 in sc_elab_and_sim () #6 0x0808c252 in main ()
comment:3 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Looks like you have to pass the cycles to run the platform as an argument to the simulator, but it is not checked for, therefore you have a NULL which goes through to atoi(). Reopen the ticket if I'm wrong.
Note: See
TracTickets for help on using
tickets.


Could you please attach a backtrace from the segv ?
(just type "bt" at gdb prompt)
Thanks