aMule Forum

English => Backtraces => Topic started by: chemical on September 15, 2006, 09:09:04 AM

Title: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: chemical on September 15, 2006, 09:09:04 AM
Code: [Select]
2006-09-14 18:59:08: Deleting file: xy.avi
2006-09-14 18:59:12: Deleting file: xz.wmv
2006-09-14 19:10:28: New external connection accepted
amuled: ./libs/ec/ECTag.h:164: std::string CECTag::GetStringDataSTL() const: Assertion `(m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 4481)]
0x40314b71 in kill () from /lib/i686/libc.so.6
(gdb) thread apply all bt full

Thread 5 (Thread 49156 (LWP 4490)):
#0  0x400312e6 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x4002daf2 in __pthread_timedsuspend_new () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x4002a093 in pthread_cond_timedwait_relative () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x401704be in wxConditionInternal::WaitTimeout ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#5  0x4017052f in wxCondition::WaitTimeout ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#6  0x40170dce in wxSemaphoreInternal::WaitTimeout ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#7  0x40170e5f in wxSemaphore::WaitTimeout ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8  0x08058369 in CTimerThread::Entry (this=0x40712ee0) at Timer.cpp:63
        now = 2907625948
        sinceLast = 8
        timeout = 292
        evt = {<> = {}, }
        lastEvent = 2907625940
#9  0x40171b16 in wxThreadInternal::PthreadStart ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#10 0x40171b8d in wxPthreadStart ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#11 0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#12 0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#13 0x403c7327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 3 (Thread 16386 (LWP 4487)):
#0  0x400312e6 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x401768b6 in wxMicroSleep () from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#3  0x401768e1 in wxMilliSleep () from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#4  0x4016f80d in wxThread::Sleep ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#5  0x081696d9 in UploadBandwidthThrottler::Entry (this=0x8b3c6d8)
    at UploadBandwidthThrottler.cpp:321
        timeSinceLastLoop = 0
        minFragSize = 1300
        doubleSendSize = 2600
        bytesToSpend = 6
        sleepTime = 169
        thisLoopTick = 2907625943
        realBytesToSpend = -2593401
        extraSleepTime = 1
        TIME_BETWEEN_UPLOAD_LOOPS = 1
        lastLoopTick = 2907625943
        allowedDataRate = 15360
        rememberedSlotCounter = 1
        sendLock = {m_isOk = false, m_mutex = @0x0}
#6  0x40171b16 in wxThreadInternal::PthreadStart ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#7  0x40171b8d in wxPthreadStart ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8  0x4002af60 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#9  0x4002b0fe in pthread_start_thread_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#10 0x403c7327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 4486)):
#0  0x403beb66 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4002aa8e in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002ad63 in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x403c7327 in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 4481)):
#0  0x40314b71 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x4002dcf1 in pthread_kill () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x4002e00b in raise () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40314904 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#4  0x40315e8c in abort () from /lib/i686/libc.so.6
No symbol table info available.
#5  0x4030de84 in __assert_fail () from /lib/i686/libc.so.6
No symbol table info available.
#6  0x08103e43 in CECTag::GetStringDataSTL (this=0x8f6c3d8) at ECTag.h:164
        __PRETTY_FUNCTION__ = "std::string CECTag::GetStringDataSTL() const"
#7  0x08103d7d in CECTag::GetStringData (this=0x8f6c3d8) at ECTag.h:170
No locals.
#8  0x080fad55 in ExternalConn::Authenticate (request=0x8fde638) at ExternalConn.cpp:193
        clientName = (const CECTag *) 0x8f6c3d8
        clientVersion = (const CECTag *) 0x0
        passwd = (const CECTag *) 0x82b855c
        protocol = (const CECTag *) 0x0
        response = (CECPacket *) 0x82bc3f7
#9  0x080f9d47 in CECServerSocket::OnPacketReceived (this=0x8e54850, packet=0x8fde638)
    at ExternalConn.cpp:78
        reply = (const CECPacket *) 0x0
#10 0x082b8004 in CECSocket::OnInput (this=0x8e54850) at ECSocket.cpp:399
        reply = {_M_ptr = 0x8e54850}
        packet = {_M_ptr = 0x8fde638}
        bytes_rx = 48
#11 0x082b6846 in CECSocketHandler::SocketHandler (this=0x862b6c0, event=@0x9396940)
    at ECSocket.cpp:192
        socket = (CECSocket *) 0x8e54850
#12 0x400e1555 in wxAppConsole::HandleEvent ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#13 0x40172a63 in wxEvtHandler::ProcessEventIfMatches ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#14 0x40172c6f in wxEventHashTable::HandleEvent ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#15 0x40172e4f in wxEvtHandler::ProcessEvent ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#16 0x401734c6 in wxEvtHandler::ProcessPendingEvents ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#17 0x400e18bc in wxAppConsole::ProcessPendingEvents ()
   from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#18 0x08055652 in CamuleDaemonApp::OnRun (this=0x864cf70) at amuled.cpp:427
No locals.
#19 0x4011837a in wxEntry () from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#20 0x40118436 in wxEntry () from /home/donkey/amule/build/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#21 0x08054514 in main (argc=3, argv=0xbf9a9a24) at amuled.cpp:297
No locals.
(gdb)
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: chemical on September 15, 2006, 09:09:35 AM
Looks like it happened when a GUI from Windows connected to the amuled.
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: lfroen on September 19, 2006, 08:49:41 AM
Most chances that versions of windows cliend and amuled missmatch.
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: chemical on September 20, 2006, 11:48:53 AM
amulegui 20060908 was provided by Nodsu (I'm not able to compile it in windows).
amuled 20060908 was compiled by myself. Versions do not mismatch.
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: lfroen on September 21, 2006, 07:22:08 AM
Well, there's 2 things here:
1. Bug in code (crashing on bad input)
2. Either amuled or amulegui or both were fscked up in compile.
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: chemical on September 21, 2006, 09:31:33 AM
I'm open for suggestions..
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: chemical on September 21, 2006, 10:02:05 PM
Works fine with 20060920.
Title: Re: 20060908 - Assertion (m_dataType == EC_TAGTYPE_STRING) || (m_dataType == EC_TAGTYPE_UNKNOWN)' failed
Post by: popy on October 26, 2006, 09:56:29 PM
Hello. I have the same problem with current (25.10) CVS when iconnected from the windows gui to amuled or run the cmd "show dl" in amulecmd!!

How could i get a new version for windows gui???

thx PopY