Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - clehmann

Pages: [1]
Developers / Re: Building from the source tarball
« on: September 02, 2007, 04:41:47 pm »
Cool, thanks, glad to see it's not just me.

I'm seeing a bit of a different backtrace than you:

Code: [Select]
clehmann@cascade:~/builds/LinuxMCE-1.1-SRC/src/DCERouter$ sudo gdb /usr/pluto/bin/DCERouter
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/".
(gdb) r
Starting program: /usr/pluto/bin/DCERouter
[Thread debugging using libthread_db enabled]
[New Thread -1227950384 (LWP 25467)]
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the Pluto Public License, available at:
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the Pluto Public License for more details.

[New Thread -1227953264 (LWP 25473)]
[Thread -1227953264 (LWP 25473) exited]
[New Thread -1227953264 (LWP 25474)]
[New Thread -1236345968 (LWP 25477)]
[New Thread -1244738672 (LWP 25478)]
[New Thread -1253131376 (LWP 25479)]
[New Thread -1261524080 (LWP 25480)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227950384 (LWP 25467)]
0x00000018 in ?? ()
(gdb) bt
#0  0x00000018 in ?? ()
#1  0xb7d08bb7 in mysql_send_query () from /usr/lib/
#2  0xb7d08c50 in mysql_real_query () from /usr/lib/
#3  0xb7ce08c5 in mysql_query () from /usr/lib/
#4  0x080cd62e in DBHelper::threaded_db_wrapper_query (this=0x80ff4e0, query=@0xbfb08e58, bIgnoreErrors=false, Retry=false) at ../PlutoUtils/DBHelper.h:211
#5  0x0807fbd2 in DCE::Router::Configure (this=0x80e9130) at DCERouter.cpp:2419
#6  0x0809a6d6 in Router (this=0x80e9130, PK_Device=0, PK_Installation=0, BasePath=@0xbfb093fc, DBHost=@0xbfb09400, DBUser=@0xbfb09404, DBPassword=@0xbfb09408, DBName=@0xbfb0940c, DBPort=3306, ListenPort=3450) at DCERouter.cpp:282
#7  0x0807be82 in main (argc=1, argv=0xbfb094d4) at Main.cpp:184

Developers / Re: Building from the source tarball
« on: September 02, 2007, 01:00:47 am »
Strange, I don't recall having to move libraries around, maybe I forgot a step.  Did you copy the libraries from /usr/pluto/lib over first?
Ok, i tried it again with a fresh source tree and everything built ok.  I was working with a source tree that I manually built a few parts of (basically manually following the script in the Ubuntu_Helpers folder), so I'm not sure what happened there.

I still can't load the though (neither the one from the bin dir or the MythTV_Plugin folder), DCERouter quits with the same undefined symbol. 

That seems very strange to me unless you have linked to the lib directory instead of copying it.
Yeah sorry,  I copied the nm and just changed that text to try and avoid confusion, but neither of the files has any symbols.

It was my original intention to look at those mythtv wrappers as well, so I'll try what you did and see what happens here.

Let me know if you can actually get it to run your .so, I'm pretty sure I've got the changes to make it work with the new protocol (not that they're that hard to figure out) I just can't test it :-\

Developers / Re: Building from the source tarball
« on: September 01, 2007, 05:33:38 pm »
Hmm, I didn't even get this far...

It fails trying to link the orbiter:
Code: [Select]
/home/clehmann/builds/LinuxMCE-1.1-SRC/src/Orbiter/../CreateDevice/UserUtils.cpp:108: undefined reference to `db_wrapper_fetch_row(DB_RES*)'

This symbol looks like it's supposed to come from, but when I look at the symbols using nm:

Code: [Select]
clehmann@cascade:~/builds/LinuxMCE-1.1-SRC/src$ nm lib/
nm: /usr/pluto/lib/ no symbols

So I copy that just got built from pluto_main to the lib folder, and everything links just fine.

I'm trying to add support for svn mythtv, so I build the by changing to the  MythTV_Plugin and doing a make so. I then copy the /usr/pluto/bin and restart the DCERouter, but it won't load due to unresolved symbols:

Code: [Select]
/usr/pluto/bin/DCERouter: symbol lookup error: ./ undefined symbol: _Z20db_wrapper_fetch_rowP6DB_RES

Finally, I copy my new to /usr/pluto/lib and try and start the DCERouter again, but it just segfaults.
Code: [Select]
OG: ========== NEW LOG SECTION ==========
1       09/01/07 10:17:17       DCERouter (server)      Starting... 10
1       09/01/07 10:17:17       DCERouter (server)      Starting... 10
LOG: Sat Sep  1 10:17:17 CDT 2007 Starting
/usr/pluto/bin/ line 69: 21171 Segmentation fault      (core dumped) /usr/pluto/bin/UpdateEntArea -h localhost > >(tee -a /var/log/pluto/updateea.log)

Any ideas?

Pages: [1]