Antti Piironen | 1 Aug 2002 15:36
Picon
Picon

Dll export function error in KDE2/Cygwin

Hi!

I encountered next kind of error while launching
the KDE/Cygwin desktop. 

"File CYGKDEUI-3.DLL is linked to a missing export-function LIBEXT.DLL-XShmAttach"

The error seems to be repeating itself at everytime I 
try to launch KDE with the following commandline:

$ kdeinit +kcminit [+kdesktop [+kicker]]

I have already exported the $PATH etc... variables,
could you be so kind and help me with this, please ?

My current system configuration is:

M$ Windows 98 
AMD THUNDERBIRD 900Mhz
384Mb RAM
GeForce 400/400 Mx 64Mb.
Antti Piironen | 1 Aug 2002 15:36
Picon
Picon

Dll export function error in KDE2/Cygwin

Hi!

I encountered next kind of error while launching
the KDE/Cygwin desktop. 

"File CYGKDEUI-3.DLL is linked to a missing export-function LIBEXT.DLL-XShmAttach"

The error seems to be repeating itself at everytime I 
try to launch KDE with the following commandline:

$ kdeinit +kcminit [+kdesktop [+kicker]]

I have already exported the $PATH etc... variables,
could you be so kind and help me with this, please ?

My current system configuration is:

M$ Windows 98 
AMD THUNDERBIRD 900Mhz
384Mb RAM
GeForce 400/400 Mx 64Mb.
Ralf Habacker | 1 Aug 2002 16:46
Picon
Favicon

RE: Dll export function error in KDE2/Cygwin

> Hi!
> 
> I encountered next kind of error while launching
> the KDE/Cygwin desktop. 
> 
> "File CYGKDEUI-3.DLL is linked to a missing export-function 
> LIBEXT.DLL-XShmAttach"
> 
install the kde-x package. 

Ralf 
Ralf Habacker | 1 Aug 2002 16:49
Picon
Favicon

RE: knode

>
> > Has anyone had much luck in getting knode to compile?  This would
> complement
> > kmail greatly.
>
> Yes, it will probably be in the next kdenetwork release.
> Ralf

I have taken a short look on knode and recognized, that there is a problem with
pthread creation.
The error is

     EAGAIN not enough system resources to create a process for
	      the new thread.

http://unixhelp.ed.ac.uk/CGI/man-cgi?pthread_create+3

Any ideas ?

Ralf
Nicholas Wourms | 1 Aug 2002 17:17
Picon
Favicon

RE: knode

--- Ralf Habacker <Ralf.Habacker <at> freenet.de> wrote:
> >
> > > Has anyone had much luck in getting knode to compile?  This
> would
> > complement
> > > kmail greatly.
> >
> > Yes, it will probably be in the next kdenetwork release.
> > Ralf
> 
> I have taken a short look on knode and recognized, that there is a
> problem with
> pthread creation.
> The error is
> 
>      EAGAIN not enough system resources to create a process for
> 	      the new thread.
> 
> http://unixhelp.ed.ac.uk/CGI/man-cgi?pthread_create+3
> 
> Any ideas ?
> 

Ask Thomas Pfaff on the main list, as he does a lot of pthread work. 
You can contact him at tpfaff <at> gmx.net.  You might also try Robert
Collins, but he's been pretty busy lately.

Cheers,
Nicholas

(Continue reading)

Chris January | 1 Aug 2002 20:17

Re: knode

> >
> > > Has anyone had much luck in getting knode to compile?  This would
> > complement
> > > kmail greatly.
> >
> > Yes, it will probably be in the next kdenetwork release.
> > Ralf
>
> I have taken a short look on knode and recognized, that there is a problem
with
> pthread creation.
> The error is
>
>      EAGAIN not enough system resources to create a process for
>       the new thread.
>
> http://unixhelp.ed.ac.uk/CGI/man-cgi?pthread_create+3
>
> Any ideas ?
What do you get as an output of strace?

Chris
Ralf Habacker | 1 Aug 2002 21:35
Picon
Favicon

RE: knode

