On 15.09.2010 16:07, Andreas Henriksson wrote:
> On Wed, Sep 15, 2010 at 03:17:02PM +0200, Simon Wenner wrote:
>   
>> Done. Rygel 0.7.8, tracker plugin installed but disabled. config and
>> cache deleted and recreated with rygel-preferences.
>> The log contains the startup and an access with gupnp-av-cp.
>>     
> [...]
>   
>> ** (rygel:10924): DEBUG: rygel-media-export-media-cache.vala:396: Empty 
>> database, creating new schema version 10
>>
>> ** (rygel:10924): CRITICAL **: string_replace: assertion `replacement != 
>> NULL' failed
>>
>> ** (rygel:10924): CRITICAL **: string_replace: assertion `self != NULL' 
>> failed
>>
>> ** (rygel:10924): CRITICAL **: string_replace: assertion `self != NULL' 
>> failed
>>
>> (rygel:10924): GLib-GIO-CRITICAL **: g_file_new_for_commandline_arg: 
>> assertion `arg != NULL' failed
>>
>> (rygel:10924): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 
>> `G_IS_FILE(file)' failed
>> ** (rygel:10924): DEBUG: rygel-media-export-query-container.vala:191: 
>> Registering 1ad0c0638ac2e9c06027592f14d12382 for 
>> virtual-container:upnp:class,object.item.audioItem.musicTrack,dc:date,?
>>     
> [...]
>
> Could you please also install rygel-dbg and then run it again under gdb
> and give me a backtrace when the assertion failure occurs?
> You need to set environment variable G_DEBUG=fatal-criticals for gdb to
> break at the assertion failure.
> (http://library.gnome.org/devel/glib/unstable/glib-running.html)
>
> Regards,
> Andreas Henriksson
>   
See attachment.
si...@beutelteufel:~$ gdb /usr/bin/rygel
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/rygel...Reading symbols from 
/usr/lib/debug/usr/bin/rygel...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/rygel 
[Thread debugging using libthread_db enabled]
** (rygel:25302): DEBUG: rygel-user-config.vala:166: Loaded user configuration 
from file '/home/simon/.config/rygel.conf'
[New Thread 0x7ffff2142710 (LWP 25305)]
** Message: New plugin 'MediaExport' available

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, 
format=<value optimized out>, args1=0x7fffffffda60)
    at /glib2.0-2.25.15/glib/gmessages.c:554
554     /glib2.0-2.25.15/glib/gmessages.c: Datei oder Verzeichnis nicht 
gefunden.
        in /glib2.0-2.25.15/glib/gmessages.c
(gdb) bt full
#0  g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, 
format=<value optimized out>, args1=0x7fffffffda60)
    at /glib2.0-2.25.15/glib/gmessages.c:554
        depth = <value optimized out>
        domain = <value optimized out>
        data = 0x6d4f20
        log_func = 0x44b0f0 <_rygel_log_handler_log_func_glog_func>
        domain_fatal_mask = <value optimized out>
        test_level = 10
        was_recursion = 0
        i = <value optimized out>
#1  0x00007ffff4fe0953 in g_log (log_domain=0x7ffff4f8de40 "", log_level=0, 
format=0x1 <Address 0x1 out of bounds>) at /glib2.0-2.25.15/glib/gmessages.c:568
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 
0x7fffffffdb40, reg_save_area = 0x7fffffffda80}}
#2  0x00007ffff172c385 in string_replace (self=0x97cce0 
"/home/simon/traffic/tucan", old=<value optimized out>, replacement=0x0) at 
glib-2.0.vapi:1156
        result = <value optimized out>
        _inner_error_ = 0x0
        __PRETTY_FUNCTION__ = "string_replace"
#3  0x00007ffff172e6e9 in rygel_media_export_root_container_get_uris () at 
rygel-media-export-root-container.vala:199
        _tmp7_ = <value optimized out>
        _tmp6_ = <value optimized out>
        _tmp8_ = 0x7fffec001820 "\220\204\215"
        _uri_it = 0x95dad0
        config = 0x6d4f80
        _inner_error_ = 0x0
        uris = 0x95d260
#4  rygel_media_export_root_container_construct () at 
rygel-media-export-root-container.vala:342
        db = <value optimized out>
        _tmp1_ = <value optimized out>
        _inner_error_ = 0x0
        _tmp0_ = <value optimized out>
        ids = 0x95d1a0
        uris = 0x8e4610
#5  rygel_media_export_root_container_new () at 
rygel-media-export-root-container.vala:308
No locals.
#6  rygel_media_export_root_container_get_instance () at 
rygel-media-export-root-container.vala:57
        _tmp0_ = 0x7fffec001820
        result = <value optimized out>
        _inner_error_ = 0x0
#7  0x000000000041d6a2 in rygel_content_directory_real_constructed 
(base=0x8d70b0) at rygel-content-directory.vala:73
        _tmp0_ = <value optimized out>
        _tmp1_ = 0x8e43d0
        _tmp2_ = 0x8e43d0
        _tmp3_ = <value optimized out>
        _tmp5_ = <value optimized out>
        _tmp6_ = <value optimized out>
        _tmp7_ = <value optimized out>
        _tmp8_ = <value optimized out>
#8  0x00007ffff56963d0 in g_object_newv (object_type=<value optimized out>, 
n_parameters=1, parameters=0x7ffff5274448)
    at /glib2.0-2.25.15/gobject/gobject.c:1375
        oparams = 0x8d5780
        nqueue = 0x7fffec002080
        object = <value optimized out>
        class = 0x8e9200
        unref_class = 0x0
        slist = <value optimized out>
        n_total_cparams = 1
        n_cparams = <value optimized out>
        n_oparams = <value optimized out>
        n_cvalues = 4119696656
        clist = 0x7ffff58d9510
        newly_constructed = 1
        i = 1
        __PRETTY_FUNCTION__ = "g_object_newv"
#9  0x00007ffff5696c2d in g_object_new_valist (object_type=9321904, 
first_property_name=0x0, var_args=0x7fffffffde20)
    at /glib2.0-2.25.15/gobject/gobject.c:1463
        params = <value optimized out>
        name = 0x0
        object = <value optimized out>
        n_params = <value optimized out>
        n_alloced_params = <value optimized out>
        __PRETTY_FUNCTION__ = "g_object_new_valist"
#10 0x00007ffff5696e71 in g_object_new (object_type=9321904, 
first_property_name=0x7ffff79bce13 "context") at 
/glib2.0-2.25.15/gobject/gobject.c:1181
        var_args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffffffdf50, reg_save_area = 0x7fffffffde40}}
        __PRETTY_FUNCTION__ = "g_object_new"
#11 0x00007ffff79b18c0 in gupnp_resource_factory_create_service 
(factory=0x8e10f0, context=0x8d10c0, root_device=0x8e43d0, element=0x8eeb00, 
    udn=0x8d4fb0 "uuid:2d7a755e-66f1-48af-bcc7-3225aee45aed", location=<value 
optimized out>, url_base=0x6d7380) at gupnp-resource-factory.c:342
        service = <value optimized out>
        upnp_type = <value optimized out>
        service_type = 9321904
        __PRETTY_FUNCTION__ = "gupnp_resource_factory_create_service"
#12 0x00007ffff79af179 in gupnp_device_get_service (info=0x8e43d0, 
element=0x8eeb00) at gupnp-device.c:117
        service = <value optimized out>
        factory = 0x8e10f0
        context = 0x8d10c0
        root_device = 0x8e43d0
        location = 0x7ffff5024b31 ""
        udn = 0x8d4fb0 "uuid:2d7a755e-66f1-48af-bcc7-3225aee45aed"
        url_base = 0x9ec7b0
#13 0x00007ffff79af91d in gupnp_device_info_get_service (info=0x8e43d0, 
type=0x695d60 "urn:schemas-upnp-org:service:ContentDirectory:2")
    at gupnp-device-info.c:1306
        type_element = <value optimized out>
        type_str = <value optimized out>
        service = <value optimized out>
        element = 0x8eeb00
        __PRETTY_FUNCTION__ = "gupnp_device_info_get_service"
#14 0x0000000000452da0 in rygel_root_device_construct (object_type=<value 
optimized out>, context=<value optimized out>, plugin=<value optimized out>, 
    description_doc=<value optimized out>, description_path=<value optimized 
out>, description_dir=<value optimized out>) at rygel-root-device.vala:50
        service = 0x8cc760
        info = 0x6d7140
        _info_it = 0x8e98f0
        self = 0x8e43d0
        _tmp0_ = <value optimized out>
        __PRETTY_FUNCTION__ = "rygel_root_device_construct"
#15 0x000000000045458a in rygel_root_device_factory_create (self=0x8dcd30, 
plugin=0x8e10f0, error=<value optimized out>)
    at rygel-root-device-factory.vala:71
        result = <value optimized out>
        _tmp1_ = 0x8d32f0 "/home/simon/.config/Rygel/MediaExport.xml"
        template_path = <value optimized out>
        doc = 0x8cc760
        device = <value optimized out>
        xbox_hacks = <value optimized out>
        _inner_error_ = 0x0
        __PRETTY_FUNCTION__ = "rygel_root_device_factory_create"
#16 0x00000000004555a4 in rygel_main_create_device_co (data=0x8e1b20) at 
rygel-main.c:836
        __PRETTY_FUNCTION__ = "rygel_main_create_device_co"
#17 0x00007ffff4fd5d62 in g_main_dispatch (context=0x8b7770) at 
/glib2.0-2.25.15/glib/gmain.c:2119
        dispatch = 0x7ffff4fd3da0 <g_idle_dispatch>
        user_data = 0x8e1b20
        callback = 0x455bc0 <_rygel_main_create_device_co_gsource_func>
        cb_funcs = 0x7ffff52742d0
        cb_data = 0x8e52d0
        current_source_link = {data = 0x8bc810, next = 0x0}
        source = 0x8bc810
        current = 0x8c02b0
        i = 1
#18 g_main_context_dispatch (context=0x8b7770) at 
/glib2.0-2.25.15/glib/gmain.c:2672
No locals.
#19 0x00007ffff4fd9cb8 in g_main_context_iterate (context=0x8b7770, 
block=<value optimized out>, dispatch=<value optimized out>, self=<value 
optimized out>)
    at /glib2.0-2.25.15/glib/gmain.c:2750
        max_priority = 200
        timeout = 0
        some_ready = 1
        nfds = 6
        allocated_nfds = -184653088
        fds = <value optimized out>
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#20 0x00007ffff4fda1c5 in g_main_loop_run (loop=0x8c1be0) at 
/glib2.0-2.25.15/glib/gmain.c:2958
        self = 0x676040
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#21 0x00000000004560d4 in rygel_main_run (argc=1, argv=0x67fe70) at 
rygel-main.vala:91
No locals.
#22 rygel_main_main (argc=1, argv=0x67fe70) at rygel-main.vala:233
        main = 0x8a8650
        _inner_error_ = 0x0
        result = <value optimized out>
        service = 0x8b6630
#23 main (argc=1, argv=0x67fe70) at rygel-main.vala:209
No locals.
(gdb) 

Reply via email to