Powerino73 / heekscad

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

Error when running from bash #406

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
While troubleshooting issues #404 and #405, I encountered this when running 
from bash

Starting program: /usr/local/bin/heekscad 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
17:08:15: Warning: Mismatch between the program and library build versions 
detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx 
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx 
containers,compatible with 2.8).
17:08:15: Debug: Adding duplicate image handler for 'PNG file'
./src/gtk/bitmap.cpp(626): assert "image.IsOk()" failed in wxBitmap(): invalid 
image

(heekscad:15640): Gtk-WARNING **: Theme file for default has no name

(heekscad:15640): Gtk-WARNING **: Theme file for default has no directories

libgnutls.so.28: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
backtrace
[New Thread 0x7fffe26ea700 (LWP 15644)]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffefe08609 in raise () from /usr/lib/libpthread.so.0
(gdb) backtrace
#0  0x00007fffefe08609 in raise () from /usr/lib/libpthread.so.0
#1  0x00007ffff7327f88 in wxGUIAppTraits::ShowAssertDialog(wxString const&) () 
from /usr/lib/libwx_gtk2u_core-3.0.so.0
#2  0x00007ffff799b342 in ?? () from /usr/lib/libwx_baseu-3.0.so.0
#3  0x00007ffff799bd50 in wxAppConsoleBase::OnAssertFailure(wchar_t const*, 
int, wchar_t const*, wchar_t const*, wchar_t const*) ()
   from /usr/lib/libwx_baseu-3.0.so.0
#4  0x00007ffff72e5650 in wxApp::OnAssertFailure(wchar_t const*, int, wchar_t 
const*, wchar_t const*, wchar_t const*) ()
   from /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff799b7cb in ?? () from /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff7997be0 in wxOnAssert(char const*, int, char const*, char 
const*, char const*) () from /usr/lib/libwx_baseu-3.0.so.0
#7  0x00007ffff72e8692 in wxBitmap::wxBitmap(wxImage const&, int) () from 
/usr/lib/libwx_gtk2u_core-3.0.so.0
#8  0x0000000000694f5b in CHeeksFrame::MakeMenus() ()
#9  0x000000000068b674 in CHeeksFrame::CHeeksFrame(wxString const&, wxPoint 
const&, wxSize const&) ()
#10 0x00000000006544ec in HeeksCADapp::OnInit() ()
#11 0x0000000000676849 in wxAppConsoleBase::CallOnInit() ()
#12 0x00007ffff7a30912 in wxEntry(int&, wchar_t**) () from 
/usr/lib/libwx_baseu-3.0.so.0
#13 0x0000000000650e72 in main ()

I'm running Arch Linux with Cinnamon 2.4.8 with gnome 3.16.0 and holding back a 
few recent gnome update for 3.16.1, worrying that it might break cinnamon 
again. It's fine when running heekscnc from Cinnamon menu, and shows no error 
in the journal

Original issue reported on code.google.com by faulty....@gmail.com on 7 May 2015 at 10:19

GoogleCodeExporter commented 8 years ago
HeeksCAD/CNC works better with wxWidgets 2.8 than 3.0 under GNU/Linux.

Do you use HeeksCNC/CAD from AUR packages ?

Original comment by neomil...@gmail.com on 7 May 2015 at 11:51

GoogleCodeExporter commented 8 years ago
I compile from source back in 22nd Dec 2014, following 
https://code.google.com/p/heekscad/wiki/BuildHeeksCncUnderLinux

If I recalled correctly, the AUR version had some issue, which is why I decided 
to manually compile one.

Original comment by faulty....@gmail.com on 7 May 2015 at 12:27

GoogleCodeExporter commented 8 years ago
At least, one problem is reported :

17:08:15: Warning: Mismatch between the program and library build versions 
detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1008,wx 
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx 
containers,compatible with 2.8).

Plus, as already said wx 2.8 is recommended.

Original comment by neomil...@gmail.com on 11 May 2015 at 11:15

GoogleCodeExporter commented 8 years ago
I'm able to compile properly now based on scripts from AUR and using wx 2.8. 
This issue is resolved now. Thanks.

Original comment by faulty....@gmail.com on 19 May 2015 at 5:09

GoogleCodeExporter commented 8 years ago
Ok, thx

Original comment by neomil...@gmail.com on 19 May 2015 at 7:51