Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Erich Steinböck
To make sandbox/rick/rexxutil compile with gcc 5.4.1 I had to apply a few changes ~~~ Index: interpreter/classes/NumberStringClass.cpp === --- interpreter/classes/NumberStringClass.cpp (revision 11704) +++

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Erich Steinböck
> > how did you determine this? > On Linux you'd use gdb. We have a short Wiki page how to debug on Linux at https://sourceforge.net/p/oorexx/wiki/how-to-debug-oorexx/ Like this: ~~~ rexxutil-debug$ gdb bin/rexximage (gdb) run Starting program: rexxutil-debug/bin/rexximage [Thread debugging

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Jean Louis Faucher
I made a debug on MacOs with Xcode (after fixing the compile error).rexximage(30751,0x10075b380) malloc: *** error for object 0x101801800: pointer being freed was not allocated#0 0x7fff7b350b66 in __pthread_kill ()#1 0x0001007540f0 in pthread_kill ()#2 0x7fff7b2ac1ae in abort ()#3

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Rick McGuire
Hmmm, it's strange I'm not seeing a similar problem on Windows. It sounds plausible that's the problem. For my education, how did you determine this? Rick On Sat, Feb 2, 2019 at 6:00 AM Jean Louis Faucher wrote: > FileNameBuffer > You should create a copy constructor and a copy assignment

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Jean Louis Faucher
FileNameBuffer You should create a copy constructor and a copy assignment operator. With their default implementation created by the compiler, the buffer is copied as-is, and you have multiple delete of the same buffer. FileNameBuffer(const FileNameBuffer ); FileNameBuffer =(const

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-02 Thread Rick McGuire
oops, I still had some uncommitted code. Rick On Fri, Feb 1, 2019 at 7:57 PM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > Hi Rick, > I gave it a try with > > svn checkout https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil > oorexx.rick > > > svn

Re: [Oorexx-devel] Need some help with linux debugging.

2019-02-01 Thread Enrico Sorichetti via Oorexx-devel
Hi Rick, I gave it a try with svn checkout https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil oorexx.rick svn info Path: . Working Copy Root Path: /opt/oorexx.rick URL: https://svn.code.sf.net/p/oorexx/code-0/sandbox/rick/rexxutil Relative URL: ^/sandbox/rick/rexxutil Repository

[Oorexx-devel] Need some help with linux debugging.

2019-02-01 Thread Rick McGuire
For my rexxutil sandbox version, I'm able to get a clean build on Windows, but on Linux, I get a crash running rexximage. I've tried debugging this using ddd, but it doesn't really give my any useful information. I'd really appreciate any assistance you can provide. Rick