--- Log opened Thu Jan 08 00:00:49 2015 00:27 #navit: < tryagain> what's up KaZeR 00:28 #navit: <@KaZeR> i'm having a look at reviving the cegui gui, so i 00:28 #navit: <@KaZeR> 'm working on a dummy c++ gui plugin 00:29 #navit: < tryagain> hm cegui? 00:30 #navit: <@KaZeR> it's an opengl gui system. long story short, i'd like to be able to put background in the menus (or even button backgrounds) 00:30 #navit: <@KaZeR> adding backgrounds in internal is easy, but the way it computes the widgets size makes it super difficult ( for me, at least) to add a background to a button with a caption 00:31 #navit: <@KaZeR> a long, long time ago, before the switch to the code with plugins, i wrote a gui using it : http://cegui.org.uk/ 00:33 #navit: <@KaZeR> so, the issue i'm facing right now it this : 00:33 #navit: <@KaZeR> if i compile the code as .c, it seems to work (but it's just a bunch of stubs : http://pastebin.com/HuNLrDAs ) 00:34 #navit: <@KaZeR> if i compile the code as .cpp, needed by cegui, then the plugin_init symbol is not exported in the .so 00:34 #navit: <@KaZeR> i do have U plugin_register_gui_type for example, but not plugin_init 00:39 #navit: < tryagain> i may be patient you're adding extern "C" around? 00:39 #navit: < tryagain> most probably you miss #include "plugin.h" 00:40 #navit: <@KaZeR> erm, around what? the whole code ? 00:40 #navit: <@KaZeR> sorry i pasted the wrong version of the code. i do have #include plugin.h right after #include gui.h 00:41 #navit: <@KaZeR> (without the include i'm getting a 'not declared' error, which makes sense.. but which does not happen if you compile the same file as a .c 00:43 #navit: < tryagain> btw we have cpp gui. gui_qml. 00:43 #navit: <@KaZeR> yes i tried to use that as a reference, but i did not see anything specific, like a extern C in that gui 00:44 #navit: < tryagain> yep 00:49 -!- woglinde [~henning@e179141075.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 00:52 #navit: <@KaZeR> so i really don't understand why we have a different behavior ... 00:59 #navit: < tryagain> sure, i'm reading now graphics_qt_painter, and it seems to be the same 01:00 #navit: < tryagain> possible workaround would be to keep your cpp part in cpp file, while hold plugin_init in separate c file. 01:01 #navit: < tryagain> but it would be interesting to know what makes sense... 01:01 #navit: <@KaZeR> interesting idea thanks 01:02 #navit: <@KaZeR> yeah, i'm also confused by the fact that you don't require plugin.h if you compile the file as .c, you will still get the symbol and the code will work. so it has to be pulled via another dependency... 01:09 #navit: < tryagain> i don't clearly understand what chain re#define of plugin_init does, so i'd suggest to deinclude plugin.h and simply declare void plugin_init(void) inside extern "C" block 01:10 #navit: < tryagain> your nm "0000000000000850 T module_gui_dummy_init" looks pretty much like a mangled plugin_init 01:12 #navit: < tryagain> ah, you don't have #include "config.h" before other headers 01:12 #navit: < tryagain> that might have sense 01:14 #navit: < tryagain> have to go now. good night... 01:14 -!- tryagain [~quassel@178.216.76.123] has quit [Remote host closed the connection] 06:01 -!- jandegr_ [5bb550d2@gateway/web/freenode/ip.91.181.80.210] has joined #navit 07:53 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has joined #navit 07:53 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit 08:26 -!- jandegr_ [5bb550d2@gateway/web/freenode/ip.91.181.80.210] has quit [Quit: Page closed] 08:31 -!- drlizau [~liz@billiau.net] has joined #navit 08:59 -!- drlizau [~liz@billiau.net] has quit [Ping timeout: 264 seconds] 12:04 -!- drlizau [~liz@billiau.net] has joined #navit 12:31 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 15:49 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 15:50 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 15:50 -!- mode/#navit [+o KaZeR] by ChanServ 15:55 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 16:01 -!- KaZeR [~KaZeR@64.201.252.132] has joined #navit 16:02 -!- mode/#navit [+o KaZeR] by ChanServ 16:17 -!- jandegr_ [5bb550d2@gateway/web/freenode/ip.91.181.80.210] has joined #navit 16:19 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 246 seconds] 16:43 #navit: <@KaZeR> hi #navit! 17:27 #navit: < woglinde> hi kazer 17:43 #navit: <@KaZeR> woglinde: have you tried the opengl graphics lately ? it's crashing here, but i don't know if it's my system or the code 17:46 #navit: < woglinde> no 17:46 #navit: < woglinde> sorry 17:46 #navit: < woglinde> never used the gl stuff at all 17:52 #navit: <@KaZeR> ok. you should be able to use the opengl renderer with the internal gui. here, navit starts but crashes if you have valid coordinates, i think it's related to my font processor 17:53 -!- woglinde [~henning@fb-n15-11.unbelievable-machine.net] has quit [Ping timeout: 240 seconds] 17:59 -!- xenos1984 [~quassel@46-30-196-88.dyn.estpak.ee] has joined #navit 18:53 -!- drlizau [~liz@billiau.net] has joined #navit 19:01 -!- tryagain [~quassel@178.216.76.98] has joined #navit 19:10 #navit: < tryagain> KaZeR opengl graphics makes internal gui crash for me too, in freetype. No gps fix required for crash. 19:18 #navit: <@KaZeR> thanks tryagain 19:19 #navit: <@KaZeR> i wanted to investigate a bit the qml gui ( regarding the discussion of yesterday about internal limitations ) but it crashes on the vehicle init. probably an issue with an old or missing init callback 19:44 #navit: <@KaZeR> mmm actually the issue is in qt_painter 20:23 #navit: < tryagain> Navit, jump! 20:24 #navit: < tryagain> Navit, jump 20:25 #navit: <@KaZeR> tryagain: if i may abuse your time again, i have a weird issue. if i enable graphics qt_painter, navit crashes will initializing the vehicle plugin... warning:vehicle_demo:vehicle_demo_new:enter (gdb backtrace ) 20:25 #navit: <@KaZeR> i don't understand the relationship. i see no evidence that the graphics plugin has been loaded at that point 20:26 #navit: < tryagain> KaZeR there was actually a bug in graphics_opengl, fixed with 5995. But opengl graphics looks to be at pretty alpha, using mouse wheel i can make it scroll map forever 20:26 #navit: < tryagain> will look at qt 20:27 #navit: <@KaZeR> awesome tryagain thanks for the opengl fix. 20:27 #navit: <@KaZeR> here's my backtrace for qt_painter : http://pastebin.com/T23REpFH 20:31 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 20:44 #navit: < tryagain> KaZeR in stock configuration, we have i was trying ddd right now but will try valgrind 20:45 #navit: <@KaZeR> damn it's been years since my last usage of valgrind :) 20:46 #navit: < tryagain> just run valgrind ./navit navit_xxx.xml 2>vg 20:46 #navit: < tryagain> for this case it should be sufficient 20:47 #navit: <@KaZeR> i don't see an evidence of corruption so far : http://pastebin.com/CJbei6aB 20:48 #navit: < tryagain> hm doesnt look like valgrind output of segfaulted program... 20:49 #navit: < tryagain> i wasexpecting to see at least complain on 0x00000 access 20:50 #navit: < tryagain> btw what version of qt do you use? I have a couple in my distribution, unsure what to choose to build navit with qt support... 20:51 #navit: <@KaZeR> my qtcore package version is 4.8.5-r2 20:54 #navit: <@KaZeR> mmm. if i comment the line where the code segfaults, i'm getting a Warning: No graphics subsystem available. instead. this might be a clue tho : event_main_loop_run:no event system set 20:54 #navit: <@KaZeR> do we require the event to be set from the vehicle ? 20:55 #navit: < tryagain> don't know (yet) :) 20:55 #navit: <@KaZeR> :) 20:56 #navit: < tryagain> actually, event system is usually part of graphics. it's ifdfed at last lines of qt graphics cpp. 20:56 #navit: <@KaZeR> what's weird also is that i've added dbg(lvl_error,"plugin init starting\n"); to the qt_painter plugin_init, but i do not see it in the output 20:56 #navit: < tryagain> hm.... 20:57 #navit: <@KaZeR> ok so maybe it's the other way : vehicle crashes because the event system has not been setup in the graphics 20:58 #navit: * KaZeR facepalms 20:58 #navit: <@KaZeR> the graphics name is qt_qpainter, not qt_painter ... 20:58 #navit: <@KaZeR> so wrong config... 20:58 #navit: < tryagain> sure. but we probably have different versions of vehicle_demo.c, on my code line 20:58 #navit: < tryagain> ... 280 is struct vehicle_priv *ret; 20:59 #navit: <@KaZeR> mmm.. i have ret->timer=event_add_timeout(ret->interval, 1, ret->timer_callback); 20:59 #navit: <@KaZeR> i might be lagging a bit behind, this is from my github 21:00 #navit: < tryagain> then it may be forward too :) 21:02 #navit: <@KaZeR> we still have a possible bug in the vehicle init tho. we should maybe check if the event loop has been initialized. i'll file a bug 21:05 #navit: < tryagain> sure, we shouldnt crash in that case. I guess fix will be shorther than bug report :) 21:05 #navit: <@KaZeR> haha yeah 21:06 #navit: <@KaZeR> i just wanted to stay focused on trying to run the qml gui for now :) 21:06 #navit: <@KaZeR> i'm making progress, but now it's complaining that i did not specify the window id to be embedded to. the thing is, i don't want to embed it 21:10 #navit: < tryagain> btw the fix should better go into event.c instead of vehicle_demo. So stay tuned with qml, i'll fix the event.c 21:11 #navit: < tryagain> I've seen some flag magic in init code of qpainter.cpp, it does something with it own argv[], maybe it's related to embedding 21:12 #navit: <@KaZeR> mmm thanks 21:12 #navit: <@KaZeR> i remember that it's looking for a window id to embed too, but i did not specify one, so i'm confused 21:20 #navit: <@KaZeR> mmm, some of my issues seems to come from the fact that Q_WS_X11 is defined 21:20 #navit: <@KaZeR> which forces it to try to embed the window. then crashes later on if you explicitely disable it 21:26 #navit: <@KaZeR> SUCCESS :D 21:30 #navit: < tryagain> cool. Looks like i have no time to finish event.c fix. Will do tomorrow. Time to go. 21:30 #navit: < tryagain> gn 21:30 -!- tryagain [~quassel@178.216.76.98] has quit [Remote host closed the connection] 21:30 #navit: <@KaZeR> thanks for your help! 22:12 -!- jandegr_ [5bb550d2@gateway/web/freenode/ip.91.181.80.210] has quit [Quit: Page closed] 23:19 -!- Horwitz [mich1@baldrian.franken.de] has quit [Ping timeout: 264 seconds] 23:23 -!- Horwitz [mich1@baldrian.franken.de] has joined #navit 23:23 -!- mode/#navit [+o Horwitz] by ChanServ 23:31 -!- Horwitz [mich1@baldrian.franken.de] has quit [Ping timeout: 264 seconds] 23:36 -!- Horwitz [mich1@baldrian.franken.de] has joined #navit 23:36 -!- mode/#navit [+o Horwitz] by ChanServ 23:44 -!- Irssi: No PONG reply from server irc.freenode.net in 301 seconds, disconnecting 23:44 -!- Irssi: Connection lost to irc.freenode.net 23:44 -!- Irssi: Removed reconnection to server irc.freenode.net port 6667 23:44 -!- Irssi: Looking up irc.freenode.net 23:44 -!- Irssi: Unable to connect server irc.freenode.net port 6667 [Name or service not known] 23:49 -!- Irssi: Removed reconnection to server irc.freenode.net port 6667 23:49 -!- Irssi: Looking up irc.freenode.net 23:49 -!- Irssi: Reconnecting to irc.freenode.net [185.30.166.38] port 6667 - use /RMRECONNS to abort 23:49 -!- Irssi: Connection to irc.freenode.net established 23:49 !orwell.freenode.net *** Looking up your hostname... 23:49 !orwell.freenode.net *** Checking Ident 23:49 !orwell.freenode.net *** Found your hostname 23:49 !orwell.freenode.net *** No Ident response 23:49 -!- Welcome to the freenode Internet Relay Chat Network NavitLogger 23:49 -!- Your host is orwell.freenode.net[185.30.166.38/6667], running version ircd-seven-1.1.3 23:49 -!- This server was created Sat Feb 22 2014 at 16:03:54 BRT 23:49 -!- orwell.freenode.net ircd-seven-1.1.3 DOQRSZaghilopswz CFILMPQSbcefgijklmnopqrstvz bkloveqjfI 23:49 -!- CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstz CHANLIMIT=#:120 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=freenode KNOCK STATUSMSG=@+ CALLERID=g are supported by this server 23:49 -!- CASEMAPPING=rfc1459 CHARSET=ascii NICKLEN=16 CHANNELLEN=50 TOPICLEN=390 ETRACE CPRIVMSG CNOTICE DEAF=D MONITOR=100 FNC TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: are supported by this server 23:49 -!- EXTBAN=$,ajrxz WHOX CLIENTVER=3.0 SAFELIST ELIST=CTU are supported by this server 23:49 -!- There are 172 users and 90684 invisible on 26 servers 23:49 -!- 26 IRC Operators online 23:49 -!- 7 unknown connection(s) 23:49 -!- 51281 channels formed 23:49 -!- I have 9004 clients and 1 servers 23:49 -!- 9004 15001 Current local users 9004, max 15001 23:49 -!- 90856 104047 Current global users 90856, max 104047 23:49 -!- Highest connection count: 15002 (15001 clients) (2812057 connections received) 23:49 -!- - orwell.freenode.net Message of the Day - 23:49 -!- - Welcome to orwell.freenode.net in Amsterdam, NL. 23:49 -!- - Thanks to http://www.hyperfilter.com/ for sponsoring 23:49 -!- - this server! 23:49 -!- - 23:49 -!- - ORWELL, GEORGE [1903 - 1950] Born in India, his mother 23:49 -!- - moved him to England when he was one year old, and it 23:49 -!- - was in England where he was educated and spent most of 23:49 -!- - his life. Orwell is perhaps best known for his novels 23:49 -!- - Nineteen Eighty-Four and Animal Farm. 23:49 -!- - 23:49 -!- - 23:49 -!- - Welcome to freenode - supporting the free and open source 23:49 -!- - software communities since 1998. 23:49 -!- - 23:49 -!- - ************************************************************** 23:49 -!- - SECURITY ALERT 23:49 -!- - 23:49 -!- - Over the weekend of 13th-14th September freenode staff noticed 23:49 -!- - some compromised binaries present on a number of servers. 23:49 -!- - The servers in question have been removed from the network and 23:49 -!- - shut down. However, it's possible that network traffic - 23:49 -!- - including SSL traffic - has been sniffed and passwords 23:49 -!- - exposed. 23:49 -!- - 23:49 -!- - We therefore recommend that all users change their nickserv 23:49 -!- - password(s) to a new value which is not shared with any 23:49 -!- - other service. 23:49 -!- - 23:49 -!- - You can do this with /msg nickserv set password newpasshere 23:49 -!- - 23:49 -!- - Please note that investigation is ongoing to discover the root 23:49 -!- - cause of the attack, and until this investigation is complete 23:49 -!- - we cannot be 100% certain that all traces of the compromises 23:49 -!- - have been removed. We may have to ask you to change your 23:49 -!- - passwords again after analysis has completed. 23:49 -!- - 23:49 -!- - Further details will appear on https://blog.freenode.net/ 23:49 -!- - 23:49 -!- - ************************************************************** 23:49 -!- - 23:49 -!- - By connecting to freenode you indicate that you have read and 23:49 -!- - accept our policies as set out on http://www.freenode.net 23:49 -!- - freenode runs an open proxy scanner. Please join #freenode for 23:49 -!- - any network-related questions or queries, where a number of 23:49 -!- - volunteer staff and helpful users will be happy to assist you. 23:49 -!- - 23:49 -!- - You can meet us at FOSSCON (http://www.fosscon.org) where we get 23:49 -!- - together with like-minded FOSS enthusiasts for talks and 23:49 -!- - real-life collaboration. 23:49 -!- - 23:49 -!- - We would like to thank Private Internet Access 23:49 -!- - (https://www.privateinternetaccess.com/) and the other 23:49 -!- - organisations that help keep freenode and our other projects 23:49 -!- - running for their sustained support. 23:49 -!- - 23:49 -!- - In particular we would like to thank the sponsor 23:49 -!- - of this server, details of which can be found above. 23:49 -!- - 23:49 -!- End of /MOTD command. 23:49 -!- Mode change [+i] for user NavitLogger 23:50 -!- NavitLogger [~NavitLogg@hypnotoad.geoghegan.me] has joined #navit 23:50 -!- Topic for #navit: The open source vector based navigation program with routing engine. See http://wiki.navit-project.org. Please be patient if you don't get a response immediately. Please use http://navit.pastebin.com for your pastes! Channel is logged : http://irclogs.navit.ie/ Follow @NavitProject on Twitter. 23:50 -!- Topic set by KaZeR [~kazer@4.170.67.86.rev.sfr.net] [Mon May 23 17:10:04 2011] 23:50 [Users #navit] 23:50 [@ChanServ] [ bzed ] [ dwhite ] [ magruder ] [ Number6 ] 23:50 [@Horwitz ] [ Celelibi] [ hape_ ] [ Navit ] [ rah ] 23:50 [@KaZeR ] [ ColdFyre] [ j_f-f ] [ NavitLogger] [ tg ] 23:50 [ Brinky ] [ curious ] [ latouche] [ noradtux ] [ xenos1984] 23:50 -!- Irssi: #navit: Total of 20 nicks [3 ops, 0 halfops, 0 voices, 17 normal] 23:50 !orwell.freenode.net [freenode-info] why register and identify? your IRC nick is how people know you. http://freenode.net/faq.shtml#nicksetup 23:50 -!- Channel #navit created Sun Nov 26 06:47:57 2006 23:50 -!- Irssi: Join to #navit was synced in 6 secs --- Log closed Fri Jan 09 00:00:49 2015