New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30301 (new defect)

Opened 22 months ago

Last modified 22 months ago

Octave-Symbolic 1.0.9 error

Reported by: mbrethen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: octave, symbolic pkg Cc:
Port: octave

Description (last modified by ryandesign@…) (diff)

Octave 3.2.4 is installed on my machine, mac os x 10.6.8 (snow leopard) using the MacPorts distribution. I'm interested in doing some symbolic calculations. A portfile doesn't exist for the symbolic pkg, so I loaded the pkg in octave with the following warnings:

octave:1> pkg install ~/Downloads/symbolic-1.0.9.tar.gz
octave_help_OlwdEG:16: Misplaced {.
octave_help_OlwdEG:16: Misplaced }.
warning: gen_doc_cache: unusable help text in 'poly2sym'. Ignoring function.
octave_help_puO7Lr:17: Misplaced {.
octave_help_puO7Lr:17: Misplaced }.
warning: gen_doc_cache: unusable help text in 'sym2poly'. Ignoring function.

To start I attempted to declare some symbols, at which point octave gave the following error message:

octave:1> symbols
octave:2> x = sym("x")
octave(95278) malloc: *** error for object 0x7fff70f01500: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Abort trap -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort trap

I don't know if this is related to the warning message above. It could also be that the libraries included with version 3.2.3 (I'm assuming that this applies to 3.2.4 as well) are 32bit. The attached readme describes a patch that needs to be applied (I couldn't tell from the octave portfile, if this patch is applied) the following patch

Attachments

README_OSX1065.txt (1.8 KB) - added by mbrethen@… 22 months ago.
Readme file for octave 3.2.3
octave-core (679 bytes) - added by mbrethen@… 22 months ago.

Change History

Changed 22 months ago by mbrethen@…

Readme file for octave 3.2.3

comment:1 Changed 22 months ago by mbrethen@…

  • Cc mbrethen@… added

Cc Me!

comment:2 Changed 22 months ago by mbrethen@…

I received some feedback from the oct-dev list:

"The errors you got during installation are not the cause of the second (which I don't know hot to fix). The first error is due to a syntax error on the documentation of those files which has already been fixed on the development version."

The patch is not the issue either, so I am at a loss as to why the symbolic pkg doesn't work with the MacPorts dist. A search on google found this on Octave-Forge:

"After a bit of debugging-by-mail we were able to determine that the error happens in line 90 of 'sym-create.cc'. That is at the end of a block when the 'GiNaC::symbol' destructor is being called. Somehow this causes a crash; I have been unable to determine why."

http://octave.1599824.n4.nabble.com/Developing-Octave-Forge-packages-td3165052.html

comment:3 Changed 22 months ago by ryandesign@…

  • Cc mbrethen@… removed
  • Description modified (diff)

Remember to use WikiFormatting please.

As reporter you do not need to Cc yourself.

comment:4 Changed 22 months ago by mbrethen@…

Attaching the octave- core file...

Changed 22 months ago by mbrethen@…

Note: See TracTickets for help on using tickets.