#218 Runtime bus error on SunOS

closed-rejected
None
5
2008-12-13
2008-04-01
Zohar Tal
No

I added support for Specman e language.
I used the regex method.

When running on SunOS, I get a bus error.
When running on Linux, it doesn't happen.

My regex:
addTagRegex (language,
"^.*(define.*);.*$",
"\\1", "d,define,defines", "");

My output:
OPENING tm_tmp.e as Specman language file
stating to make file tags for tm_tmp.e
end of make file tags for tm_tmp.e
File tag done
starting parser
matchRegex |<'
|
matchRegex |define NUM_OF_PORTS 2;
|
makeTagEntry tm_tmp.e
Bus error

Discussion

  • Elliott Hughes

    Elliott Hughes - 2008-04-13
    • assigned_to: nobody --> elliotth
     
  • Elliott Hughes

    Elliott Hughes - 2008-04-13

    Logged In: YES
    user_id=1127237
    Originator: NO

    can you provide an example input file?

    i'm assuming you built your own SunOS binary? can you make sure it's not stripped, then run it in gdb and -- when it crashes -- get the output of gdb's "bt" command? (if you don't know gdb, just type:

    $ gdb /path/to/my/copy/of/ctags
    # various output from gdb
    (gdb) run /path/to/my/file
    # ctags runs and crashes
    (gdb) bt
    # this is the output we want, but send everything from the point gdb starts, so we can see the arguments too.
    (gdb) quit

    on the "run" line, you can provide any arguments you want ctags to see.

     
  • Elliott Hughes

    Elliott Hughes - 2008-12-13
    • status: open --> closed-rejected
     
  • Elliott Hughes

    Elliott Hughes - 2008-12-13

    rejecting for lack of information.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks