Giter Club home page Giter Club logo

abus's People

Contributors

fillods avatar thierryg avatar

abus's Issues

Exporting method several times


What is the expected output? What do you see instead?

I was surprise to be able to export the same services two times without any 
error.

I think the second should generate an error message.

What do you think about ?


Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 10:44

Ask to add a check that say that an abus context has been well initialized


Hi,

After an error from my side, i have exported a complete object (data struct), 
item by item.

However, the abus_init() was call just after so the context was initialized 
after and the export was incorrect.

Then, i have placed the abus_init() before the object export and it was correct 
afterwards.

So, is it possible to add a check in all abus function that verify if whether 
or not the abus initialization have been done when an abus call is done 
(boolean lock, mutex, magic number, ...)


Original issue reported on code.google.com by [email protected] on 12 Jan 2012 at 10:46

Problem during the global abus introspection


Hi,

While i am trying a global introspection, i have a crash by the process that 
have the abus service.

The client command just display :

$ abus-send -v DmngCoreStub.\*

## 11854 -> tmp/abus/DmngCoreStub:62 
{"jsonrpc":"2.0","method":"DmngCoreStub.*","id":0,"params":{}}

... and nothing else.

On the server side the crash provide the following trace :

## 32286 <- 00f2c:62 
{"jsonrpc":"2.0","method":"DmngCoreStub.*","id":0,"params":{}}
*** glibc detected *** ./dmngStubApi: malloc(): memory corruption: 0x09c720b8 
***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0xb7755bc2]
/lib/i386-linux-gnu/libc.so.6(+0x7055e)[0xb775755e]
/lib/i386-linux-gnu/libc.so.6(__libc_malloc+0x68)[0xb7759498]
/lib/i386-linux-gnu/libc.so.6(vasprintf+0x39)[0xb7749939]
/lib/i386-linux-gnu/libc.so.6(asprintf+0x2b)[0xb773128b]
/lib/i386-linux-gnu/libc.so.6(__assert_fail+0xad)[0xb770d7dd]
/usr/lib/libabus.so.0(+0x2bf3)[0xb7881bf3]
/usr/lib/libabus.so.0(json_rpc_append_strn+0x92)[0xb7883482]
/usr/lib/libabus.so.0(+0x6309)[0xb7885309]
/usr/lib/libabus.so.0(+0x46a3)[0xb78836a3]
/usr/lib/libabus.so.0(+0x556f)[0xb788456f]
/usr/lib/libabus.so.0(+0x58ab)[0xb78848ab]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d31)[0xb786ad31]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb77b90ce]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:05 29772252   
/home/tgayet/Dropbox/workspace/dmng_stub_api/dmngStubApi
0805a000-0805b000 r--p 00011000 08:05 29772252   
/home/tgayet/Dropbox/workspace/dmng_stub_api/dmngStubApi
0805b000-0805c000 rw-p 00012000 08:05 29772252   
/home/tgayet/Dropbox/workspace/dmng_stub_api/dmngStubApi
0805c000-0805d000 rw-p 00000000 00:00 0 
09c6d000-09c8e000 rw-p 00000000 00:00 0          [heap]
b6d00000-b6d21000 rw-p 00000000 00:00 0 
b6d21000-b6e00000 ---p 00000000 00:00 0 
b6edc000-b6edd000 ---p 00000000 00:00 0 
b6edd000-b76de000 rw-p 00000000 00:00 0 
b76de000-b76e5000 r-xp 00000000 08:05 28069160   
/lib/i386-linux-gnu/librt-2.13.so
b76e5000-b76e6000 r--p 00006000 08:05 28069160   
/lib/i386-linux-gnu/librt-2.13.so
b76e6000-b76e7000 rw-p 00007000 08:05 28069160   
/lib/i386-linux-gnu/librt-2.13.so
b76e7000-b785d000 r-xp 00000000 08:05 28069144   
/lib/i386-linux-gnu/libc-2.13.so
b785d000-b785f000 r--p 00176000 08:05 28069144   
/lib/i386-linux-gnu/libc-2.13.so
b785f000-b7860000 rw-p 00178000 08:05 28069144   
/lib/i386-linux-gnu/libc-2.13.so
b7860000-b7864000 rw-p 00000000 00:00 0 
b7864000-b787b000 r-xp 00000000 08:05 28069158   
/lib/i386-linux-gnu/libpthread-2.13.so
b787b000-b787c000 r--p 00016000 08:05 28069158   
/lib/i386-linux-gnu/libpthread-2.13.so
b787c000-b787d000 rw-p 00017000 08:05 28069158   
/lib/i386-linux-gnu/libpthread-2.13.so
b787d000-b787f000 rw-p 00000000 00:00 0 
b787f000-b788f000 r-xp 00000000 08:05 16155757   /usr/lib/libabus.so.0.0.0
b788f000-b7890000 r--p 0000f000 08:05 16155757   /usr/lib/libabus.so.0.0.0
b7890000-b7891000 rw-p 00010000 08:05 16155757   /usr/lib/libabus.so.0.0.0
b789f000-b78bb000 r-xp 00000000 08:05 28069140   
/lib/i386-linux-gnu/libgcc_s.so.1
b78bb000-b78bc000 r--p 0001b000 08:05 28069140   
/lib/i386-linux-gnu/libgcc_s.so.1
b78bc000-b78bd000 rw-p 0001c000 08:05 28069140   
/lib/i386-linux-gnu/libgcc_s.so.1
b78bd000-b78c0000 rw-p 00000000 00:00 0 
b78c0000-b78de000 r-xp 00000000 08:05 28069141   /lib/i386-linux-gnu/ld-2.13.so
b78de000-b78df000 r--p 0001d000 08:05 28069141   /lib/i386-linux-gnu/ld-2.13.so
b78df000-b78e0000 rw-p 0001e000 08:05 28069141   /lib/i386-linux-gnu/ld-2.13.so
bfb9d000-bfbbe000 rw-p 00000000 00:00 0          [stack]
-------------------------------------------------Abandon

It seems that's appears when there are lot of RPC methods, so a huge response 
message.

Original issue reported on code.google.com by [email protected] on 11 Jan 2012 at 11:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.