You are not logged in.

#1 2009-06-03 21:25:42

yonatan
Member
Registered: 2009-06-03
Posts: 2

Conduit crashes with segmentation fault

I just installed a fresh install of Arch Linux with xfce installed. Everything is up and running. I wanted conduit to synchronize evolution data with my desktop. I was using Xubuntu and everything was fine. But Arch is 2x faster than xubuntu...

The compilation of conduit went right, reported no error.

I run XFCE but I tried to run it from gnome also just if it was an dependency error... Didn't work. I tried to install firefox from sources since it was an run-mozilla.sh segmentation error. Didn't work.

Here's my rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="fr_CA.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="America/Montreal"
KEYMAP="cf"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(uvcvideo)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="djo-laptop"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network dbus hal netfs avahi-daemon crond fam)

When I run conduit from console, conduit opens but when I add a source provider I got the following (the last two lines):

[djo@djo-laptop conduit]$ conduit
INFO: FOUND FIREFOX LIBS AT /usr/lib/firefox-3.0
[Main                ][INFO   ] Conduit v0.3.15 Installed: True (Main.py:99)
[Main                ][INFO   ] Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57) 
[GCC 4.3.3] (Main.py:100)
[Main                ][INFO   ] Platform Implementations: GnomeVfs,gtkmozembed,GConf (Main.py:101)
[Main                ][INFO   ] Using UI: gtk (Main.py:131)
[gtkui.Canvas        ][INFO   ] Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:25)
[modules.AVConverter ][INFO   ] GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
[modules.iPod        ][INFO   ] iPod support disabled (iPodModule.py:46)
[Module              ][WARNING] Error loading the file: /usr/lib/conduit/modules/iPodModule/iPodModule.py
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 173, in _load_modules_in_file
    mod = self._import_file(filename)
  File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 154, in _import_file
    mods = pydoc.importfile (filename)
  File "/usr/lib/python2.6/pydoc.py", line 262, in importfile
    raise ErrorDuringImport(path, sys.exc_info())
ErrorDuringImport: problem in /usr/lib/conduit/modules/iPodModule/iPodModule.py - <type 'exceptions.NameError'>: name 'gpod' is not defined
 (Module.py:201)
