From: Sebastian K. <se...@he...> - 2003-04-15 22:11:13
|
Rafael Laboissiere <lab...@ps...> wrote: ] * Sebastian Kuzminsky <se...@he...> [2003-04-15 13:26]: ] ] > Rafael Laboissiere <lab...@ps...> wrote: ] > ] That is very strange, since the pacakge in SF was built in a Debian testing ] > ] (sarge) system. It should work at least in your Sarge/Sid hybrid. I need ] > ] more informations in order to understand where the problme comes from. ] > ] > What additional information can i give you? ] ] What does gdb tells you? GDB tells me... nothing. The version of libplplotd.so.5 in the debian package i'm using is compiled without debugging information, so i cant step into it. When i step over it, it asks for a display driver, i tell it xwin, it pops open a window, destroys it right away, and returns. Here's an strace of just the plinit() call (i put printfs immediately before and after the plinit() call to show entry and exit): 6278 write(1, "calling plinit\n", 15) = 15 6278 write(1, "\nPlotting Options:\n", 19) = 19 6278 write(1, " < 1> xwin X-Window (Xlib)"..., 33) = 33 6278 write(1, " < 2> gnome Gnome Canvas\n", 30) = 30 6278 write(1, " < 3> xterm Xterm Window\n", 30) = 30 6278 write(1, " < 4> tekt Tektronix Termi"..., 43) = 43 6278 write(1, " < 5> tek4107t Tektronix Termi"..., 48) = 48 6278 write(1, " < 6> mskermit MS-Kermit emula"..., 36) = 36 6278 write(1, " < 7> versaterm Versaterm vt100"..., 46) = 46 6278 write(1, " < 8> vlt VLT vt100/tek e"..., 40) = 40 6278 write(1, " < 9> conex Conex vt320/tek"..., 42) = 42 6278 write(1, " <10> dg300 DG300 Terminal\n", 32) = 32 6278 write(1, " <11> plmeta PLplot Native M"..., 41) = 41 6278 write(1, " <12> tekf Tektronix File "..., 39) = 39 6278 write(1, " <13> tek4107f Tektronix File "..., 44) = 44 6278 write(1, " <14> ps PostScript File"..., 46) = 46 6278 write(1, " <15> psc PostScript File"..., 41) = 41 6278 write(1, " <16> xfig Fig file\n", 26) = 26 6278 write(1, " <17> ljiip LaserJet IIp/de"..., 58) = 58 6278 write(1, " <18> ljii LaserJet II Bit"..., 51) = 51 6278 write(1, " <19> hp7470 HP 7470 Plotter"..., 70) = 70 6278 write(1, " <20> hp7580 HP 7580 Plotter"..., 54) = 54 6278 write(1, " <21> lj_hpgl HP Laserjet III"..., 54) = 54 6278 write(1, " <22> imp Impress File\n", 30) = 30 6278 write(1, " <23> pbm PDB (PPM) Drive"..., 34) = 34 6278 write(1, " <24> png PNG file\n", 26) = 26 6278 write(1, " <25> jpeg JPEG file\n", 27) = 27 6278 write(1, " <26> pstex Combined Postsc"..., 49) = 49 6278 write(1, " <27> null Null device\n", 29) = 29 6278 write(1, " <28> mem User-supplied m"..., 45) = 45 6278 write(1, "\n", 1) = 1 6278 fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0 6278 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000 6278 write(1, "Enter device number or keyword: ", 32) = 32 6278 read(0, "1\n", 1024) = 2 6278 open("/usr/lib/plplot5.2.0.cvs.20030403/data/../driversd/xwin.la", O_RDONLY) = 3 6278 fstat64(3, {st_mode=S_IFREG|0644, st_size=847, ...}) = 0 6278 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 6278 read(3, "# xwin.la - a libtool library fi"..., 4096) = 847 6278 read(3, "", 4096) = 0 6278 close(3) = 0 6278 munmap(0x40014000, 4096) = 0 6278 open("/usr/lib/plplot5.2.0.cvs.20030403/data/../driversd/xwin.so", O_RDONLY) = 3 6278 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\31\0\000"..., 1024) = 1024 6278 fstat64(3, {st_mode=S_IFREG|0644, st_size=28644, ...}) = 0 6278 old_mmap(NULL, 35284, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4023e000 6278 mprotect(0x40245000, 6612, PROT_NONE) = 0 6278 old_mmap(0x40245000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x40245000 6278 old_mmap(0x40246000, 2516, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40246000 6278 close(3) = 0 6278 open("/etc/ld.so.cache", O_RDONLY) = 3 6278 fstat64(3, {st_mode=S_IFREG|0644, st_size=29365, ...}) = 0 6278 old_mmap(NULL, 29365, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40247000 6278 close(3) = 0 6278 open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3 6278 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\1"..., 1024) = 1024 6278 fstat64(3, {st_mode=S_IFREG|0644, st_size=760260, ...}) = 0 6278 brk(0) = 0x804c000 6278 brk(0x804d000) = 0x804d000 6278 old_mmap(NULL, 761340, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4024f000 6278 mprotect(0x40306000, 11772, PROT_NONE) = 0 6278 old_mmap(0x40306000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb7000) = 0x40306000 6278 close(3) = 0 6278 munmap(0x40247000, 29365) = 0 6278 brk(0) = 0x804d000 6278 brk(0x804e000) = 0x804e000 6278 uname({sys="Linux", node="dub", ...}) = 0 6278 socket(PF_UNIX, SOCK_STREAM, 0) = 3 6278 uname({sys="Linux", node="dub", ...}) = 0 6278 uname({sys="Linux", node="dub", ...}) = 0 6278 connect(3, {sa_family=AF_UNIX, path="/tmp/.X11-unix/X0"}, 19) = 0 6278 uname({sys="Linux", node="dub", ...}) = 0 6278 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 6278 access("/home/seb/.Xauthority", R_OK) = 0 6278 open("/home/seb/.Xauthority", O_RDONLY) = 4 6278 fstat64(4, {st_mode=S_IFREG|0600, st_size=469, ...}) = 0 6278 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 6278 read(4, "\0\0\0\4\n\1\1{\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 469 6278 read(4, "", 4096) = 0 6278 close(4) = 0 6278 munmap(0x40014000, 4096) = 0 6278 brk(0) = 0x804e000 6278 brk(0x804f000) = 0x804f000 6278 writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\321<\274\273I\0055\310\347\355\27\351\0\r=.", 16}], 4) = 48 6278 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) 6278 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 6278 read(3, "\1\0\v\0\0\0@\0", 8) = 8 6278 read(3, "(ke\2\0\0\340\1\377\377\37\0\0\1\0\0\30\0\377\377\1\7\0"..., 256) = 256 6278 write(3, "7\0\5\0\0\0\340\0016\0\0\0\10\0\0\0\377\377\377\0b\0\5"..., 64) = 64 6278 read(3, "\1\203\2\0\0\0\0\0\1\202\0\0\0\0\0\0\0\0\0\0\30\0\0\0\0"..., 32) = 32 6278 read(3, "\1\10\3\0\355\3\0\0\37\0\0\0\0\0\0\0\262\17\0\0\0\0\0\0"..., 32) = 32 6278 brk(0) = 0x804f000 6278 brk(0x8050000) = 0x8050000 6278 readv(3, [{"*BorderColor:\tred\n*Font:\tfixed\n*"..., 4018}, {"\0\0", 2}], 2) = 4020 6278 write(3, "\202\0\1\0", 4) = 4 6278 read(3, "\1\203\4\0\0\0\0\0\377\377\17\0\0\0\0\0\1\0\0\0\0\0\0\0"..., 32) = 32 6278 writev(3, [{"b\0\5\0\t\0\340\1", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20 6278 read(3, "\1\203\5\0\0\0\0\0\1\224n\256\0\0\0\0\1\0\0\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "\224\0\2\0\1\0\0\0", 8) = 8 6278 read(3, "\1\1\6\0\0\0\0\0\1\0\0\0\0\211\243\10\0\20\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "T\0\4\0 \0\0\0\0\0\0\0\0\0\0\0", 16) = 16 6278 read(3, "\1\203\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "T\0\4\0 \0\0\0\377\377\377\377\377\377\0\0", 16) = 16 6278 read(3, "\1\203\10\0\0\0\0\0\377\377\377\377\377\377\0\0\377\377"..., 32) = 32 6278 write(3, "\16\0\2\0006\0\0\0", 8) = 8 6278 read(3, "\1\30\t\0\0\0\0\0006\0\0\0\0\0\0\0@\6\260\4\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "\1\30\10\0\1\0\340\0016\0\0\0\250\364\0\0\260\4\204\3\5"..., 212) = 212 6278 read(3, "\1\203\16\0\0\0\0\0\377\377\0\0\0\0\0\0\0\0\377\0\0\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\377\377\377\377\0\0\0\0", 16) = 16 6278 read(3, "\1\203\17\0\0\0\0\0\377\377\377\377\0\0\0\0\0\377\377\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\0\0\377\377\0\0\0\0", 16) = 16 6278 read(3, "\1\203\20\0\0\0\0\0\0\0\377\377\0\0\0\0\0\377\0\0\0\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\177\177\377\377\324\324\0\0", 16) = 16 6278 read(3, "\1\203\21\0\0\0\0\0\177\177\377\377\324\324\0\0\324\377"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\377\377\300\300\313\313\0\0", 16) = 16 6278 read(3, "\1\203\22\0\0\0\0\0\377\377\300\300\313\313\0\0\313\300"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\365\365\336\336\263\263\0\0", 16) = 16 6278 read(3, "\1\203\23\0\0\0\0\0\365\365\336\336\263\263\0\0\263\336"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\276\276\276\276\276\276\0\0", 16) = 16 6278 read(3, "\1\203\24\0\0\0\0\0\276\276\276\276\276\276\0\0\276\276"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\245\245****\0\0", 16) = 16 6278 read(3, "\1\203\25\0\0\0\0\0\245\245****\0\0**\245\0\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\0\0\0\0\377\377\0\0", 16) = 16 6278 read(3, "\1\203\26\0\0\0\0\0\0\0\0\0\377\377\0\0\377\0\0\0\0\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\212\212++\342\342\0\0", 16) = 16 6278 read(3, "\1\203\27\0\0\0\0\0\212\212++\342\342\0\0\342+\212\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\0\0\377\377\377\377\0\0", 16) = 16 6278 read(3, "\1\203\30\0\0\0\0\0\0\0\377\377\377\377\0\0\377\377\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0@@\340\340\320\320\0\0", 16) = 16 6278 read(3, "\1\203\31\0\0\0\0\0@@\340\340\320\320\0\0\320\340@\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\377\377\0\0\377\377\0\0", 16) = 16 6278 read(3, "\1\203\32\0\0\0\0\0\377\377\0\0\377\377\0\0\377\0\377\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\372\372\200\200rr\0\0", 16) = 16 6278 read(3, "\1\203\33\0\0\0\0\0\372\372\200\200rr\0\0r\200\372\0\0"..., 32) = 32 6278 write(3, "T\30\4\0 \0\0\0\377\377\377\377\377\377\0\0", 16) = 16 6278 read(3, "\1\203\34\0\0\0\0\0\377\377\377\377\377\377\0\0\377\377"..., 32) = 32 6278 write(3, "\2\30\4\0\1\0\340\1\0 \0\0 \0\0\0007\4\4\0\2\0\340\1\1"..., 68) = 68 6278 read(3, "\1\30 \0\0\0\0\0006\0\0\0\250\364\0\0\260\4\204\3\5\0\0"..., 32) = 32 6278 write(3, "5\30\4\0\4\0\340\1\1\0\340\1\260\4\204\3+\4\1\0", 20) = 20 6278 read(3, "\1\2\"\0\0\0\0\0&\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 6278 ioctl(3, FIONREAD, [0]) = 0 6278 write(3, "\2\30\4\0\1\0\340\1\2\0\0\0\0\0\0\0\2\4\4\0\1\0\340\1\0"..., 56) = 56 6278 read(3, "\26\0&\0\1\0\340\1\1\0\340\1\n\0\300\0\250\364\0\0\260"..., 32) = 32 6278 ioctl(3, FIONREAD, [32]) = 0 6278 read(3, "\26\0&\0\1\0\340\1\1\0\340\1\n\0\300\0\250\364\0\0\260"..., 32) = 32 6278 ioctl(3, FIONREAD, [64]) = 0 6278 read(3, "\25\370&\0\1\0\340\1\1\0\340\1\255\5\300\0\5\0\26\0\0\0"..., 64) = 64 6278 ioctl(3, FIONREAD, [128]) = 0 6278 read(3, "\226\361&\0\1\0\340\1\1\0\340\1\255\5\300\0\r\0\36\0\260"..., 128) = 128 6278 ioctl(3, FIONREAD, [0]) = 0 6278 write(3, "=\0\4\0\1\0\340\1\0\0\0\0\0\0\0\0008\4\4\0\2\0\340\1\10"..., 56) = 56 6278 read(3, 0xbffff558, 32) = -1 EAGAIN (Resource temporarily unavailable) 6278 select(4, [3], NULL, NULL, NULL) = 1 (in [3]) 6278 read(3, "\1\2*\0\0\0\0\0&\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 6278 stat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0 6278 gettimeofday({1050440387, 962663}, NULL) = 0 6278 getpid() = 6278 6278 open("/tmp/tmpf1qZX1Z", O_RDWR|O_CREAT|O_EXCL, 0600) = 4 6278 rmdir("/tmp/tmpf1qZX1Z") = -1 ENOTDIR (Not a directory) 6278 unlink("/tmp/tmpf1qZX1Z") = 0 6278 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) 6278 fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 6278 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000 6278 _llseek(4, 0, [0], SEEK_CUR) = 0 6278 write(1, "fnt: 1\n", 7) = 7 6278 open("plxtnd5.fnt", O_RDONLY) = -1 ENOENT (No such file or directory) 6278 open("/usr/lib/plplot5.2.0.cvs.20030403/data/plxtnd5.fnt", O_RDONLY) = 5 6278 fstat64(5, {st_mode=S_IFREG|0644, st_size=58808, ...}) = 0 6278 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 6278 read(5, "\260\4I\3\203\3M\3O\3H\3N\3I\3J\3\354\10\351\10\337\2K"..., 4096) = 4096 6278 brk(0) = 0x8050000 6278 brk(0x8052000) = 0x8052000 6278 read(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 6278 brk(0) = 0x8052000 6278 brk(0x805e000) = 0x805e000 6278 read(5, "\375\374@\0\3\5\3\374@\0\375\1\3\1@@\374\5\373\6\0\5\376"..., 49152) = 49152 6278 read(5, "\373\370@\0\375\v\375\f\374\f\374\v\375\t\377\10\1\10\3"..., 4096) = 1464 6278 close(5) = 0 6278 munmap(0x40015000, 4096) = 0 6278 write(1, "plinit returns\n", 15) = 15 -- Sebastian |