Re: Seg fault with hla 1.99 on Fedora 8 linux



Hi

Thanks for all the help so far. I downloaded v1.97, and got a
slightly different effect:

[david@beechwood:~/local/AoA/Volume1/Ch02 ] $ ./HelloWorldWithVar
Segmentation fault (core dumped)

Whereas with 1.99 I had:

[david@beechwood:~/local/AoA/Volume1/Ch02 ] $ ./"HelloWorldWithVar"
Hello, World of Assembly Language
InitDemo's value is Segmentation fault (core dumped)



Is there anything else I can do to give you more information? I got a
core dump and loaded it into gdb. It didn't have much of a stack
trace , but here it is anyway:

For v1.97:

This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning: core file may not match specified executable file.
(no debugging symbols found)
Core was generated by `./HelloWorldWithVar'.
Program terminated with signal 11, Segmentation fault.
#0 0x080481d5 in BuildExcepts__hla_ ()

For v1.99:

This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".

warning: core file may not match specified executable file.
Core was generated by `./HelloWorldWithVar'.
Program terminated with signal 11, Segmentation fault.
#0 0x0804a02d in ?? ()

Kind Regards
David

.



Relevant Pages

  • Re: What happens when your program crashes?
    ... Segmentation fault (core dumped) ... Reading symbols from /lib/ld-linux.so.2...done. ... pcl_DllistSetExecutorFunction(fieldlist, stdout); ...
    (comp.lang.c)
  • Re: sfxload issues.
    ... Red Hat Linux release 7.0 ... > Segmentation fault (core dumped) ... > GDB is free software, covered by the GNU General Public License, and you ...
    (Vuln-Dev)
  • Re: Read line at at time and split up that line
    ... > Now the script is running and running, it gets a segmentation fault ... > at analyzing core dumps. ...
    (comp.unix.shell)
  • TRU64 /bin/chsh overflow
    ... % uname -a ... dbx version 5.1 ... Core file created by program "chsh" ... signal Segmentation fault at ...
    (Vuln-Dev)
  • Virtual function in a shared object was not resolved by linker
    ... We are getting a problem with virtual function which is not being bound ... We had analysed the core dump with the registers command and found the ... warning: Unable to access address 0xfffffffffffffffc from core ...
    (comp.unix.aix)