Here is a backtrace.

(gdb) run --debug-break=2000 configs/example/se.py
Starting program:
/home//m5/m5-stable-d8b246a665c1/build/ALPHA_SE/m5.debug
--debug-break=2000 configs/example/se.py
[Thread debugging using libthread_db enabled]
[New Thread 182896745152 (LWP 23756)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182896745152 (LWP 23756)]
0x0000002a955b79f6 in PyInt_AsLong (op=0x8) at Objects/intobject.c:152
152     Objects/intobject.c: No such file or directory.
        in Objects/intobject.c
Current language:  auto; currently c
(gdb) bt
#0  0x0000002a955b79f6 in PyInt_AsLong (op=0x8) at Objects/intobject.c:152
#1  0x0000002a9561263e in PyEval_EvalFrameEx (f=0xbad580,
throwflag=Variable "throwflag" is not available.
)
    at Python/ceval.c:2068
#2  0x0000002a95617375 in PyEval_EvalCodeEx (co=0x2a958578a0,
globals=Variable "globals" is not available.
)
    at Python/ceval.c:2875
#3  0x0000002a956174f2 in PyEval_EvalCode (co=Variable "co" is not available.
) at Python/ceval.c:514
#4  0x0000002a9562cb2b in PyImport_ExecCodeModuleEx (name=0x889a95 "importer",
    co=0x2a958578a0, pathname=Variable "pathname" is not available.
) at Python/import.c:675
#5  0x0000000000408ac3 in initM5Python () at build/ALPHA_SE/sim/init.cc:145
#6  0x0000000000407d22 in main (argc=3, argv=0x7fbffff158)
    at build/ALPHA_SE/sim/main.cc:53
(gdb)



I need to ask helpdesk to install valgrind. Would submit its run once installed.
Best,
Syed

On 9/30/10, Ali Saidi <[email protected]> wrote:
> Could you provide us a backtrace and a run through valgrind?
>
> Thanks,
> Ali
>
> On Sep 30, 2010, at 8:28 AM, Syed Shazli wrote:
>
>> Hi all,
>> I am trying to run ALPHA_SE/m5.opt. Using scons, m5 compiled correctly
>> with the message 'done building targets'.
>>
>> When I run
>> build/ALPHA_SE/m5.debug with or without arguments, I get a Segmentation
>> fault. The gdb shows this
>>
>>
>> [ m5-stable-d8b246a665c1]$ gdb build/ALPHA_SE/m5.debug
>> This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
>> libthread_db library "/lib64/tls/libthread_db.so.1".
>>
>> (gdb) run --debug-break=2000 configs/example/se.py
>> Starting program:
>> /home/sshazli/m5/m5-stable-d8b246a665c1/build/ALPHA_SE/m5.debug
>> --debug-break=2000 configs/example/se.py
>> [Thread debugging using libthread_db enabled]
>> [New Thread 182896745152 (LWP 15555)]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 182896745152 (LWP 15555)]
>> 0x0000002a955b79f6 in PyInt_AsLong (op=0x8) at Objects/intobject.c:152
>> 152     Objects/intobject.c: No such file or directory.
>>         in Objects/intobject.c
>> Current language:  auto; currently c
>>
>>
>> I am running it on linux and gcc version is 3.4.5. These segfaults started
>> happening yesterday. I can still run my m5.opt and m5.debug which I
>> compiled earlier (about a month ago) but the recent compilations are
>> giving me segfault. I have not made any changes to the code.
>>
>> Any help is greatly appreciated.
>>
>> Thanks,
>> Syed
>> _______________________________________________
>> m5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to