Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Regular Contributor wktsang1's Avatar
    Join Date
    Feb 2005
    Posts
    53
    Here is the full log
    =================
    signal sender=org.freedesktop.DBus -> dest=:1.167 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
    string ":1.167"
    method call sender=:1.167 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
    string "type='method_call'"
    method call sender=:1.167 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
    string "type='method_return'"
    method call sender=:1.167 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
    string "type='error'"
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=41 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string ":1.168"
    string ""
    string ":1.168"
    method call sender=:1.168 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
    method call sender=:1.168 -> dest=org.gtk.vfs.Daemon serial=2 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=listMountableInfo
    method return sender=:1.8 -> dest=:1.168 reply_serial=2
    array [
    struct {
    string "sftp"
    string "sftp"
    array [
    string "ssh"
    ]
    int32 22
    boolean true
    }
    struct {
    string "http"
    string "http"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "trash"
    string "trash"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "obex"
    string "obex"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "computer"
    string "computer"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "network"
    string "network"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "dav"
    string "dav"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "localtest"
    string "localtest"
    array [
    ]
    int32 0
    boolean false
    }
    struct {
    string "ftp"
    string "ftp"
    array [
    ]
    int32 21
    boolean true
    }
    struct {
    string "burn"
    string "burn"
    array [
    ]
    int32 0
    boolean false
    }
    ]
    method call sender=:1.151 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
    string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='mounted'"
    method call sender=:1.151 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
    string "sender='org.gtk.vfs.Daemon',interface='org.gtk.vfs.MountTracker',member='unmounted'"
    method call sender=:1.152 -> dest=org.freedesktop.DBus serial=36 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
    string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.thumbnailer'"
    method call sender=:1.152 -> dest=org.freedesktop.DBus serial=37 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
    string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'"
    method call sender=:1.152 -> dest=org.freedesktop.DBus serial=38 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
    string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.DBus'"
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=108 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string ":1.151"
    string ":1.151"
    string ""
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=109 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string "org.freedesktop.Tracker.Indexer"
    string ":1.152"
    string ""
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=110 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string ":1.152"
    string ":1.152"
    string ""
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=111 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string ":1.153"
    string ":1.153"
    string ""
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=112 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
    string ":1.168"
    string ":1.168"
    string ""
    =================

  2. #17
    Regular Contributor gurmukh's Avatar
    Join Date
    Feb 2009
    Posts
    54
    Sorry to jump on your thread,

    The logs are here: http://gurmukh.vndv.com/logs.zip

    The application is called "test". And I have run it many times and it has crashed in the log. It all seems to crash just after the following line is shown:

    May 26 13:23:59 Nokia-N900 test[5619]: GLIB CRITICAL ** Gtk - gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

    To re-iterate, this application does not crash when it's run from the command line, only from the UI.

    thanks

  3. #18
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    For example log of sample application:
    http://wiki.forum.nokia.com/index.ph...mple-0.0.1.zip
    Code:
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=79 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string ":1.105"
       string ""
       string ":1.105"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
       string "destination=':1.105'"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
       string "type='signal',sender='org.freedesktop.DBus',member='NameAcquired'"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
       string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.DBus'"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
       string "org.freedesktop.DBus"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
       string "type='signal',sender='org.freedesktop.DBus',member='NameLost'"
    signal sender=org.freedesktop.DBus -> dest=(null destination) serial=80 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string "org.indt.sample"
       string ""
       string ":1.105"
    method call sender=:1.105 -> dest=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
       string "org.indt.sample"
       uint32 4
    method call sender=:1.35 -> dest=org.freedesktop.DBus serial=40 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixProcessID
       string "org.indt.sample"
    You don't have that in your log, which means you do not register your application name on DBus and DBus kills your application.
    There are two possible solution:
    1. Do register name, which matches the name id desktop file.
    2. Remove X-Osso-Service line from desktop file together with service file.

  4. #19
    Regular Contributor gurmukh's Avatar
    Join Date
    Feb 2009
    Posts
    54
    That seemed to do the trick! Thanks very very much

  5. #20
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by gurmukh View Post
    May 26 13:23:59 Nokia-N900 test[5619]: GLIB CRITICAL ** Gtk - gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
    This is unrelated to the problem, Qt tries to integrate with Gtk2-based environment.

    Quote Originally Posted by gurmukh View Post
    To re-iterate, this application does not crash when it's run from the command line, only from the UI.
    This is because Hildon-desktop is using DBus autostart service to launch applications. In general, if you don't have a coredump, you cannot say something crashed.

  6. #21
    Regular Contributor wktsang1's Avatar
    Join Date
    Feb 2005
    Posts
    53
    Quote Originally Posted by divanov View Post
    For example log of sample application:
    http://wiki.forum.nokia.com/index.ph...mple-0.0.1.zip

    You don't have that in your log, which means you do not register your application name on DBus and DBus kills your application.
    There are two possible solution:
    1. Do register name, which matches the name id desktop file.
    2. Remove X-Osso-Service line from desktop file together with service file.
    Thank, the problem seems to be solved by removing the line 'X-Osso-Service=com.nokia.XXX' from the file XXX.desktop. But what is the purpose for this line?

    And how to do the solution #1?

  7. #22
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Quote Originally Posted by wktsang1 View Post
    Thank, the problem seems to be solved by removing the line 'X-Osso-Service=com.nokia.XXX' from the file XXX.desktop. But what is the purpose for this line?
    It tells desktop which name to use to launch application through DBus.

    Quote Originally Posted by wktsang1 View Post
    And how to do the solution #1?
    As I said already first solution implemented here
    http://wiki.forum.nokia.com/index.ph...mple-0.0.1.zip

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 2009-11-22, 19:03
  2. Uninstall MTM while message application is running
    By heuven in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-04-14, 17:14
  3. Do Symbian rejects the Express Signing request on any Business Development ground?
    By arpit2agrawal in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 23
    Last Post: 2009-02-19, 10:46
  4. Replies: 7
    Last Post: 2009-02-12, 13:37
  5. Any way to auto start / launch an application ?
    By handsetproject in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-27, 11:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved