octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59156] __debug_octave__ does not detect corre


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #59156] __debug_octave__ does not detect correctly macos
Date: Wed, 23 Sep 2020 05:39:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #6, bug #59156 (project octave):

Hi,

I tested the patch by downloading the new version of the
file without recompiling


>> version
ans = 6.0.91
>> __octave_config_info__ hg_id
ans = d8dcb36bb904+
>> __debug_octave__ 
lldb-1100.0.30.12
Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)


this looks like a titally different issue, though.
a terminal with lldb attached to Octave does show up


$ lldb -p 53725
(lldb) process attach --pid 53725
Process 53725 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff5878a616 libsystem_kernel.dylib`__select + 10
libsystem_kernel.dylib`__select:
->  0x7fff5878a616 <+10>: jae    0x7fff5878a620            ; <+20>
    0x7fff5878a618 <+12>: movq   %rax, %rdi
    0x7fff5878a61b <+15>: jmp    0x7fff5878341d            ; cerror
    0x7fff5878a620 <+20>: retq   
Target 0: (octave-cli-6.0.91) stopped.

Executable module set to "/opt/octave/6.0.90/bin/octave-cli-6.0.91".
Architecture set to: x86_64h-apple-macosx-.
(lldb) continue
Process 53725 resuming
(lldb) 


so I think we can close this bug as fixed.

On the other hand, I noticed that some commands 
(those that interact with the shell, I think) 
cause Octave to crash when running under lldb, e.g.:


>> ls
fatal: caught signal Hangup: 1 -- stopping myself...


lldb shows 


Process 53725 exited with status = 1 (0x00000001) 
(lldb)  


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59156>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]