> > I have taken a short look on knode and recognized, that there is a problem
> with
> > pthread creation.
> > The error is
> >
> >      EAGAIN not enough system resources to create a process for
> >       the new thread.
> >
> > http://unixhelp.ed.ac.uk/CGI/man-cgi?pthread_create+3
> >
> > Any ideas ?
> What do you get as an output of strace?

33316876 33316876 [main] knode 2008 pthread::create: New thread object access
mutex is not valid. this 0x101899F0

knode/knnetaccess.cpp

  nntpClient=new KNNntpClient(nntpOutPipe[0],nntpInPipe[1],&nntp_Mutex,this);
  smtpClient=new KNSmtpClient(smtpOutPipe[0],smtpInPipe[1],this);

  if(pthread_mutex_init(&nntp_Mutex, NULL)!=0) {
    KMessageBox::error(knGlobals.topWidget, "Internal error:\nCannot initialize
the nntp mutex!");  // i18n missing
    kapp->exit(1);
  }
  int e;
  if((e = pthread_create(&nntpThread, 0,&(nntpClient->startThread),
nntpClient))!=0) {
      ^^^^ this fails
(Continue reading)

Chris January | 1 Aug 2002 22:23

Re: knode


----- Original Message -----
From: "Ralf Habacker" <Ralf.Habacker <at> freenet.de>
To: <kde-cygwin <at> mail.kde.org>
Sent: Thursday, August 01, 2002 8:35 PM
Subject: RE: knode

> > > I have taken a short look on knode and recognized, that there is a
problem
> > with
> > > pthread creation.
> > > The error is
> > >
> > >      EAGAIN not enough system resources to create a process for
> > >       the new thread.
> > >
> > > http://unixhelp.ed.ac.uk/CGI/man-cgi?pthread_create+3
> > >
> > > Any ideas ?
> > What do you get as an output of strace?
>
> 33316876 33316876 [main] knode 2008 pthread::create: New thread object
access
> mutex is not valid. this 0x101899F0
>
> knode/knnetaccess.cpp
>
>   nntpClient=new
KNNntpClient(nntpOutPipe[0],nntpInPipe[1],&nntp_Mutex,this);
>   smtpClient=new KNSmtpClient(smtpOutPipe[0],smtpInPipe[1],this);
(Continue reading)

Ralf Habacker | 1 Aug 2002 22:23
Picon
Favicon

RE: knode

> It seems the the mutex is corrupted ?
>
>
It it a problem in the cygwin1.dll. I've downloaded the snapshot from Juli 30
and it work, the snapshot from August,1 fails.
Also I've got some segment violation while running with the snapshot from Juli
30, so I assume this depends on some not ready work in the cygwin1.dll. I will
try tomorrow with the last official cygwin release to see more.

Ralf
Ralf Habacker | 2 Aug 2002 13:47
Picon
Favicon

RE: knode


SAG Energieversorgungslösungen GmbH
Center für GeoInformationsTechnologie, CeGIT
Regionalbüro Wallenhorst
Hansastr. 76
49134 Wallenhorst
Tel: +49 5407 504 66
Fax: +49 5407 504 99
Mobil: 0173/9241471
EMail: Ralf.Habacker <at> sag-el.com

> -----Original Message-----
> From: kde-cygwin-admin <at> mail.kde.org
> [mailto:kde-cygwin-admin <at> mail.kde.org]On Behalf Of Ralf Habacker
> Sent: Thursday, August 01, 2002 10:24 PM
> To: kde-cygwin <at> mail.kde.org
> Subject: RE: knode
>
>
> > It seems the the mutex is corrupted ?
> >
> >
> It it a problem in the cygwin1.dll. I've downloaded the snapshot from Juli 30
> and it work, the snapshot from August,1 fails.
> Also I've got some segment violation while running with the snapshot from Juli
> 30, so I assume this depends on some not ready work in the cygwin1.dll. I will
> try tomorrow with the last official cygwin release to see more.
>
I've tried cygwin 1.3.12-2 and there is a crash in the kernel32.dll when calling
pthred_mutex_init().
(Continue reading)


Gmane