Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » OpenBSD porting problem
Re: OpenBSD porting problem [message #19276 is a reply to message #7672] Sun, 23 November 2008 23:58 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Mirek,

I'll give it another try, now.
I bought an eeePC and installed OpenBSD 4.4 on it.
Default compiler is GCC 3.3.5.
I downloaded Upp 2008.1 and adjusted sources and Makefile to compile fine, but in static, NOGTK, debug mode.
Then when I want to start TheIDE, I get an segfault in VCont.h asserting about Container size.
After debugging, I have found that the error occurs at line 437 in Draw/Image.cpp.
Here is part of the debug session:

437							m.image = cached[i];
(gdb) p cached
$15 = {<Upp::MoveableAndDeepCopyOption<Upp::Vector<Upp::Image>, Upp::EmptyClass>> = {<Upp::Moveable<Upp::Vector<Upp::Image>, Upp::DeepCopyOption<Upp::Vector<Upp::Image>, Upp::EmptyClass> >> = {<Upp::DeepCopyOption<Upp::Vector<Upp::Image>, Upp::EmptyClass>> = {<Upp::EmptyClass> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}, vector = 0x0, items = 0, alloc = 0}
(gdb) p i
$16 = 0
(gdb) bt
#0  Upp::Iml::Get (this=0x3c3f9c60, i=0) at uppsrc/Draw/Image.cpp:437
#1  0x1c3d4e30 in Upp::Override (target=@0x3c3f9c60, source=@0x3c3f9c60, 
    colored=true) at uppsrc/Draw/Cham.cpp:554
#2  0x1c3d4ef6 in Upp::ColoredOverride (target=@0x3c3f9c60, source=@0x3c3f9c60)
    at uppsrc/Draw/Cham.cpp:564
#3  0x1c26a576 in Upp::ChStdSkin () at uppsrc/CtrlLib/Ch.cpp:22
#4  0x1c403cc4 in Upp::Ctrl::ChSync () at uppsrc/CtrlCore/Ctrl.cpp:882
#5  0x1c42897f in Upp::Ctrl::InitX11 (display=0x0)
    at uppsrc/CtrlCore/X11App.cpp:375
#6  0x1c0a95d4 in main (argc=1, argv=0xcfbf9d10, envptr=0xcfbf9d18)
    at uppsrc/ide/idewin.cpp:672

As you can see cached is empty, that means assignment at line 432 gave an empty image vector.

I hope you'll find it worth to get Upp also running on OpenBSD, even if it is not a frequently used development plattform.

Regards,
Matthias
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved] Latest CtrlCore fails to compile
Next Topic: upp-2008.1-1.fc9.i386.rpm & Fedora core 6
Goto Forum:
  


Current Time: Thu May 16 03:31:48 CEST 2024

Total time taken to generate the page: 0.03099 seconds