elliotf / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
1 stars 0 forks source link

Error compiling it against wxgtk3.0 #362

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. heekscad

What is the expected output? What do you see instead?

No output errors

What version of the product are you using? On what operating system?
debian jessie

with self build programs as from the wiki

do you need nore details, feel free to contact me

Please provide any additional information below.

17:49:46: Debug: Failed to connect to session manager: SESSION_MANAGER 
environment variable not defined
17:49:47: Debug: Adding duplicate image handler for 'PNG file'
Attempt to automatically load HeeksCNC: /usr/lib/libheekscnc.so
Resource: script_ops.xml found at: /usr/share/heekscnc/script_ops.xml
Resource: script_ops.xml found at: /usr/share/heekscnc/script_ops.xml
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in GetEditable(): 
shouldn't be called for multiline
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in GetEditable(): 
shouldn't be called for multiline
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in GetEditable(): 
shouldn't be called for multiline
Resource: machines.xml found at: /usr/share/heekscnc/machines.xml
Resource: default.tooltable found at: /usr/share/heekscnc/default.tooltable
Errore di segmentazione

Original issue reported on code.google.com by carlo.do...@gmail.com on 1 Jan 2015 at 4:57

GoogleCodeExporter commented 8 years ago
Hi,

Thanks for reporting issue.
But I'm not able to reproduce, could you give more details on how you compiled 
dependencies (libarea, opencamlib, heekscad, etc) and heekscnc ?
Could you also send a gdb backtrace of your segfault ?

Original comment by neomil...@gmail.com on 7 Feb 2015 at 10:51

GoogleCodeExporter commented 8 years ago
Hi, i compiled heekscad an heekscnc from source following the page on
ubuntu, but i'm using debian jessie.
here the backtraces of the error in initialisation of Heekscad:

ASSERT INFO:
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in
GetEditable(): shouldn't be called for multiline

BACKTRACE:
[1] wxTextCtrl::GetEditable() const
[2] wxTextEntry::SetMaxLength(unsigned long)
[3] CProgramCanvas::CProgramCanvas(wxWindow*)
[4] CHeeksCNCApp::OnStartUp(CHeeksCADInterface*, wxString const&)
[5] OnStartUp
[6] CHeeksFrame::CHeeksFrame(wxString const&, wxPoint const&, wxSize const&)
[7] HeeksCADapp::OnInit()
[8] wxAppConsoleBase::CallOnInit()
[9] wxEntry(int&, wchar_t**)
[10] main
[11] __libc_start_main
[12] _start

Second error:

ASSERT INFO:
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in
GetEditable(): shouldn't be called for multiline

BACKTRACE:
[1] wxTextCtrl::GetEditable() const
[2] wxTextEntry::SetMaxLength(unsigned long)
[3] COutputCanvas::COutputCanvas(wxWindow*)
[4] CHeeksCNCApp::OnStartUp(CHeeksCADInterface*, wxString const&)
[5] OnStartUp
[6] CHeeksFrame::CHeeksFrame(wxString const&, wxPoint const&, wxSize const&)
[7] HeeksCADapp::OnInit()
[8] wxAppConsoleBase::CallOnInit()
[9] wxEntry(int&, wchar_t**)
[10] main
[11] __libc_start_main
[12] _start

Third error:

ASSERT INFO:
../src/gtk/textctrl.cpp(847): assert "IsSingleLine()" failed in
GetEditable(): shouldn't be called for multiline

BACKTRACE:
[1] wxTextCtrl::GetEditable() const
[2] wxTextEntry::SetMaxLength(unsigned long)
[3] CPrintCanvas::CPrintCanvas(wxWindow*)
[4] CHeeksCNCApp::OnStartUp(CHeeksCADInterface*, wxString const&)
[5] OnStartUp
[6] CHeeksFrame::CHeeksFrame(wxString const&, wxPoint const&, wxSize const&)
[7] HeeksCADapp::OnInit()
[8] wxAppConsoleBase::CallOnInit()
[9] wxEntry(int&, wchar_t**)
[10] main
[11] __libc_start_main
[12] _start

Now the interface of heekscad appears.

Now I can't reproduce the error i reported, as i didn't remember well all
the operation i have done.

But theese error appears at every startup of heekscad/heekscnc.

Original comment by carlo.do...@gmail.com on 8 Feb 2015 at 2:24

GoogleCodeExporter commented 8 years ago
Ok, so you confirm there is no more segfault error ?

And do asserts errors have side effect on software ?

Original comment by neomil...@gmail.com on 8 Feb 2015 at 3:23

GoogleCodeExporter commented 8 years ago
For now i can't confirm that, as I'm not using Heekscnc extensively (no
machine yet), but the error are present, where I can find a tutorial on
using heekscnc for real work, I'm searching for a opensource solution on
Linux and heekscnc seems the most promising, but hardo to learn, I'm not
much skilled in programming, but I will using it extensively for a project
on making parts so if I can learn how to use it and to make it work better
on my machine I could help in developing it.

I have debian jessie now in frozen state (in alpha stage) and my controller
is Grbl and my machine an eShapeoko.

I can recompile all from scratch if you like and if you tell me the
passages, (I know them but to help you in debugging maybe some flags during
compiling are needed and i can try them).

Regards

carlo D.

2015-02-08 16:24 GMT+01:00 <heekscnc@googlecode.com>:

Original comment by carlo.do...@gmail.com on 8 Feb 2015 at 5:40

GoogleCodeExporter commented 8 years ago
Its not a compiling error, but a runtime error.

This have been fixed in r1565

Original comment by neomil...@gmail.com on 10 Mar 2015 at 3:28