<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Without looking at the code, I can say there is a 99% chance this means that
there has been memory corruption. Several things could have caused this corruption
(array write out of bounds, double free, etc.) There is a good chance it
could be gcc 3.0.1 - there are a ton of changes which happened to their C++
implementation between 2.95.3 and 3.0.x. There have also been a lot of improvements
since 3.0, so if you can upgrade to 3.0.4, I would recommend it. The STL
implementation within versions of gcc before 3.0.x were thread-unsafe, especially
for std:string (they were interally reference-counted, but the reference
modification was not atomic, nor was the reference comparison)<br>
<br>
-David Waite<br>
<br>
Wim Godden wrote:<br>
<blockquote type="cite" cite="mid3CA2F200.4FD7E6B7@godden.net">
<pre wrap="">This is the result :<br><br>Core was generated by `icqv7ext'.<br>Program terminated with signal 11, Segmentation fault.<br>Reading symbols from /usr/local/lib/libsigc-1.0.so.0...done.<br>Reading symbols from /lib/libpthread.so.0...done.<br>Reading symbols from /lib/libresolv.so.2...done.<br>Reading symbols from /usr/local/lib/libstdc++.so.3...done.<br>Reading symbols from /lib/libm.so.6...done.<br>Reading symbols from /usr/local/lib/libgcc_s.so.1...done.<br>Reading symbols from /lib/libc.so.6...done.<br>Reading symbols from /lib/ld-linux.so.2...done.<br>#0 0x40126e88 in chunk_alloc (ar_ptr=0x401bbd40, nb=16) at malloc.c:2875<br>2875 malloc.c: No such file or directory.<br>(gdb) bt<br>#0 0x40126e88 in chunk_alloc (ar_ptr=0x401bbd40, nb=16) at malloc.c:2875<br>#1 0x401265ae in __libc_malloc (bytes=12) at malloc.c:2696<br>#2 0x80de950 in _ZNSt23__malloc_alloc_templateILi0EE8allocateEj (__n=12) at<br>/usr/local/include/g++-v3/bits/stl_alloc.h:114<br>#3 0x8
06f6d1 in<br>_ZN7bedrock3net6SocketC1ERNS0_13SocketWatcherERNS_10ThreadPoolEiiPNS0_5KarmaEPNS0_15ConnectionLimitE<br>(<br> this=0x8153010, watcher=@0xbffff81c, pool=@0xbffff7c4, key=0,<br>socketfd=-1, karma=0x0, conn_limit=0x0)<br> at /usr/local/include/g++-v3/bits/stl_alloc.h:184<br>#4 0x806e655 in<br>_ZN7bedrock3net13SocketWatcher19createConnectSocketEPNS0_19SocketEventListenerEPKcS5_iiPNS0_5KarmaE<br>(<br> this=0xbffff81c, listener=0xbffff9f4, host=0x814fad4 "127.0.0.1",<br>service=0x814fab4 "_jabber._tcp", defaultport=7000,<br> thread_key=0, karma=0x0) at SocketWatcher.cpp:195<br>#5 0x80db48e in<br>_ZN3jax16RouterConnectionINS_6PacketES1_E7connectERKSsS4_RN7bedrock3net7AddressE<br>(this=0xbffff9f0,<br> name=@0xbffff7a4, secret=@0xbffffac0, a=@0xbffff5d0) at<br>/usr/local/include/g++-v3/bits/basic_string.h:396<br>#6 0x8059516 in _ZN8IcqTransC1ERKSsS1_S1_jb (this=0xbffff7a0,<br>serviceid=@0xbffffad0, password=@0xbffffac0, hostname=@0xbffffab0,<br> port=
7000, outgoing_dir=true) at IcqTrans.cpp:67<br>#7 0x8069c17 in main (argc=1, argv=0xbffffb44) at main.cpp:113<br>Current language: auto; currently c<br><br><br>David Waite wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Wim Godden wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">Trying to run it like this :<br>icqv7ext -n icqv7ext -s secretpass -h 127.0.0.1 -p 7000 -m<br>sms.localnetwork.local<br><br>I get :<br>Starting component...<br> Component ID : icqv7ext<br> Secret : secretpass<br> Jabberd IP : 127.0.0.1<br> Jabberd Port : 7000<br>Segmentation fault (core dumped)<br><br><br>Any ideas ?<br><br></pre>
</blockquote>
<pre wrap="">Sounds like it is core-dumping wihle trying to start the component :-)<br><br>Perhaps you could post a backtrace from the core? (perhaps "gdb icqv7ext<br>-c core", then "bt".) Cores from threaded components are much nicer if<br>they are generated from something other than Linux; if you are using<br>Linux try to use the newest kernel possible (as they reworked a bit of<br>this logic within the 2.4 series)<br><br>-David Waite<br><br>_______________________________________________<br>jdev mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:jdev@jabber.org">jdev@jabber.org</a><br><a class="moz-txt-link-freetext" href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</a><br></pre>
</blockquote>
<pre wrap=""><!----><br>--<br>-----<br>FirstLink Networks - <a class="moz-txt-link-freetext" href="http://www.firstlinknetworks.com">http://www.firstlinknetworks.com</a><br>-----<br>De leukste moppen op je scherm en in je mailbox : <a class="moz-txt-link-freetext" href="http://www.moppen.be">http://www.moppen.be</a> !!!!<br><br><br>_______________________________________________<br>jdev mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:jdev@jabber.org">jdev@jabber.org</a><br><a class="moz-txt-link-freetext" href="http://mailman.jabber.org/listinfo/jdev">http://mailman.jabber.org/listinfo/jdev</a><br></pre>
</blockquote>
<br>
<br>
</body>
</html>