Re: glib memory allocation problems



sorry, I forgot to attach the backtrace...

Dimitris
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1389433968 (LWP 8511)]
0xb7d1f6ad in memmove () from /lib/libc.so.6
(gdb)
(gdb) bt            
#0  0xb7d1f6ad in memmove () from /lib/libc.so.6
#1  0xb7e49ac2 in smc_tree_branch_grow_L (branch=0x8231d50, index=1) at gslice.c:1269
#2  0xb7e4991a in smc_tree_insert (key=137476736, value=16) at gslice.c:1323
#3  0xb7e495a4 in smc_notify_alloc (pointer=0x831ba80, size=16) at gslice.c:1191
#4  0xb7e48838 in IA__g_slice_alloc (mem_size=16) at gslice.c:805
#5  0xb7e19da6 in g_hash_node_new (key=0x29d58, value=0xb5b4f4d0, key_hash=171352) at ghash.c:829
#6  0xb7e19074 in IA__g_hash_table_insert (hash_table=0x8055200, key=0x29d58, value=0xb5b4f4d0) at ghash.c:370
#7  0x0804bf63 in sftp_request_send (type=5 '\005', iov=0xad2ee180, count=1, begin_func=0, end_func=0, want_reply=103, data=0x0, 
    reqp=0xad2ee140) at sshfs.c:1360
#8  0x0804c0c9 in sftp_request_iov (type=5 '\005', iov=0xad2ee180, count=1, expect_type=103 'g', outbuf=0xad2ee1b8) at sshfs.c:1392
#9  0x0804c154 in sftp_request (type=5 '\005', buf=0xad2ee1c4, expect_type=103 'g', outbuf=0xad2ee1b8) at sshfs.c:1405
#10 0x0804d4d2 in sshfs_sync_read (sf=0x82d0f60, 
    rbuf=0xb5b54298 "\020\004���\032���w�\221�\023\b\207����ed\200�[�\030e\021>��=]^E?\006;\021_T(��\004\221��jM���N^]�\021", size=65536, 
    offset=161333248) at sshfs.c:1908
#11 0x0804dc68 in sshfs_read (path=0xb5b4ee30 "/blahblueblahblueblahy/blahblueblahblueblahbluebl_-_10_(825C7979).mkv", 
    rbuf=0xb5b54298 "\020\004���\032���w�\221�\023\b\207����ed\200�[�\030e\021>��=]^E?\006;\021_T(��\004\221��jM���N^]�\021", size=65536, 
    offset=161333248, fi=0xad2ee2dc) at sshfs.c:2090
#12 0xb7ed3975 in fuse_read () from /usr/lib/libfuse.so.2
#13 0xb7ed5b7c in do_read () from /usr/lib/libfuse.so.2
#14 0xb7ed6aed in fuse_ll_process () from /usr/lib/libfuse.so.2
#15 0xb7ed8326 in fuse_session_process () from /usr/lib/libfuse.so.2
#16 0xb7ed471b in fuse_do_work () from /usr/lib/libfuse.so.2
#17 0xb7de44a2 in start_thread () from /lib/libpthread.so.0
#18 0xb7d7352e in clone () from /lib/libc.so.6



(gdb) bt full
#0  0xb7d1f6ad in memmove () from /lib/libc.so.6
No symbol table info available.
#1  0xb7e49ac2 in smc_tree_branch_grow_L (branch=0x8231d50, index=1) at gslice.c:1269
        old_size = 8
        new_size = 16
        entry = (SmcEntry *) 0x82223c0
#2  0xb7e4991a in smc_tree_insert (key=137476736, value=16) at gslice.c:1323
        ix0 = 131
        ix1 = 362
        entry = (SmcEntry *) 0x82223c0
#3  0xb7e495a4 in smc_notify_alloc (pointer=0x831ba80, size=16) at gslice.c:1191
        adress = 137476736
#4  0xb7e48838 in IA__g_slice_alloc (mem_size=16) at gslice.c:805
        chunk_size = 16
        mem = (gpointer) 0x831ba80
        acat = 1
#5  0xb7e19da6 in g_hash_node_new (key=0x29d58, value=0xb5b4f4d0, key_hash=171352) at ghash.c:829
        hash_node = (GHashNode *) 0x805aad0
#6  0xb7e19074 in IA__g_hash_table_insert (hash_table=0x8055200, key=0x29d58, value=0xb5b4f4d0) at ghash.c:370
        node = (GHashNode **) 0x8055074
        key_hash = 171352
        __PRETTY_FUNCTION__ = "IA__g_hash_table_insert"
#7  0x0804bf63 in sftp_request_send (type=5 '\005', iov=0xad2ee180, count=1, begin_func=0, end_func=0, want_reply=103, data=0x0, 
    reqp=0xad2ee140) at sshfs.c:1360
        err = 0
        id = 171352
        req = (struct request *) 0xb5b4f4d0
#8  0x0804c0c9 in sftp_request_iov (type=5 '\005', iov=0xad2ee180, count=1, expect_type=103 'g', outbuf=0xad2ee1b8) at sshfs.c:1392
        req = (struct request *) 0x0
#9  0x0804c154 in sftp_request (type=5 '\005', buf=0xad2ee1c4, expect_type=103 'g', outbuf=0xad2ee1b8) at sshfs.c:1405
        iov = {iov_base = 0xb5b01890, iov_len = 20}
#10 0x0804d4d2 in sshfs_sync_read (sf=0x82d0f60, 
    rbuf=0xb5b54298 "\020\004���\032���w�\221�\023\b\207����ed\200�[�\030e\021>��=]^E?\006;\021_T(��\004\221��jM���N^]�\021", size=65536, 
    offset=161333248) at sshfs.c:1908
        err = 1667855471
        buf = {p = 0xb5b01890 "", len = 20, size = 64}
        data = {p = 0x2 <Address 0x2 out of bounds>, len = 65540, size = 3084763424}
        handle = (struct buffer *) 0x82d0f60
#11 0x0804dc68 in sshfs_read (path=0xb5b4ee30 "/blahblueblahblueblahy/blahblueblahblueblahbluebl_-_10_(825C7979).mkv", 
    rbuf=0xb5b54298 "\020\004���\032���w�\221�\023\b\207����ed\200�[�\030e\021>��=]^E?\006;\021_T(��\004\221��jM���N^]�\021", size=65536, 
    offset=161333248, fi=0xad2ee2dc) at sshfs.c:2090
        sf = (struct sshfs_file *) 0x82d0f60
#12 0xb7ed3975 in fuse_read () from /usr/lib/libfuse.so.2
No symbol table info available.
#13 0xb7ed5b7c in do_read () from /usr/lib/libfuse.so.2
No symbol table info available.
#14 0xb7ed6aed in fuse_ll_process () from /usr/lib/libfuse.so.2
No symbol table info available.
#15 0xb7ed8326 in fuse_session_process () from /usr/lib/libfuse.so.2
No symbol table info available.
#16 0xb7ed471b in fuse_do_work () from /usr/lib/libfuse.so.2
No symbol table info available.
#17 0xb7de44a2 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#18 0xb7d7352e in clone () from /lib/libc.so.6
No symbol table info available.



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