/usr/lib/conduit/modules/BoxDotNetModule/BoxDotNetModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
[modules.Flickr      ][INFO   ] Module Information: flickrapi v1.1 (/usr/lib/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
[modules.Backpack    ][INFO   ] Module Information: backpack (/usr/lib/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
[modules.Feed        ][INFO   ] RSS Feed support disabled (FeedModule.py:53)
[modules.Google      ][INFO   ] Module Information: gdata (/usr/lib/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:45)
[modules.Evolution   ][INFO   ] Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
[modules.Facebook    ][INFO   ] Module Information: pyfacebook v0.1 (/usr/lib/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
[modules.Network     ][INFO   ] Network support enabled (NetworkModule.py:30)
[modules.Network     ][WARNING] Error starting client (Client.py:37)
[modules.Network     ][DEBUG  ] Starting AvahiAdvertiser server (Server.py:35)
[modules.Network     ][WARNING] Error starting AvahiAdvertiser server: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (Server.py:52)
[dataproviders.VolumeFactory][DEBUG  ] Adjusted mount: file:/// (VolumeFactory.py:25)
[dataproviders.VolumeFactory][DEBUG  ] Adjusted mount: file:///home (VolumeFactory.py:25)
[dataproviders.VolumeFactory][DEBUG  ] Adjusted mount: file:///var (VolumeFactory.py:25)
[gtkui.UI            ][INFO   ] Main window constructed  (thread: -1211799872) (UI.py:202)
[SyncSet             ][INFO   ] Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:195)
[SyncSet             ][INFO   ] /home/djo/.config/conduit/settings.xml not present (SyncSet.py:199)
[gtkui.UI            ][DEBUG  ] Presenting GUI (UI.py:227)
[DBus                ][DEBUG  ] DBus Exported: / (DBus.py:127)
[DBus                ][DEBUG  ] DBus Exported: /syncset/gui (DBus.py:127)
[DBus                ][DEBUG  ] DBus Exported: /syncset/dbus (DBus.py:127)
[Conduit             ][DEBUG  ] Adding twoway dataprovider into source position (Conduit.py:140)
/usr/lib/firefox-3.0/run-mozilla.sh: line 131:  3081 Erreur de segmentation  "$prog" ${1+"$@"}

I also tried the SVN version of conduit. The segmentation fault is different but the program still crashes when I try to add data provider :

[djo@djo-laptop conduit]$ ./conduit/conduit
[Main                ][INFO   ]  Conduit v0.3.16 Installed: False (Main.py:126)
[Main                ][INFO   ]  Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57) 
[GCC 4.3.3] (Main.py:127)
[Main                ][INFO   ]  Platform Implementations: GIO,webkit,GConf (Main.py:128)
[Main                ][INFO   ]  Using UI: gtk (Main.py:158)
[gtkui.Canvas        ][INFO   ]  Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:28)
[modules.iPod        ][WARNING]  iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
[modules.AVConverter ][INFO   ]  GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
/home/djo/.packages/conduit/conduit/modules/FacebookModule/FacebookModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
[modules.Facebook    ][INFO   ]  Module Information: pyfacebook v0.1 (/home/djo/.packages/conduit/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
[modules.Facebook    ][INFO   ]  Facebook parsing using: JSON (json) (FacebookModule.py:31)
[modules.iPod        ][WARNING]  iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
[modules.Evolution   ][INFO   ]  Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
[modules.Backpack    ][INFO   ]  Module Information: backpack (/home/djo/.packages/conduit/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
[modules.Feed        ][INFO   ]  RSS Feed support disabled (FeedModule.py:54)
[modules.Flickr      ][INFO   ]  Module Information: flickrapi v1.1 (/home/djo/.packages/conduit/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
/home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
[modules.Google      ][INFO   ]  Module Information: gdata (/home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:46)
[modules.Network     ][INFO   ]  Network support enabled (NetworkModule.py:30)
[modules.Network     ][DEBUG  ]  Starting AvahiAdvertiser server (Server.py:35)
[modules.Network     ][DEBUG  ]  Announcing avahi conduit service (Peers.py:159)
[dataproviders.VolumeFactory][INFO   ]  Waiting for HAL to attempt mount (VolumeFactory.py:38)
[dataproviders.VolumeFactory][INFO   ]  Waiting for HAL to attempt mount (VolumeFactory.py:38)
[dataproviders.VolumeFactory][INFO   ]  Waiting for HAL to attempt mount (VolumeFactory.py:38)
[gtkui.UI            ][INFO   ]  Main window constructed  (thread: -1210530112) (UI.py:202)
[SyncSet             ][INFO   ]  Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:198)
[gtkui.UI            ][DEBUG  ]  Presenting GUI (UI.py:227)
[DBus                ][DEBUG  ]  DBus Exported: / (DBus.py:127)
[DBus                ][DEBUG  ]  DBus Exported: /syncset/gui (DBus.py:127)
[DBus                ][DEBUG  ]  DBus Exported: /syncset/dbus (DBus.py:127)
[modules.Network     ][DEBUG  ]  Resolved conduit service djo-desktop on djo-desktop.local - 192.168.0.103:3400
Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
[modules.Network     ][DEBUG  ]  Remote host 'http://djo-desktop.local' detected (Client.py:49)
[modules.Network     ][DEBUG  ]  Resolved conduit service djo-laptop on djo-laptop.local - 192.168.0.100:3400
Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
[modules.Network     ][DEBUG  ]  Remote host 'http://djo-laptop.local' detected (Client.py:49)
[dataproviders.DataProvider][DEBUG  ]  DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource1:Foo (DataProvider.py:606)
[Module              ][INFO   ]  Dynamic dataprovider (Wrapper: Dynamic Source 1 source (UID: DynamicTestSource1:Foo-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
[DBus                ][DEBUG  ]  DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource1:Foo (DBus.py:134)
[dataproviders.DataProvider][DEBUG  ]  DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource2:Bar:Baz (DataProvider.py:606)
[Module              ][INFO   ]  Dynamic dataprovider (Wrapper: Dynamic Source 2 source (UID: DynamicTestSource2:Bar:Baz-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
[DBus                ][DEBUG  ]  DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource2:Bar:Baz (DBus.py:134)
[dataproviders.DataProvider][DEBUG  ]  DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for CustomKey (DataProvider.py:606)
[Module              ][INFO   ]  Dynamic dataprovider (Wrapper: Preconfigured Test Source source (UID: TestSource-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
[DBus                ][DEBUG  ]  DBus Message from /: Emmiting DBus signal DataproviderAvailable TestSource (DBus.py:134)
[dataproviders.DataProvider][DEBUG  ]  DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-removed for DynamicTestSource1:Foo (DataProvider.py:611)
[Module              ][INFO   ]  Dynamic dataprovider (DynamicTestSource1:Foo) unavailable by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:71)
[DBus                ][DEBUG  ]  DBus Message from /: Emiting DBus signal DataproviderUnavailable DynamicTestSource1:Foo (DBus.py:134)
[Conduit             ][DEBUG  ]  Adding twoway dataprovider into source position (Conduit.py:140)
./conduit/conduit: line 26:  3512 Erreur de segmentation  `dirname $0`/conduit.real $*

I tried to enable webkit instead of gtkmozembed but I can't see how. I really want to use conduit to sync Evolution suite between desktop/laptop

Any help?

Desesperate new arch user.

Offline

#2 2009-06-13 19:12:15

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Conduit crashes with segmentation fault

I've rebuilt conduit with webkit and GIO support by patching the file defs.py.in in the source directory, however the segfault still occurs on my machine. The only difference is that the run-mozilla.sh error is not given but instead a blank line. Perhaps this is related to a specific plugin not working correctly.

edit: this is also occuring with conduit 0.3.14 release. I may try the SVN version later today.

Last edited by iBertus (2009-06-13 19:16:16)

Offline

#3 2009-06-13 19:35:36

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Conduit crashes with segmentation fault

Okay, so the SVN version does the same thing here. It doesn't throw quite so many errors no startup which gave me hope, but still segfaults when trying to add a source or on clicking the "Show me" button.

Offline

#4 2009-06-13 20:45:58

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Conduit crashes with segmentation fault

Alright, it would seem that pygoocanvas from community is a few versions old and doesn't properly match goocanvas from community. I was able to stop the segmentation fault by rebuilding pygoocanvas to be version 0.14.1. Just changing the version in the PKGBUILD and running makepkg seems to be enough.

Offline

Board footer

Powered by FluxBB