aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Segmentation fault  (Read 2248 times)

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Segmentation fault
« on: May 14, 2006, 06:38:52 PM »

Just amulegui > Trasferimenti (Downloads?) > Aggiungi categoria (Add category?) > Ok

I hope the following backtrace helps:

Code: [Select]
(gdb) run
Starting program: /usr/bin/amulegui
[Thread debugging using libthread_db enabled]
[New Thread -1224185520 (LWP 2259)]
Connecting...
Going to event loop...
Remote GUI EC event handler
LOG: Fatto! Connessione stabilita con aMule 2.1.1
LOG:
LOG:  - Questo è aMule 2.1.1 using wxGTK2 v2.6.3 (Unicoded) basato su eMule
LOG:    In esecuzione su Linux 2.6.15-suspend2-r4 i686
LOG:  - Visita [URL]http://www.amule.org[/URL] per sapere se è disponibile una nuova versione
LOG:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224185520 (LWP 2259)]
0x080f58d0 in std::_Construct (
    __p=0x873e3b0, __value=@0x873e3b0) at stl_construct.h:81
81      ::new(static_cast(__p)) _T1(__value);

Code: [Select]
(gdb) bt
#0  0x080f58d0 in std::_Construct (
    __p=0x873e3b0, __value=@0x873e3b0) at stl_construct.h:81
#1  0x080f54a9 in __gnu_norm::vector >::push_back (this=0x850cd54, __x=@0xbf9da954) at stl_vector.h:560
#2  0x080f5461 in __gnu_debug_def::vector >::push_back (this=0x850cd54, __x=@0x873e3b0) at vector:238
#3  0x080f3024 in CPreferences::AddCat (this=0x850cd34, cat=0x873e3b0)
    at Preferences.cpp:1344
#4  0x080f3241 in CPreferences::CreateCategory (this=0x850cd34, name=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, path=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, comment=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, color=141812656, prio=0 '\0') at Preferences.cpp:1400
#5  0x08178f37 in CCatDialog::OnBnClickedOk (this=0xbf9db7d4)
    at CatDialog.cpp:199
#6  0xb79701c5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb79f677c in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#8  0xb79f6989 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xbf9daae4 in ?? ()
---Type to continue, or q to quit---
#10 0x08737de8 in ?? ()
#11 0xb79f7216 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7ce6f67 in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#13 0xb79f7242 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb7c3feab in wxBitmapButton::~wxBitmapButton ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#15 0xb73c1b8a in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#16 0xffffffff in ?? ()
#17 0x087364ec in ?? ()
#18 0xb73b1278 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0xbf9dac48 in ?? ()
#20 0x00000000 in ?? ()

Code: [Select]
(gdb) bt full
#0  0x080f58d0 in std::_Construct (
    __p=0x873e3b0, __value=@0x873e3b0) at stl_construct.h:81
No locals.
#1  0x080f54a9 in __gnu_norm::vector >::push_back (this=0x850cd54, __x=@0xbf9da954) at stl_vector.h:560
No locals.
#2  0x080f5461 in __gnu_debug_def::vector >::push_back (this=0x850cd54, __x=@0x873e3b0) at vector:238
__realloc = false
#3  0x080f3024 in CPreferences::AddCat (this=0x850cd34, cat=0x873e3b0)
    at Preferences.cpp:1344
No locals.
#4  0x080f3241 in CPreferences::CreateCategory (this=0x850cd34, name=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, path=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, comment=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, color=141812656, prio=0 '\0') at Preferences.cpp:1400
No locals.
#5  0x08178f37 in CCatDialog::OnBnClickedOk (this=0xbf9db7d4)
    at CatDialog.cpp:199
newname = { = {static npos = 4294967295,
    m_pchData = 0x873e7fc}, }
---Type to continue, or q to quit---
newpath = { = {static npos = 4294967295,
    m_pchData = 0x873f7d4}, }
index = 0
#6  0xb79701c5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#7  0xb79f677c in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8  0xb79f6989 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#9  0xbf9daae4 in ?? ()
No symbol table info available.
#10 0x08737de8 in ?? ()
No symbol table info available.
#11 0xb79f7216 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0xb7ce6f67 in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#13 0xb79f7242 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
---Type to continue, or q to quit---
No symbol table info available.
#14 0xb7c3feab in wxBitmapButton::~wxBitmapButton ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#15 0xb73c1b8a in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xffffffff in ?? ()
No symbol table info available.
#17 0x087364ec in ?? ()
No symbol table info available.
#18 0xb73b1278 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xbf9dac48 in ?? ()
No symbol table info available.
#20 0x00000000 in ?? ()
No symbol table info available.

Code: [Select]
(gdb) thread apply all bt full

Thread 1 (Thread -1224185520 (LWP 2259)):
#0  0x080f58d0 in std::_Construct (
    __p=0x873e3b0, __value=@0x873e3b0) at stl_construct.h:81
No locals.
#1  0x080f54a9 in __gnu_norm::vector >::push_back (this=0x850cd54, __x=@0xbf9da954) at stl_vector.h:560
No locals.
#2  0x080f5461 in __gnu_debug_def::vector >::push_back (this=0x850cd54, __x=@0x873e3b0) at vector:238
__realloc = false
#3  0x080f3024 in CPreferences::AddCat (this=0x850cd34, cat=0x873e3b0)
    at Preferences.cpp:1344
No locals.
#4  0x080f3241 in CPreferences::CreateCategory (this=0x850cd34, name=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, path=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, comment=
        { = {static npos = 4294967295, m_pchData = 0x873f7d4}, }, color=141812656, prio=0 '\0') at Preferences.cpp:1400
No locals.
#5  0x08178f37 in CCatDialog::OnBnClickedOk (this=0xbf9db7d4)
    at CatDialog.cpp:199
---Type to continue, or q to quit---
newname = { = {static npos = 4294967295,
    m_pchData = 0x873e7fc}, }
newpath = { = {static npos = 4294967295,
    m_pchData = 0x873f7d4}, }
index = 0
#6  0xb79701c5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#7  0xb79f677c in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#8  0xb79f6989 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#9  0xbf9daae4 in ?? ()
No symbol table info available.
#10 0x08737de8 in ?? ()
No symbol table info available.
#11 0xb79f7216 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#12 0xb7ce6f67 in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
---Type to continue, or q to quit---
#13 0xb79f7242 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
No symbol table info available.
#14 0xb7c3feab in wxBitmapButton::~wxBitmapButton ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
No symbol table info available.
#15 0xb73c1b8a in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xffffffff in ?? ()
No symbol table info available.
#17 0x087364ec in ?? ()
No symbol table info available.
#18 0xb73b1278 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xbf9dac48 in ?? ()
No symbol table info available.
#20 0x00000000 in ?? ()
No symbol table info available.
« Last Edit: May 14, 2006, 06:41:51 PM by fctk »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Segmentation fault
« Reply #1 on: May 24, 2006, 02:02:08 PM »

fctk,

I will look at this problem, it's the same as this thread:
http://www.amule.org/amule/thread.php?threadid=10095&sid=

Keep monitoring this other thread, ok?

Cheers!
Logged