Re: [Vala] Segmentation fault with d-bus and networkmanager



2011/10/1 Maciej Marcin Piechotka <uzytkownik2 gmail com>

On Sat, 2011-10-01 at 20:12 +0200, Jose Luis Navarro wrote:
2011/10/1 Maciej Marcin Piechotka <
uzytkownik2-Re5JQEeQqe8AvxtiuMwx3w public gmane org>

On Fri, 2011-09-30 at 22:58 +0200, Jose Luis Navarro wrote:
Hi,

I'm trying to create a new wifi connection by d-bus but I get
"Segmentation
fault" with following code. What am I doing wrong?
Vala version: 0.13.4.6-33e1
Thanks,

1. Update the vala version (0.13 is unstable while 0.14 is stable).
2. What's the stacktrace?


With gdb I get an error in libglib-2.0


Could you get the debug symbols as well
(http://live.gnome.org/GettingTraces/Details)


Thanks I will try it.



Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6f78d13 in g_atomic_int_get () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) backtrace

Very strange place for glib. What's the distribution (out of curiosity)?


I'm using Ubuntu 11.04 with GNOME 3.0.2


#0  0x00007ffff6f78d13 in g_atomic_int_get () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff6f79c48 in g_bit_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff6fdeae6 in g_variant_n_children () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff6fdb488 in g_variant_iter_init () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x0000000000402390 in nm_settings_proxy_AddConnection (self=0x616000,
hs=0x6082d0, error=0x7fffffffdf98)
    at create.vala.c:169
#5  0x0000000000401eaf in nm_settings_AddConnection (self=0x616000,
hs=0x6082d0, error=0x7fffffffdf98)
    at /home/pepe/projects/create/create.vala:7
#6  0x00000000004033fc in _vala_main (args=0x7fffffffe408,
args_length1=1)
    at /home/pepe/projects/create/create.vala:47
#7  0x0000000000403977 in main (argc=1, argv=0x7fffffffe408)
    at /home/pepe/projects/create/create.vala:10
(gdb)

Regards

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]