Problem with kernel32 on SPARC solaris 8.0

Mrugan mrugan at hotmail.com
Thu Oct 18 11:54:01 CDT 2001


Ok I got past that.... now I have another problem. My exe fails at /opt/wine/port.c:wine_dlopen(...)  at dlopen function. Following is the gdb trace for it.
NOTE: I am working on SunSPARC with gcc v3.0

Any help is greatly appreciated.

THANKS 
Mrugan
  542         ret = dlopen( filename, flag );
  (gdb) n
  warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
  warning: Lowest section in /usr/lib/libw.so.1 is .hash at 00000074
  [New Thread 1 (LWP 1)]
  [New LWP    2        ]
  [New LWP    3        ]
  ERROR: ExpandFullLibraryName: The environment variable MACHINE_TYPE is undefined.
  libthread panic: failed to reset hdlr
   : dumping core (PID: 7768 LWP 1)
  stacktrace:
          feb58798
          feb4dc84
          feb504ac
          feb593e0
          ff2d56f0
          ff27c7a8
          ff2d4d2c
          ff36208c
          ff2d5028
          ff2d7708
          181d4
          1205c
          0

  Program received signal SIGABRT, Aborted.
  [Switching to Thread 1 (LWP 1)]
  0xfef9b218 in _lwp_kill () from /usr/lib/libc.so.1
  (gdb) q
  ----- Original Message 
  ----- Original Message ----- 
  From: Mrugan 
  Newsgroups: wine.devel
  To: wine-devel at winehq.com 
  Sent: Wednesday, October 17, 2001 3:42 PM
  Subject: Problem with kernel32 on SPARC solaris 8.0


  I am trying to link kernel32 and ntdll libraries to my source code on SPARC Solaris 8.0. My executable does not exit.
  It gets stuck after spawning 4 threads. The gdb trace is as below:


    Starting program: /export/home/mrugan/src/HACore/HaNuanceChannelComRCE/nuancetest.exe
    warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
    warning: Lowest section in /usr/lib/libw.so.1 is .hash at 00000074
    [New LWP 1]
    [New LWP 2]
    [New LWP 3]
    [New LWP 4]
    ^C
    Program received signal SIGINT, Interrupt.
    0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
    (gdb) where
    #0  0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
    #1  0xff192c08 in _lwp_cond_wait () from /usr/lib/libc.so.1
    #2  0xfef8c2f0 in _lrw_wrlock () from /usr/lib/libthread.so.1
    #3  0xff3bdacc in ?? ()
    #4  0xff3c34f0 in ?? ()
    #5  0xff3b29a0 in ?? ()
    #6  0xff0863c8 in __DTOR_END__ () from /opt/wine/dlls/libkernel32.so
    #7  0xff02e140 in frame_dummy () from /opt/wine/dlls/libkernel32.so
    #8  0xff02cf80 in _init () from /opt/wine/dlls/libkernel32.so
    #9  0xff3bada0 in ?? ()
    #10 0xff3baa18 in ?? ()
    #11 0xff3c4da0 in ?? ()
    #12 0xff3b2958 in ?? ()
    (gdb) inf thr
      8 Thread 3          0xfef8d948 in _reap_wait () from /usr/lib/libthread.so.1
      7 Thread 2 (LWP 2)  0xff19ad50 in _signotifywait () from /usr/lib/libc.so.1
      6 Thread 1 (LWP 1)  0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
    * 5 LWP    1          0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
      4 LWP    4          0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
      3 LWP    3          0xff1988f4 in door_restart () from /usr/lib/libc.so.1
      2 LWP    2          0xff19ad50 in _signotifywait () from /usr/lib/libc.so.1
    * 1 LWP    1          0xff19b390 in ___lwp_cond_wait () from /usr/lib/libc.so.1
  Note that I had to hit cntl-C to come out of thread message.
  I guess this is happening because kernel32 tries to use thread library. Is there any way I can make it use pthread or is there any other solution to this?

  Any help will be greatly appreciated

  Thanks
  Mrugan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20011018/a4cc2fb2/attachment.html


More information about the wine-devel mailing list