Linux Debian support - Self built totem crashes

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > May 2007 > Self built totem crashes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Self built totem crashes
Roy Carin

2007-05-25, 1:18 am

I'm trying to build totem 0.100 for my Sarge system, but the resulting
executable crashes every time.

I'm installing into my home directory: ~/myloc/ , so I configure totem
this way:

../configure --prefix=$HOME/myloc

Here is the output from ldd for the executable:
----------------------------------------------------
libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x4002c000)
libgnome-desktop-2.so.2 => /usr/lib/libgnome-desktop-2.so.2
(0x40042000) libgnomeui-2.so.0 => /usr/lib/libgnomeui-2.so.0
(0x40057000)
libgnome-keyring.so.0 => /usr/lib/libgnome-keyring.so.0
(0x400f3000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400fd000)
libstartup-notification-1.so.0 =>
/usr/lib/libstartup-notification-1.so.0 (0x4011b000)
libbonoboui-2.so.0 => /usr/lib/libbonoboui-2.so.0 (0x40124000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40183000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4018c000)
libgnomecanvas-2.so.0 => /usr/lib/libgnomecanvas-2.so.0
(0x401a4000)
libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x401d0000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x401e5000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x401ed000)
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40211000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40227000)
libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0x4024e000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x402af000)
libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0x403b6000)
libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0x4041d000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x4042e000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x4047b000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40480000)
libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x40492000)
libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4
(0x404eb000)
libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0
(0x40500000)
libnautilus-burn.so.0 => /usr/lib/libnautilus-burn.so.0
(0x40505000)
libhal.so.0 => /usr/lib/libhal.so.0 (0x40514000)
libdbus-1.so.0 => /usr/lib/libdbus-1.so.0 (0x4051d000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40556000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40834000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x408b3000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0
(0x408d1000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x408e7000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x408ef000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x408fa000)
libxine.so.1 => /usr/lib/libxine.so.1 (0x40933000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4097d000)
librt.so.1 => /lib/librt.so.1 (0x409ea000)
libz.so.1 => /usr/lib/libz.so.1 (0x409fd000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40a10000)
libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x40a25000)
libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x40a58000)
libpopt.so.0 => /lib/libpopt.so.0 (0x40aae000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40ab6000)
libm.so.6 => /lib/libm.so.6 (0x40aea000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40b0d000)
libdl.so.2 => /lib/libdl.so.2 (0x40b11000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40b14000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40b19000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40b6a000)
libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x40bea000)
liblirc_client.so.0 => /usr/lib/liblirc_client.so.0 (0x40bf0000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40bf5000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x40bf9000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40c01000)
libc.so.6 => /lib/libc.so.6 (0x40cc8000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40dfc000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40e2b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40e33000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x40e42000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x40e55000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40e5e000)
-------------------------------------------------------------

When I run it, totem crashes. Here's a GDB session with my totem executable:
------------------------------------------------
GNU gdb 6.3-debian
Copyright 2004 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 "i386-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/garyp/perl/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8185)]
libhal.c 2282 : Error sending msg: Service "org.freedesktop.Hal" does
not exist

** (totem:8185): WARNING **: Can't read /proc/scsi/sg/device_strs
[New Thread 32769 (LWP 8186)]
[New Thread 16386 (LWP 8187)]
[New Thread 32771 (LWP 8188)]
[New Thread 49156 (LWP 8189)]
[New Thread 65541 (LWP 8190)]
[New Thread 81926 (LWP 8191)]
[New Thread 98311 (LWP 8192)]
[New Thread 114696 (LWP 8193)]

(totem:8185): GConf-CRITICAL **: gconf_client_set_string: assertion `val
!= NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 8185)]
0x40d3dc7f in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x40d3dc7f in strlen () from /lib/libc.so.6
#1 0x40d3d9d5 in strdup () from /lib/libc.so.6
#2 0x40943c94 in _x_config_change_opt () from /usr/lib/libxine.so.1
(gdb)
---------------------------------------------------------

Can someone tell me why this is happening and how I can get totem to
build and run properly?

Here's my system info:
Debian 3.1
Linux kernel-2.4.27-3-386
Gnome 2.14.3.6







--
Darren Salt

2007-05-25, 1:14 pm

[Followup-To ignored]

I demand that Roy Carin may or may not have written...

> I'm trying to build totem 0.100 for my Sarge system, but the resulting
> executable crashes every time.


> I'm installing into my home directory: ~/myloc/ , so I configure totem
> this way:


> ./configure --prefix=$HOME/myloc

[snip]
> When I run it, totem crashes. Here's a GDB session with my totem
> executable:


> ------------------------------------------------

[snip]
> (gdb) run

[snip]
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 8185)]
> 0x40d3dc7f in strlen () from /lib/libc.so.6
> (gdb) bt
> #0 0x40d3dc7f in strlen () from /lib/libc.so.6
> #1 0x40d3d9d5 in strdup () from /lib/libc.so.6
> #2 0x40943c94 in _x_config_change_opt () from /usr/lib/libxine.so.1
> (gdb)


_x_config_change_opt has an unexpectedly-NULL pointer; it's a xine-lib
internal function which is only called when you're changing a configuration
entry via an MRL.

You're going to have to build with debug info, and this is the wrong place to
do this kind of debugging - try the appropriate -user lists.

--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| <URL:http://www.youmustbejoking.demon.co.uk/> (PGP 2.6, GPG keys)

B Integer out of range, 0:1
Roy Carin

2007-05-25, 1:14 pm

On 05/25/2007 09:14 AM, Darren Salt wrote:
>
> _x_config_change_opt has an unexpectedly-NULL pointer; it's a xine-lib
> internal function which is only called when you're changing a configuration
> entry via an MRL.
>
> You're going to have to build with debug info, and this is the wrong place to
> do this kind of debugging - try the appropriate -user lists.
>


Thank you.


--
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com